Add persian translation

This commit is contained in:
dragongoose 2023-07-16 11:35:41 -04:00
parent 7e3f7c7d47
commit 72d572dffe
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'], langs: ['en-US', 'es-ES', 'nl-NL', 'pt-PT', 'fa-IR'],
names: ['English', 'Español', 'Nederlands', 'Português'] names: ['English', 'Español', 'Nederlands', 'Português', 'فارسی']
} }
}, },
mounted() { mounted() {

View File

@ -3,6 +3,7 @@ import en from '@/locales/en.json'
import es from '@/locales/es.json' 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'
export default createI18n({ export default createI18n({
legacy: false, legacy: false,
@ -14,5 +15,6 @@ export default createI18n({
'es-ES': es, 'es-ES': es,
'nl-NL': nl, 'nl-NL': nl,
'pt-PT': pt, 'pt-PT': pt,
'fa-IR': fa,
} }
}) })

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