mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-04 20:00:00 +08:00
修复zhcn
This commit is contained in:
parent
a325ec091d
commit
ff95670f25
@ -3,7 +3,7 @@ Object.defineProperty(exports, '__esModule', { value: true })
|
|||||||
var fs = require('fs')
|
var fs = require('fs')
|
||||||
var path = require('path')
|
var path = require('path')
|
||||||
var translationsDir = path.join(__dirname, '../src/renderer/src/i18n/locales')
|
var translationsDir = path.join(__dirname, '../src/renderer/src/i18n/locales')
|
||||||
var baseLocale = 'zh-CN'
|
var baseLocale = 'zh-cn'
|
||||||
var baseFileName = ''.concat(baseLocale, '.json')
|
var baseFileName = ''.concat(baseLocale, '.json')
|
||||||
var baseFilePath = path.join(translationsDir, baseFileName)
|
var baseFilePath = path.join(translationsDir, baseFileName)
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@ import * as fs from 'fs'
|
|||||||
import * as path from 'path'
|
import * as path from 'path'
|
||||||
|
|
||||||
const translationsDir = path.join(__dirname, '../src/renderer/src/i18n/locales')
|
const translationsDir = path.join(__dirname, '../src/renderer/src/i18n/locales')
|
||||||
const baseLocale = 'zh-CN'
|
const baseLocale = 'zh-cn'
|
||||||
const baseFileName = `${baseLocale}.json`
|
const baseFileName = `${baseLocale}.json`
|
||||||
const baseFilePath = path.join(translationsDir, baseFileName)
|
const baseFilePath = path.join(translationsDir, baseFileName)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user