Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
add uk-UA
Browse files Browse the repository at this point in the history
  • Loading branch information
cutls committed Apr 22, 2023
1 parent ca36054 commit fae4dc0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ app/view/ru-RU
app/view/zh-TW
app/view/pt-BR
app/view/si-LK
app/view/uk-UA
app/build.js
app/view/make/make.js
app/view/make/makeCli.ts
Expand Down
2 changes: 2 additions & 0 deletions app/js/common/lang.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import ruRU from '../../view/ru-RU/main'
import esES from '../../view/es-ES/main'
import plPL from '../../view/pl-PL/main'
import siLK from '../../view/si-LK/main'
import ukUA from '../../view/uk-UA/main'
import ps from '../../view/ps/main'
const langs = {
ja,
Expand All @@ -34,6 +35,7 @@ const langs = {
'es-ES': esES,
'pl-PL': plPL,
'si-LK': siLK,
'uk-UA': ukUA,
ps,
}
export default langs[globalThis.useLang] as typeof ja
2 changes: 2 additions & 0 deletions app/js/common/settingLang.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import * as ruRU from '../../view/ru-RU/setting.vue'
import * as esES from '../../view/es-ES/setting.vue'
import * as plPL from '../../view/pl-PL/setting.vue'
import * as siLK from '../../view/si-LK/setting.vue'
import * as ukUA from '../../view/uk-UA/setting.vue'
import * as ps from '../../view/ps/setting.vue'
const langs = {
ja,
Expand All @@ -34,6 +35,7 @@ const langs = {
'es-ES': esES,
'pl-PL': plPL,
'si-LK': siLK,
'uk-UA': ukUA,
ps,
}
const imps = langs[globalThis.useLang]
Expand Down
3 changes: 2 additions & 1 deletion app/view/make/make.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function construct(ver, basefile, pwa, store) {
console.log('Constructing view files ' + ver)
genIndexHtml(basefile)
const langs = ['ja', 'ja-KS', 'en', 'bg', 'cs', 'de',
'es-AR', 'it-IT', 'zh-CN', 'fr-FR', 'zh-TW', 'no-NO', 'pt-BR', 'ru-RU', 'es-ES', 'pl-PL', 'si-LK', 'ps'
'es-AR', 'it-IT', 'zh-CN', 'fr-FR', 'zh-TW', 'no-NO', 'pt-BR', 'ru-RU', 'es-ES', 'pl-PL', 'si-LK','uk-UA', 'ps'
]
const langsh = [
'日本語',
Expand All @@ -29,6 +29,7 @@ function construct(ver, basefile, pwa, store) {
'Español(β)',
'Polskie(β)',
'සිංහල(β)',
'українська(β)',
'Crowdin translate system(beta)'
]
const simples = ['acct', 'index', 'setting', 'update', 'setting']
Expand Down

0 comments on commit fae4dc0

Please sign in to comment.