forked from mirror/ObjToSchematic
将中文修改为默认语言
This commit is contained in:
parent
25afe63c5f
commit
2c7111c7fd
@ -15,10 +15,10 @@ export type TLocaleDefinition = {
|
||||
};
|
||||
|
||||
export const locales = [
|
||||
zh_CN,
|
||||
en_GB,
|
||||
en_US,
|
||||
ru_RU,
|
||||
zh_CN,
|
||||
fr_FR,
|
||||
ja_JP,
|
||||
];
|
||||
|
@ -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;
|
||||
|
@ -40,7 +40,7 @@ export class Localiser {
|
||||
|
||||
await i18next.init({
|
||||
lng: AppConfig.Get.LOCALE,
|
||||
fallbackLng: 'en-GB',
|
||||
fallbackLng: 'zh-CN',
|
||||
debug: true,
|
||||
resources: localResources,
|
||||
});
|
||||
|
@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf8" />
|
||||
<title>ObjToSchematic Web</title>
|
||||
<title>模型转投影蓝图在线工具</title>
|
||||
<meta
|
||||
name="description"
|
||||
content="A tool to convert 3D models into Minecraft formats such as .schematic, .litematic, .schem and .nbt."
|
||||
|
Loading…
Reference in New Issue
Block a user