feat: Added Korean translation (#1372)

* add ko-KR

* oops

* type-check & delete unused comments
This commit is contained in:
Kamilake
2023-04-12 10:34:36 +09:00
committed by GitHub
parent da04383772
commit eed33fbb0e
5 changed files with 101 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
import { computed } from 'vue'
import { enUS, zhCN, zhTW } from 'naive-ui'
import { enUS, koKR, zhCN, zhTW } from 'naive-ui'
import { useAppStore } from '@/store'
import { setLocale } from '@/locales'
@@ -11,6 +11,9 @@ export function useLanguage() {
case 'en-US':
setLocale('en-US')
return enUS
case 'ko-KR':
setLocale('ko-KR')
return koKR
case 'zh-CN':
setLocale('zh-CN')
return zhCN