mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 06:43:24 +00:00
@@ -8,6 +8,7 @@ import * as RU from './ru';
|
|||||||
import * as PL from './pl';
|
import * as PL from './pl';
|
||||||
import * as PT from './pt';
|
import * as PT from './pt';
|
||||||
import * as CN from './cn';
|
import * as CN from './cn';
|
||||||
|
import * as KO from './ko';
|
||||||
import * as d3 from 'd3';
|
import * as d3 from 'd3';
|
||||||
|
|
||||||
let fallbackTerms = EN.terms;
|
let fallbackTerms = EN.terms;
|
||||||
@@ -29,6 +30,7 @@ export function getLanguage(langCode) {
|
|||||||
case 'pl': lang = PL; break;
|
case 'pl': lang = PL; break;
|
||||||
case 'pt': lang = PT; break;
|
case 'pt': lang = PT; break;
|
||||||
case 'cn': lang = CN; break;
|
case 'cn': lang = CN; break;
|
||||||
|
case 'ko': lang = KO; break;
|
||||||
default:
|
default:
|
||||||
lang = EN;
|
lang = EN;
|
||||||
}
|
}
|
||||||
@@ -97,5 +99,6 @@ export const Languages = {
|
|||||||
ru: 'ру́сский',
|
ru: 'ру́сский',
|
||||||
pl: 'polski',
|
pl: 'polski',
|
||||||
pt: 'português',
|
pt: 'português',
|
||||||
cn: '中文'
|
cn: '中文',
|
||||||
|
ko: '한국어'
|
||||||
};
|
};
|
||||||
|
|||||||
16
src/app/i18n/ko.js
Normal file
16
src/app/i18n/ko.js
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
export const formats = {
|
||||||
|
decimal: '.',
|
||||||
|
thousands: ',',
|
||||||
|
grouping: [3],
|
||||||
|
currency: ['₩', ''],
|
||||||
|
dateTime: '%a %b %e %X %Y',
|
||||||
|
date: '%Y/%m/%d',
|
||||||
|
time: '%H:%M:%S',
|
||||||
|
periods: ['오전', '오후'],
|
||||||
|
days: ['일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일'],
|
||||||
|
shortDays: ['일', '월', '화', '수', '목', '금', '토'],
|
||||||
|
months: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
|
||||||
|
shortMonths: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월']
|
||||||
|
};
|
||||||
|
|
||||||
|
export { default as terms } from './ko.json';
|
||||||
368
src/app/i18n/ko.json
Normal file
368
src/app/i18n/ko.json
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user