Skip to content

Commit

Permalink
refs #3323 Add Icelandic as a translation
Browse files Browse the repository at this point in the history
  • Loading branch information
h3poteto committed Nov 4, 2022
1 parent 02b439a commit 55fb8d6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/config/i18n.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const locales = [
'ja',
'ko',
'pl',
'is',
'it',
'zh_cn',
'zh_tw',
Expand Down
4 changes: 4 additions & 0 deletions src/config/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import fr from '~/src/config/locales/fr/translation.json'
import gd from '~/src/config/locales/gd/translation.json'
import id from '~/src/config/locales/id/translation.json'
import it from '~/src/config/locales/it/translation.json'
import is from '~/src/config/locales/is/translation.json'
import ja from '~/src/config/locales/ja/translation.json'
import ko from '~/src/config/locales/ko/translation.json'
import no from '~/src/config/locales/no/translation.json'
Expand Down Expand Up @@ -53,6 +54,9 @@ const options: InitOptions = {
it: {
translation: it
},
is: {
translation: is
},
ja: {
translation: ja
},
Expand Down
6 changes: 6 additions & 0 deletions src/constants/language/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export type LanguageList = {
sv_se: LanguageType
tzm: LanguageType
fa: LanguageType
is: LanguageType
}

const languageList: LanguageList = {
Expand Down Expand Up @@ -73,6 +74,11 @@ const languageList: LanguageList = {
key: 'id',
rfc4646: 'id'
},
is: {
name: 'Icelandic',
key: 'is',
rfc4646: 'is'
},
it: {
name: 'Italiano',
key: 'it',
Expand Down
1 change: 1 addition & 0 deletions src/renderer/components/Preferences/Language.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export default defineComponent({
Language.fr,
Language.gd,
Language.id,
Language.is,
Language.it,
Language.ja,
Language.ko,
Expand Down

0 comments on commit 55fb8d6

Please sign in to comment.