将中文修改为默认语言

This commit is contained in:
张宇衡 2023-12-01 17:47:29 +08:00
parent 25afe63c5f
commit 2c7111c7fd
4 changed files with 4 additions and 4 deletions

View File

@ -15,10 +15,10 @@ export type TLocaleDefinition = {
}; };
export const locales = [ export const locales = [
zh_CN,
en_GB, en_GB,
en_US, en_US,
ru_RU, ru_RU,
zh_CN,
fr_FR, fr_FR,
ja_JP, ja_JP,
]; ];

View File

@ -15,7 +15,7 @@ export class AppConfig {
public readonly VERSION_TYPE: 'd' | 'a' | 'r' = 'd'; // dev, alpha, or release build public readonly VERSION_TYPE: 'd' | 'a' | 'r' = 'd'; // dev, alpha, or release build
public readonly MINECRAFT_VERSION = '1.20.1'; 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 VOXEL_BUFFER_CHUNK_SIZE = 50_000;
public readonly AMBIENT_OCCLUSION_OVERRIDE_CORNER = true; public readonly AMBIENT_OCCLUSION_OVERRIDE_CORNER = true;
public readonly USE_WORKER_THREAD = true; public readonly USE_WORKER_THREAD = true;

View File

@ -40,7 +40,7 @@ export class Localiser {
await i18next.init({ await i18next.init({
lng: AppConfig.Get.LOCALE, lng: AppConfig.Get.LOCALE,
fallbackLng: 'en-GB', fallbackLng: 'zh-CN',
debug: true, debug: true,
resources: localResources, resources: localResources,
}); });

View File

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf8" /> <meta charset="utf8" />
<title>ObjToSchematic Web</title> <title>模型转投影蓝图在线工具</title>
<meta <meta
name="description" name="description"
content="A tool to convert 3D models into Minecraft formats such as .schematic, .litematic, .schem and .nbt." content="A tool to convert 3D models into Minecraft formats such as .schematic, .litematic, .schem and .nbt."