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:
38
src/i18n/languages/ko.ts
Normal file
38
src/i18n/languages/ko.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
import Key from '../i18nKey'
|
||||
import type { Translation } from '../translation'
|
||||
|
||||
export const ko: Translation = {
|
||||
[Key.home]: '홈',
|
||||
[Key.about]: '소개',
|
||||
[Key.archive]: '아카이브',
|
||||
[Key.search]: '검색',
|
||||
|
||||
[Key.tags]: '태그',
|
||||
[Key.categories]: '카테고리',
|
||||
[Key.recentPosts]: '최근 게시물',
|
||||
|
||||
[Key.comments]: '댓글',
|
||||
|
||||
[Key.untitled]: '제목 없음',
|
||||
[Key.uncategorized]: '분류되지 않음',
|
||||
[Key.noTags]: '태그 없음',
|
||||
|
||||
[Key.wordCount]: '단어',
|
||||
[Key.wordsCount]: '단어',
|
||||
[Key.minuteCount]: '분',
|
||||
[Key.minutesCount]: '분',
|
||||
[Key.postCount]: '게시물',
|
||||
[Key.postsCount]: '게시물',
|
||||
|
||||
[Key.themeColor]: '테마 색상',
|
||||
|
||||
[Key.lightMode]: '밝은 모드',
|
||||
[Key.darkMode]: '어두운 모드',
|
||||
[Key.systemMode]: '시스템 모드',
|
||||
|
||||
[Key.more]: '더 보기',
|
||||
|
||||
[Key.author]: '저자',
|
||||
[Key.publishedAt]: '게시일',
|
||||
[Key.license]: '라이선스',
|
||||
}
|
||||
@@ -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