From e1bca6f46ad602085a99c8551607ac044f2c000c Mon Sep 17 00:00:00 2001 From: lesion Date: Tue, 14 Mar 2023 16:15:42 +0100 Subject: [PATCH] add Duch (nl) locale (thanks @jeoenepraat) --- CHANGELOG | 2 ++ locales/index.js | 1 + nuxt.config.js | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 68b45f36..89328234 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ All notable changes to this project will be documented in this file. +### UNRELEASED + ### 1.6.4 - 22 feb '23 - add missing i18n during setup - really fix #232 diff --git a/locales/index.js b/locales/index.js index 9ea49295..9e6a6cd9 100644 --- a/locales/index.js +++ b/locales/index.js @@ -8,6 +8,7 @@ module.exports = { gl: 'Galego', it: 'Italiano', nb: 'Norwegian Bokmål', + nl: 'Dutch', pl: 'Polski', pt: 'Português', ru: 'Русский', diff --git a/nuxt.config.js b/nuxt.config.js index 72eb06d1..6036a7ff 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -2,7 +2,7 @@ const config = require('./server/config.js') const minifyTheme = require('minify-css-string').default const locales = require('./locales/index') -import { ca, de, en, es, eu, fr, gl, it, nb, pl, pt, sk, ru, zhHans } from 'vuetify/lib/locale' +import { ca, de, en, es, eu, fr, gl, it, nb, nl, pl, pt, sk, ru, zhHans } from 'vuetify/lib/locale' const isDev = (process.env.NODE_ENV !== 'production') module.exports = { @@ -141,7 +141,7 @@ module.exports = { }, buildModules: ['@nuxtjs/vuetify'], vuetify: { - lang: { locales: { ca, de, en, es, eu, fr, gl, it, nb, pl, pt, sk, ru, zhHans } }, + lang: { locales: { ca, de, en, es, eu, fr, gl, it, nb, nl, pl, pt, sk, ru, zhHans } }, treeShake: true, theme: { options: {