mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-03-30 05:20:55 +03:00
chore(localization): Update tolgee info
This commit is contained in:
parent
20dc6843aa
commit
6132bb3fec
8 changed files with 20 additions and 4355 deletions
|
@ -103,7 +103,7 @@ I'll gladly accept help/pull requests & advice!
|
||||||
|
|
||||||
### Localize the app
|
### Localize the app
|
||||||
|
|
||||||
We use [Tolgee](https://tolgee.io/) to manage translations. You can help translate the app by visiting [this link](https://app.tolgee.io/accept_invitation/sqSGXMwEkKapcAbNotICHxkxhIoPTuQKsrqpXHLxeXDxpTSBSo).
|
We use [Tolgee](https://tolgee.io/) to manage translations. If you want to help, let us know which locale do you want to work on in the discord server to be added to the project.
|
||||||
|
|
||||||
## Support
|
## Support
|
||||||
|
|
||||||
|
|
1091
src/locales/en.json
1091
src/locales/en.json
File diff suppressed because it is too large
Load diff
|
@ -1,26 +1,2 @@
|
||||||
{
|
// Generated by Tolgee app
|
||||||
"common": {
|
{}
|
||||||
"cancel": "cancelar",
|
|
||||||
"save": "guardar",
|
|
||||||
"delete": "borrar"
|
|
||||||
},
|
|
||||||
"torrent": {
|
|
||||||
"properties": {
|
|
||||||
"added_on": "agregado el",
|
|
||||||
"availability": "disponibilidad",
|
|
||||||
"name": "título",
|
|
||||||
"directory": "directorio",
|
|
||||||
"downloaded": "descargado",
|
|
||||||
"progress": "progreso",
|
|
||||||
"size": "tamaño",
|
|
||||||
"uploaded": "subido"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"navbar": {
|
|
||||||
"side": {
|
|
||||||
"current_speed": {
|
|
||||||
"title": "velocidad actual"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,13 +1,2 @@
|
||||||
{
|
// Generated by Tolgee app
|
||||||
"dashboard": {
|
{}
|
||||||
"title": "Tableau de Bord",
|
|
||||||
"goToSettings": "Aller aux paramètres"
|
|
||||||
},
|
|
||||||
"settings": {
|
|
||||||
"title": "Paramètres",
|
|
||||||
"language": "Langue",
|
|
||||||
"save": "Sauvegarder",
|
|
||||||
"saveSuccess": "Paramètres sauvegardés avec succès!",
|
|
||||||
"goBack": "Page précédente"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,9 +1,9 @@
|
||||||
import en from './en.json'
|
import en from './en.json'
|
||||||
import es from './es.json'
|
import es from './es.json'
|
||||||
import fr from './fr.json'
|
import fr from './fr.json'
|
||||||
|
import ru from './ru.json'
|
||||||
import zh_hans from './zh-Hans.json'
|
import zh_hans from './zh-Hans.json'
|
||||||
import zh_hant from './zh-Hant.json'
|
import zh_hant from './zh-Hant.json'
|
||||||
import ru from './ru.json'
|
|
||||||
|
|
||||||
type LocaleDef = {
|
type LocaleDef = {
|
||||||
title: string
|
title: string
|
||||||
|
@ -14,27 +14,27 @@ export enum Locales {
|
||||||
EN = 'en',
|
EN = 'en',
|
||||||
ES = 'es',
|
ES = 'es',
|
||||||
FR = 'fr',
|
FR = 'fr',
|
||||||
|
RU = 'ru',
|
||||||
ZH_HANS = 'zh-Hans',
|
ZH_HANS = 'zh-Hans',
|
||||||
ZH_HANT = 'zh-Hant',
|
ZH_HANT = 'zh-Hant'
|
||||||
RU = 'ru'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export const LOCALES: LocaleDef[] = [
|
export const LOCALES: LocaleDef[] = [
|
||||||
{ title: 'English', value: Locales.EN },
|
{ title: 'English', value: Locales.EN },
|
||||||
{ title: 'Español', value: Locales.ES },
|
{ title: 'Español', value: Locales.ES },
|
||||||
{ title: 'Français', value: Locales.FR },
|
{ title: 'Français', value: Locales.FR },
|
||||||
|
{ title: 'Русский', value: Locales.RU },
|
||||||
{ title: '简体中文', value: Locales.ZH_HANS },
|
{ title: '简体中文', value: Locales.ZH_HANS },
|
||||||
{ title: '繁體中文', value: Locales.ZH_HANT },
|
{ title: '繁體中文', value: Locales.ZH_HANT }
|
||||||
{ title: 'Русский', value: Locales.RU }
|
|
||||||
]
|
]
|
||||||
|
|
||||||
export const messages: Record<Locales, any> = {
|
export const messages: Record<Locales, any> = {
|
||||||
[Locales.EN]: en,
|
[Locales.EN]: en,
|
||||||
[Locales.ES]: es,
|
[Locales.ES]: es,
|
||||||
[Locales.FR]: fr,
|
[Locales.FR]: fr,
|
||||||
|
[Locales.RU]: ru,
|
||||||
[Locales.ZH_HANS]: zh_hans,
|
[Locales.ZH_HANS]: zh_hans,
|
||||||
[Locales.ZH_HANT]: zh_hant,
|
[Locales.ZH_HANT]: zh_hant
|
||||||
[Locales.RU]: ru
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export const defaultLocale = Locales.EN
|
export const defaultLocale = Locales.EN
|
||||||
|
|
1075
src/locales/ru.json
1075
src/locales/ru.json
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue