Added Spanish option in settings
This commit is contained in:
parent
6b545bf048
commit
6863384632
File diff suppressed because one or more lines are too long
@ -4,6 +4,7 @@ import VueI18n from 'vue-i18n'
|
|||||||
// Languages
|
// Languages
|
||||||
import it from '@/lang/it'
|
import it from '@/lang/it'
|
||||||
import en from '@/lang/en'
|
import en from '@/lang/en'
|
||||||
|
import es from '@/lang/es'
|
||||||
|
|
||||||
Vue.use(VueI18n)
|
Vue.use(VueI18n)
|
||||||
|
|
||||||
@ -13,7 +14,8 @@ document.querySelector('html').setAttribute('lang', DEFAULT_LANG)
|
|||||||
|
|
||||||
const locales = {
|
const locales = {
|
||||||
it,
|
it,
|
||||||
en
|
en,
|
||||||
|
es
|
||||||
}
|
}
|
||||||
|
|
||||||
const i18n = new VueI18n({
|
const i18n = new VueI18n({
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
import it from 'svg-country-flags/svg/it.svg'
|
import it from 'svg-country-flags/svg/it.svg'
|
||||||
import gb from 'svg-country-flags/svg/gb.svg'
|
import gb from 'svg-country-flags/svg/gb.svg'
|
||||||
|
import es from 'svg-country-flags/svg/es.svg'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
it,
|
it,
|
||||||
en: gb
|
en: gb,
|
||||||
|
es
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user