mirror of
https://github.com/gotson/komga.git
synced 2026-05-06 03:27:08 +02:00
fix(webui): add i18n for Vuetify datatable
This commit is contained in:
parent
f57b949de2
commit
add6160eac
10 changed files with 78 additions and 1 deletions
|
|
@ -1,4 +1,12 @@
|
||||||
{
|
{
|
||||||
|
"$vuetify": {
|
||||||
|
"dataFooter": {
|
||||||
|
"pageText": "{0}-{1} من {2}"
|
||||||
|
},
|
||||||
|
"dataTable": {
|
||||||
|
"itemsPerPageText": "الصفوف لكل صفحة:"
|
||||||
|
}
|
||||||
|
},
|
||||||
"account_settings": {
|
"account_settings": {
|
||||||
"account_settings": "إعدادات الحساب",
|
"account_settings": "إعدادات الحساب",
|
||||||
"change_password": "تغيير كلمة السر"
|
"change_password": "تغيير كلمة السر"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,12 @@
|
||||||
{
|
{
|
||||||
|
"$vuetify": {
|
||||||
|
"dataFooter": {
|
||||||
|
"pageText": "{0}-{1} von {2}"
|
||||||
|
},
|
||||||
|
"dataTable": {
|
||||||
|
"itemsPerPageText": "Zeilen pro Seite:"
|
||||||
|
}
|
||||||
|
},
|
||||||
"account_settings": {
|
"account_settings": {
|
||||||
"account_settings": "Kontoeinstellungen",
|
"account_settings": "Kontoeinstellungen",
|
||||||
"change_password": "Passwortänderung"
|
"change_password": "Passwortänderung"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,12 @@
|
||||||
{
|
{
|
||||||
|
"$vuetify": {
|
||||||
|
"dataFooter": {
|
||||||
|
"pageText": "{0}-{1} of {2}"
|
||||||
|
},
|
||||||
|
"dataTable": {
|
||||||
|
"itemsPerPageText": "Rows per page:"
|
||||||
|
}
|
||||||
|
},
|
||||||
"account_settings": {
|
"account_settings": {
|
||||||
"account_settings": "Account Settings",
|
"account_settings": "Account Settings",
|
||||||
"change_password": "change password"
|
"change_password": "change password"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,12 @@
|
||||||
{
|
{
|
||||||
|
"$vuetify": {
|
||||||
|
"dataFooter": {
|
||||||
|
"pageText": "{0}-{1} de {2}"
|
||||||
|
},
|
||||||
|
"dataTable": {
|
||||||
|
"itemsPerPageText": "Filas por página:"
|
||||||
|
}
|
||||||
|
},
|
||||||
"account_settings": {
|
"account_settings": {
|
||||||
"account_settings": "Configuración de cuenta",
|
"account_settings": "Configuración de cuenta",
|
||||||
"change_password": "Cambiar contraseña"
|
"change_password": "Cambiar contraseña"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,12 @@
|
||||||
{
|
{
|
||||||
|
"$vuetify": {
|
||||||
|
"dataFooter": {
|
||||||
|
"pageText": "{0}-{1} de {2}"
|
||||||
|
},
|
||||||
|
"dataTable": {
|
||||||
|
"itemsPerPageText": "Élements par page:"
|
||||||
|
}
|
||||||
|
},
|
||||||
"account_settings": {
|
"account_settings": {
|
||||||
"account_settings": "Paramètres du compte",
|
"account_settings": "Paramètres du compte",
|
||||||
"change_password": "Modifier le mot de passe"
|
"change_password": "Modifier le mot de passe"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,12 @@
|
||||||
{
|
{
|
||||||
|
"$vuetify": {
|
||||||
|
"dataFooter": {
|
||||||
|
"pageText": "{2} 중 {0}-{1}"
|
||||||
|
},
|
||||||
|
"dataTable": {
|
||||||
|
"itemsPerPageText": "페이지 당 행 수:"
|
||||||
|
}
|
||||||
|
},
|
||||||
"account_settings": {
|
"account_settings": {
|
||||||
"account_settings": "계정 설정",
|
"account_settings": "계정 설정",
|
||||||
"change_password": "비밀번호 변경"
|
"change_password": "비밀번호 변경"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,12 @@
|
||||||
{
|
{
|
||||||
|
"$vuetify": {
|
||||||
|
"dataFooter": {
|
||||||
|
"pageText": "{0}-{1} av {2}"
|
||||||
|
},
|
||||||
|
"dataTable": {
|
||||||
|
"itemsPerPageText": "Rader per side:"
|
||||||
|
}
|
||||||
|
},
|
||||||
"account_settings": {
|
"account_settings": {
|
||||||
"account_settings": "kontoinnstillinger",
|
"account_settings": "kontoinnstillinger",
|
||||||
"change_password": "endre passord"
|
"change_password": "endre passord"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,12 @@
|
||||||
{
|
{
|
||||||
|
"$vuetify": {
|
||||||
|
"dataFooter": {
|
||||||
|
"pageText": "{0}-{1} de {2}"
|
||||||
|
},
|
||||||
|
"dataTable": {
|
||||||
|
"itemsPerPageText": "Linhas por página:"
|
||||||
|
}
|
||||||
|
},
|
||||||
"account_settings": {
|
"account_settings": {
|
||||||
"account_settings": "configurações da conta",
|
"account_settings": "configurações da conta",
|
||||||
"change_password": "mudar senha"
|
"change_password": "mudar senha"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,12 @@
|
||||||
{
|
{
|
||||||
|
"$vuetify": {
|
||||||
|
"dataFooter": {
|
||||||
|
"pageText": "{0}-{1} из {2}"
|
||||||
|
},
|
||||||
|
"dataTable": {
|
||||||
|
"itemsPerPageText": "Строк на странице:"
|
||||||
|
}
|
||||||
|
},
|
||||||
"account_settings": {
|
"account_settings": {
|
||||||
"account_settings": "настройки учётной записи",
|
"account_settings": "настройки учётной записи",
|
||||||
"change_password": "изменить пароль"
|
"change_password": "изменить пароль"
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,8 @@ import Vue from 'vue'
|
||||||
import Vuetify from 'vuetify/lib'
|
import Vuetify from 'vuetify/lib'
|
||||||
import colors from 'vuetify/lib/util/colors'
|
import colors from 'vuetify/lib/util/colors'
|
||||||
|
|
||||||
import { Touch } from 'vuetify/lib/directives'
|
import {Touch} from 'vuetify/lib/directives'
|
||||||
|
import i18n from "@/i18n";
|
||||||
|
|
||||||
Vue.use(Vuetify, {
|
Vue.use(Vuetify, {
|
||||||
directives: {
|
directives: {
|
||||||
|
|
@ -17,6 +18,10 @@ export default new Vuetify({
|
||||||
iconfont: 'mdi',
|
iconfont: 'mdi',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
lang: {
|
||||||
|
t: (key, ...params) => i18n.t(key, params).toString(),
|
||||||
|
},
|
||||||
|
|
||||||
theme: {
|
theme: {
|
||||||
options: {
|
options: {
|
||||||
customProperties: true,
|
customProperties: true,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue