From 2c7111c7fd9a3e3faa7d735e4f687cdac0e70e6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=AE=87=E8=A1=A1?= Date: Fri, 1 Dec 2023 17:47:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E4=B8=AD=E6=96=87=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E9=BB=98=E8=AE=A4=E8=AF=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- loc/base.ts | 2 +- src/config.ts | 2 +- src/localiser.ts | 2 +- template.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/loc/base.ts b/loc/base.ts index 45fb768..077a78a 100644 --- a/loc/base.ts +++ b/loc/base.ts @@ -15,10 +15,10 @@ export type TLocaleDefinition = { }; export const locales = [ + zh_CN, en_GB, en_US, ru_RU, - zh_CN, fr_FR, ja_JP, ]; diff --git a/src/config.ts b/src/config.ts index 8d0cbad..a9be8b5 100644 --- a/src/config.ts +++ b/src/config.ts @@ -15,7 +15,7 @@ export class AppConfig { public readonly VERSION_TYPE: 'd' | 'a' | 'r' = 'd'; // dev, alpha, or release build public readonly MINECRAFT_VERSION = '1.20.1'; - public readonly LOCALE = 'en-GB'; + public readonly LOCALE = 'zh-CN'; public readonly VOXEL_BUFFER_CHUNK_SIZE = 50_000; public readonly AMBIENT_OCCLUSION_OVERRIDE_CORNER = true; public readonly USE_WORKER_THREAD = true; diff --git a/src/localiser.ts b/src/localiser.ts index 1349d20..ea3fca2 100644 --- a/src/localiser.ts +++ b/src/localiser.ts @@ -40,7 +40,7 @@ export class Localiser { await i18next.init({ lng: AppConfig.Get.LOCALE, - fallbackLng: 'en-GB', + fallbackLng: 'zh-CN', debug: true, resources: localResources, }); diff --git a/template.html b/template.html index 019ddd0..504543e 100644 --- a/template.html +++ b/template.html @@ -2,7 +2,7 @@ - ObjToSchematic Web + 模型转投影蓝图在线工具