0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch.git synced 2024-12-22 13:22:58 -05:00

Add chinese language

This commit is contained in:
dragongoose 2023-11-30 19:21:42 -05:00
parent 92bef30e4d
commit 7a7382aae6
No known key found for this signature in database
GPG key ID: 01397EEC371CDAA5
2 changed files with 7 additions and 3 deletions

View file

@ -13,6 +13,7 @@ import it from '@/locales/it.json'
import fr from '@/locales/fr.json' import fr from '@/locales/fr.json'
import uk from '@/locales/uk.json' import uk from '@/locales/uk.json'
import de from '@/locales/de.json' import de from '@/locales/de.json'
import zh_Hans from '@/locales/zh_Hans.json'
export default createI18n({ export default createI18n({
legacy: false, legacy: false,
@ -33,6 +34,7 @@ export default createI18n({
'it-IT': it, 'it-IT': it,
'fr-FR': fr, 'fr-FR': fr,
'uk-UA': uk, 'uk-UA': uk,
'de-DE': de 'de-DE': de,
'zh-Hans': zh_Hans
} }
}) })

View file

@ -12,7 +12,8 @@ const locales = [
'it-IT', 'it-IT',
'fr-FR', 'fr-FR',
'uk-UA', 'uk-UA',
'de-DE' 'de-DE',
'zh-Hans'
] ]
const languages = [ const languages = [
'English', 'English',
@ -28,7 +29,8 @@ const languages = [
'Italia', 'Italia',
'Français', 'Français',
'Українська', 'Українська',
'Deutsch' 'Deutsch',
'中文(简体)'
] ]
export interface SettingsCheckbox { export interface SettingsCheckbox {