forked from mirror/ObjToSchematic
Update locale language codes
This commit is contained in:
parent
2145c815f9
commit
d616eed191
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
export const en_GB = {
|
export const en_GB = {
|
||||||
display_name: 'British English',
|
display_name: 'British English',
|
||||||
language_code: 'en_GB',
|
language_code: 'en-GB',
|
||||||
translations: {
|
translations: {
|
||||||
something_went_wrong: 'Something unexpectedly went wrong',
|
something_went_wrong: 'Something unexpectedly went wrong',
|
||||||
description: 'A tool to convert 3D models into Minecraft formats such as .schematic, .litematic, .schem and .nbt.',
|
description: 'A tool to convert 3D models into Minecraft formats such as .schematic, .litematic, .schem and .nbt.',
|
||||||
|
@ -5,7 +5,7 @@ import { TLocaleDefinition } from './base';
|
|||||||
|
|
||||||
export const en_US: TLocaleDefinition = {
|
export const en_US: TLocaleDefinition = {
|
||||||
display_name: 'American English',
|
display_name: 'American English',
|
||||||
language_code: 'en_US',
|
language_code: 'en-US',
|
||||||
translations: {
|
translations: {
|
||||||
init: {
|
init: {
|
||||||
initialising: 'Initializing...',
|
initialising: 'Initializing...',
|
||||||
|
@ -6,7 +6,7 @@ import { TLocaleDefinition } from './base';
|
|||||||
|
|
||||||
export const fr_FR: TLocaleDefinition = {
|
export const fr_FR: TLocaleDefinition = {
|
||||||
display_name: 'Français',
|
display_name: 'Français',
|
||||||
language_code: 'fr_FR',
|
language_code: 'fr-FR',
|
||||||
translations: {
|
translations: {
|
||||||
something_went_wrong: 'Une erreur s\'est produite',
|
something_went_wrong: 'Une erreur s\'est produite',
|
||||||
init: {
|
init: {
|
||||||
|
@ -5,7 +5,7 @@ import { TLocaleDefinition } from './base';
|
|||||||
|
|
||||||
export const ru_RU: TLocaleDefinition = {
|
export const ru_RU: TLocaleDefinition = {
|
||||||
display_name: 'Ру́сский',
|
display_name: 'Ру́сский',
|
||||||
language_code: 'ru_RU',
|
language_code: 'ru-RU',
|
||||||
translations: {
|
translations: {
|
||||||
import: {
|
import: {
|
||||||
button: 'Загрузить mesh',
|
button: 'Загрузить mesh',
|
||||||
|
@ -5,7 +5,7 @@ import { TLocaleDefinition } from './base';
|
|||||||
|
|
||||||
export const zh_CN: TLocaleDefinition = {
|
export const zh_CN: TLocaleDefinition = {
|
||||||
display_name: '简体中文',
|
display_name: '简体中文',
|
||||||
language_code: 'zh_CN',
|
language_code: 'zh-CN',
|
||||||
translations: {
|
translations: {
|
||||||
something_went_wrong: '发生了意料之外的错误',
|
something_went_wrong: '发生了意料之外的错误',
|
||||||
description: '一款将 3D 模型转换为 .schematic,.litematic,.schem 和 .nbt 等 Minecraft 方块格式的工具',
|
description: '一款将 3D 模型转换为 .schematic,.litematic,.schem 和 .nbt 等 Minecraft 方块格式的工具',
|
||||||
|
@ -15,7 +15,7 @@ export class AppConfig {
|
|||||||
public readonly VERSION_TYPE: 'd' | 'a' | 'r' = 'r'; // dev, alpha, or release build
|
public readonly VERSION_TYPE: 'd' | 'a' | 'r' = 'r'; // dev, alpha, or release build
|
||||||
public readonly MINECRAFT_VERSION = '1.19.4';
|
public readonly MINECRAFT_VERSION = '1.19.4';
|
||||||
|
|
||||||
public readonly LOCALE = 'en_GB';
|
public readonly LOCALE = 'en-GB';
|
||||||
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;
|
||||||
|
@ -38,7 +38,7 @@ export class Localiser {
|
|||||||
|
|
||||||
await i18next.init({
|
await i18next.init({
|
||||||
lng: AppConfig.Get.LOCALE,
|
lng: AppConfig.Get.LOCALE,
|
||||||
fallbackLng: 'en_GB',
|
fallbackLng: 'en-GB',
|
||||||
debug: true,
|
debug: true,
|
||||||
resources: localResources,
|
resources: localResources,
|
||||||
});
|
});
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400&display=swap');
|
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400&display=swap');
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime&display=swap');
|
@import url('https://fonts.googleapis.com/css2?family=Martian+Mono&display=swap');
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--pill-radius: 5px;
|
--pill-radius: 5px;
|
||||||
@ -100,9 +100,9 @@ canvas {
|
|||||||
|
|
||||||
.column-console {
|
.column-console {
|
||||||
background: hsl(0, 0%, 5%);
|
background: hsl(0, 0%, 5%);
|
||||||
font-size: var(--font-size-standard);
|
font-size: var(--font-size-small);
|
||||||
color: var(--text-dim);
|
color: var(--text-dim);
|
||||||
font-family: 'Courier Prime';
|
font-family: 'Martian Mono';
|
||||||
}
|
}
|
||||||
|
|
||||||
.column-sidebar {
|
.column-sidebar {
|
||||||
|
Loading…
Reference in New Issue
Block a user