mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-25 21:53:17 -05:00
[web] Fix a warning message in the console on the "About" and "Search" pages.
When accessing the "About" and "Search", no warning is shown regarding the scope of translations.
This commit is contained in:
parent
5e73554ad5
commit
e4f4824023
File diff suppressed because one or more lines are too long
@ -7,12 +7,12 @@ import { createI18n } from 'vue-i18n'
|
||||
import messages from '@intlify/unplugin-vue-i18n/messages'
|
||||
|
||||
export default createI18n({
|
||||
legacy: false,
|
||||
globalInjection: true,
|
||||
availableLocales: ('de', 'en', 'fr'),
|
||||
locale: navigator.language,
|
||||
fallbackLocale: 'en',
|
||||
fallbackWarn: false,
|
||||
missingWarn: false,
|
||||
messages
|
||||
globalInjection: true,
|
||||
legacy: false,
|
||||
locale: navigator.language,
|
||||
messages,
|
||||
missingWarn: false
|
||||
})
|
||||
|
@ -140,7 +140,12 @@
|
||||
})
|
||||
"
|
||||
/>
|
||||
<i18n-t tag="p" class="is-size-7" keypath="page.about.built-with">
|
||||
<i18n-t
|
||||
tag="p"
|
||||
class="is-size-7"
|
||||
keypath="page.about.built-with"
|
||||
scope="global"
|
||||
>
|
||||
<template #bulma><a href="https://bulma.io">Bulma</a></template>
|
||||
<template #mdi
|
||||
><a href="https://pictogrammers.com/library/mdi/"
|
||||
|
@ -22,6 +22,7 @@
|
||||
tag="p"
|
||||
class="help has-text-centered"
|
||||
keypath="page.search.help"
|
||||
scope="global"
|
||||
>
|
||||
<template #query><code>query:</code></template>
|
||||
<template #help
|
||||
|
Loading…
x
Reference in New Issue
Block a user