mirror of
https://github.com/saicaca/fuwari.git
synced 2026-01-12 07:12:52 +01:00
feat: add Korean i18n & README (#130)
* Fixed the issue where the hue value set in config was not applied * Create README.ko-KR.md * Update README.ja-JP.md * Update README.zh-CN.md * Update README.md * Update README.ko-KR.md * Update translation.ts * Create ko_KR.ts * Update ko_KR.ts * Update ko_KR.ts * Update ko_KR.ts * Update setting-utils.ts * Update config.ts * ko_KR to ko * fix * Delete package-lock.json * Update .gitignore * Update .gitignore
This commit is contained in:
@@ -4,6 +4,7 @@ import { en } from './languages/en'
|
||||
import { ja } from './languages/ja'
|
||||
import { zh_CN } from './languages/zh_CN'
|
||||
import { zh_TW } from './languages/zh_TW'
|
||||
import { ko } from './languages/ko'
|
||||
|
||||
export type Translation = {
|
||||
[K in I18nKey]: string
|
||||
@@ -20,6 +21,8 @@ const map: { [key: string]: Translation } = {
|
||||
zh_tw: zh_TW,
|
||||
ja: ja,
|
||||
ja_jp: ja,
|
||||
ko: ko,
|
||||
ko_kr: ko
|
||||
}
|
||||
|
||||
export function getTranslation(lang: string): Translation {
|
||||
|
||||
Reference in New Issue
Block a user