Make Simplified Chinese locale use zh_CN
This commit is contained in:
parent
5992d9eb81
commit
e39b157767
|
@ -1920,7 +1920,8 @@ export const trainerTypeDialogue = {
|
|||
},
|
||||
[TrainerType.WULFRIC]: {
|
||||
encounter: [
|
||||
`You know what? We all talk big about what you learn from battling and bonds and all that, but really, I just do it 'cause it's fun.
|
||||
`You know what? We all talk big about what you learn from battling and bonds and all that…
|
||||
$But really, I just do it 'cause it's fun.
|
||||
$Who cares about the grandstanding? Let's get to battling!`,
|
||||
],
|
||||
victory: [
|
||||
|
|
|
@ -12,7 +12,7 @@ import { starterSelectUiHandler } from "./starter-select-ui-handler";
|
|||
import { tutorial } from "./tutorial";
|
||||
|
||||
|
||||
export const chsConfig = {
|
||||
export const zhCnConfig = {
|
||||
ability: ability,
|
||||
battle: battle,
|
||||
commandUiHandler: commandUiHandler,
|
|
@ -6,7 +6,7 @@ import { enConfig } from '#app/locales/en/config.js';
|
|||
import { esConfig } from '#app/locales/es/config.js';
|
||||
import { frConfig } from '#app/locales/fr/config.js';
|
||||
import { itConfig } from '#app/locales/it/config.js';
|
||||
import { chsConfig } from '#app/locales/chs/config.js';
|
||||
import { zhCnConfig } from '#app/locales/zh_CN/config.js';
|
||||
|
||||
export interface SimpleTranslationEntries {
|
||||
[key: string]: string
|
||||
|
@ -59,7 +59,7 @@ export function initI18n(): void {
|
|||
i18next.use(LanguageDetector).init({
|
||||
lng: lang,
|
||||
fallbackLng: 'en',
|
||||
supportedLngs: ['en', 'es', 'fr', 'it', 'de', 'chs'],
|
||||
supportedLngs: ['en', 'es', 'fr', 'it', 'de', 'zh_CN'],
|
||||
debug: true,
|
||||
interpolation: {
|
||||
escapeValue: false,
|
||||
|
@ -80,8 +80,8 @@ export function initI18n(): void {
|
|||
de: {
|
||||
...deConfig
|
||||
},
|
||||
chs: {
|
||||
...chsConfig
|
||||
zh_CN: {
|
||||
...zhCnConfig
|
||||
}
|
||||
},
|
||||
});
|
||||
|
|
|
@ -199,8 +199,8 @@ export function setSetting(scene: BattleScene, setting: Setting, value: integer)
|
|||
handler: () => changeLocaleHandler('de')
|
||||
},
|
||||
{
|
||||
label: 'Simplified Chinese',
|
||||
handler: () => changeLocaleHandler('chs')
|
||||
label: '简体中文',
|
||||
handler: () => changeLocaleHandler('zh_CN')
|
||||
},
|
||||
{
|
||||
label: 'Cancel',
|
||||
|
|
Loading…
Reference in New Issue