chore(commit.ts, es_ES.json, id_ID.json, index.ts): remove unnecessary comments and fix typos in commit messages and translations

This commit is contained in:
di-sukharev
2023-03-30 14:52:01 +08:00
parent 2c79bf22df
commit 95d3d8b6c9
4 changed files with 15 additions and 17 deletions
+4 -4
View File
@@ -12,7 +12,7 @@ import es_ES from '../i18n/es_ES.json' assert { type: 'json' };
import sv from '../i18n/sv.json' assert { type: 'json' };
import nl from '../i18n/nl.json' assert { type: 'json' };
import ru from '../i18n/ru.json' assert { type: 'json' };
import id_ID from '../i18n/id_ID.json' assert { type: 'json'};
import id_ID from '../i18n/id_ID.json' assert { type: 'json' };
export enum I18nLocals {
'en' = 'en',
@@ -28,8 +28,8 @@ export enum I18nLocals {
'es_ES' = 'es_ES',
'sv' = 'sv',
'ru' = 'ru',
'id_ID' = 'id_ID',
};
'id_ID' = 'id_ID'
}
export const i18n = {
en,
@@ -64,7 +64,7 @@ export const I18N_CONFIG_ALIAS: { [key: string]: string[] } = {
es_ES: ['es_ES', 'Spanish', 'español'],
sv: ['sv', 'Swedish', 'Svenska'],
ru: ['ru', 'Russian', 'русский'],
id_ID: ['id_ID', 'Bahasa', 'bahasa'],
id_ID: ['id_ID', 'Bahasa', 'bahasa']
};
export function getI18nLocal(value: string): string | boolean {