mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
feat: add Turkish language
This commit is contained in:
parent
388c8078dd
commit
c99772e0b5
3 changed files with 5 additions and 7 deletions
|
@ -14,6 +14,7 @@ module.exports = {
|
|||
pt: 'Português',
|
||||
'pt-BR': 'Português (Brasilian)',
|
||||
ru: 'Русский',
|
||||
tr: 'Türkçe',
|
||||
sk: 'Slovak',
|
||||
zh: '中国'
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
const config = require('./server/config.js')
|
||||
const locales = require('./locales/index')
|
||||
import { ca, cs, de, en, es, eu, fr, gl, it, nb, nl, pl, pt, sk, ru, zhHans } from 'vuetify/es5/locale'
|
||||
|
||||
const dns = require('node:dns')
|
||||
dns.setDefaultResultOrder('ipv4first')
|
||||
|
@ -144,10 +143,8 @@ module.exports = {
|
|||
},
|
||||
buildModules: ['@nuxtjs/vuetify'],
|
||||
vuetify: {
|
||||
lang: { locales: { ca, cs, de, en, es, eu, fr, gl, it, nb, nl, pl, pt, sk, ru, zhHans } },
|
||||
treeShake: true,
|
||||
defaultAssets: false,
|
||||
optionsPath: './vuetify.options.js' },
|
||||
optionsPath: './vuetify.options.js'
|
||||
},
|
||||
build: {
|
||||
extend(config, { isDev, isClient }) {
|
||||
// ..
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
const minifyTheme = require('minify-css-string').default
|
||||
import { ca, cs, de, en, es, eu, fr, gl, it, nb, nl, pl, pt, sk, ru, zhHans } from 'vuetify/es5/locale'
|
||||
import { ca, cs, de, en, es, eu, fr, gl, it, nb, nl, pl, pt, tr, sk, ru, zhHans } from 'vuetify/es5/locale'
|
||||
|
||||
export default ({ res, nuxtState }) => {
|
||||
|
||||
const settings = process.server ? (res.locals.settings || {}) : nuxtState.state.settings || {}
|
||||
|
||||
return {
|
||||
lang: { locales: { ca, cs, de, en, es, eu, fr, gl, it, nb, nl, pl, pt, sk, ru, zhHans } },
|
||||
lang: { locales: { ca, cs, de, en, es, eu, fr, gl, it, nb, nl, pl, pt, sk, tr, ru, zhHans } },
|
||||
treeShake: true,
|
||||
theme: {
|
||||
options: {
|
||||
|
|
Loading…
Reference in a new issue