mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45:56 -05:00
[web] Remove useless i18n configuration
This commit is contained in:
parent
c5628adb55
commit
54ad586941
@ -10,7 +10,6 @@ export default createI18n({
|
|||||||
availableLocales: ('de', 'en', 'fr', 'zh'),
|
availableLocales: ('de', 'en', 'fr', 'zh'),
|
||||||
fallbackLocale: 'en',
|
fallbackLocale: 'en',
|
||||||
fallbackWarn: false,
|
fallbackWarn: false,
|
||||||
globalInjection: true,
|
|
||||||
legacy: false,
|
legacy: false,
|
||||||
locale: navigator.language,
|
locale: navigator.language,
|
||||||
messages,
|
messages,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import path from 'path'
|
import path from 'path'
|
||||||
import { defineConfig } from 'vite'
|
import { defineConfig } from 'vite'
|
||||||
import vue from '@vitejs/plugin-vue'
|
import vue from '@vitejs/plugin-vue'
|
||||||
import vueI18n from '@intlify/unplugin-vue-i18n/vite'
|
import i18n from '@intlify/unplugin-vue-i18n/vite'
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* In development mode, use the VITE_OWNTONE_URL environment variable to set
|
* In development mode, use the VITE_OWNTONE_URL environment variable to set
|
||||||
@ -15,21 +15,10 @@ export default defineConfig({
|
|||||||
resolve: { alias: { '@': '/src' } },
|
resolve: { alias: { '@': '/src' } },
|
||||||
plugins: [
|
plugins: [
|
||||||
vue(),
|
vue(),
|
||||||
vueI18n({
|
i18n({
|
||||||
include: path.resolve(__dirname, './src/locales/**')
|
include: path.resolve(__dirname, './src/locales/**')
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
pluginOptions: {
|
|
||||||
i18n: {
|
|
||||||
locale: 'en',
|
|
||||||
fallbackLocale: 'en',
|
|
||||||
localeDir: 'locales',
|
|
||||||
enableLegacy: false,
|
|
||||||
runtimeOnly: false,
|
|
||||||
compositionOnly: false,
|
|
||||||
fullInstall: true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
build: {
|
build: {
|
||||||
outDir: '../htdocs',
|
outDir: '../htdocs',
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
|
Loading…
Reference in New Issue
Block a user