0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch.git synced 2025-01-03 11:20:07 -05:00

Add translation

This commit is contained in:
dragongoose 2023-07-18 20:35:17 -04:00
parent 87ca3b79d6
commit a500e31ed0
No known key found for this signature in database
GPG key ID: 01397EEC371CDAA5
3 changed files with 5 additions and 3 deletions

View file

@ -12,8 +12,8 @@
export default { export default {
setup() { setup() {
return { return {
langs: ['en-US', 'es-ES', 'nl-NL', 'pt-PT', 'fa-IR'], langs: ['en-US', 'es-ES', 'nl-NL', 'pt-PT', 'fa-IR', 'he_IL'],
names: ['English', 'Español', 'Nederlands', 'Português', 'فارسی'] names: ['English', 'Español', 'Nederlands', 'Português', 'فارسی', 'עִבְרִית']
} }
}, },
mounted() { mounted() {

View file

@ -4,6 +4,7 @@ import es from '@/locales/es.json'
import nl from '@/locales/nl.json' import nl from '@/locales/nl.json'
import pt from '@/locales/pt.json' import pt from '@/locales/pt.json'
import fa from '@/locales/fa.json' import fa from '@/locales/fa.json'
import he from '@/locales/he.json'
export default createI18n({ export default createI18n({
legacy: false, legacy: false,
@ -16,5 +17,6 @@ export default createI18n({
'nl-NL': nl, 'nl-NL': nl,
'pt-PT': pt, 'pt-PT': pt,
'fa-IR': fa, 'fa-IR': fa,
'he_IL': he,
} }
}) })

@ -1 +1 @@
Subproject commit 06be030adc22ceb02bca215a12c9ae4fc0b56208 Subproject commit e006498953d4b13e6de7ec001ab219da50d0e418