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 = {
|
||||
display_name: 'British English',
|
||||
language_code: 'en_GB',
|
||||
language_code: 'en-GB',
|
||||
translations: {
|
||||
something_went_wrong: 'Something unexpectedly went wrong',
|
||||
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 = {
|
||||
display_name: 'American English',
|
||||
language_code: 'en_US',
|
||||
language_code: 'en-US',
|
||||
translations: {
|
||||
init: {
|
||||
initialising: 'Initializing...',
|
||||
|
@ -6,7 +6,7 @@ import { TLocaleDefinition } from './base';
|
||||
|
||||
export const fr_FR: TLocaleDefinition = {
|
||||
display_name: 'Français',
|
||||
language_code: 'fr_FR',
|
||||
language_code: 'fr-FR',
|
||||
translations: {
|
||||
something_went_wrong: 'Une erreur s\'est produite',
|
||||
init: {
|
||||
|
@ -5,7 +5,7 @@ import { TLocaleDefinition } from './base';
|
||||
|
||||
export const ru_RU: TLocaleDefinition = {
|
||||
display_name: 'Ру́сский',
|
||||
language_code: 'ru_RU',
|
||||
language_code: 'ru-RU',
|
||||
translations: {
|
||||
import: {
|
||||
button: 'Загрузить mesh',
|
||||
|
@ -5,7 +5,7 @@ import { TLocaleDefinition } from './base';
|
||||
|
||||
export const zh_CN: TLocaleDefinition = {
|
||||
display_name: '简体中文',
|
||||
language_code: 'zh_CN',
|
||||
language_code: 'zh-CN',
|
||||
translations: {
|
||||
something_went_wrong: '发生了意料之外的错误',
|
||||
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 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 AMBIENT_OCCLUSION_OVERRIDE_CORNER = true;
|
||||
public readonly USE_WORKER_THREAD = true;
|
||||
|
@ -38,7 +38,7 @@ export class Localiser {
|
||||
|
||||
await i18next.init({
|
||||
lng: AppConfig.Get.LOCALE,
|
||||
fallbackLng: 'en_GB',
|
||||
fallbackLng: 'en-GB',
|
||||
debug: true,
|
||||
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=Courier+Prime&display=swap');
|
||||
@import url('https://fonts.googleapis.com/css2?family=Martian+Mono&display=swap');
|
||||
|
||||
:root {
|
||||
--pill-radius: 5px;
|
||||
@ -100,9 +100,9 @@ canvas {
|
||||
|
||||
.column-console {
|
||||
background: hsl(0, 0%, 5%);
|
||||
font-size: var(--font-size-standard);
|
||||
font-size: var(--font-size-small);
|
||||
color: var(--text-dim);
|
||||
font-family: 'Courier Prime';
|
||||
font-family: 'Martian Mono';
|
||||
}
|
||||
|
||||
.column-sidebar {
|
||||
|
Loading…
Reference in New Issue
Block a user