chore(localization): Update tolgee info

This commit is contained in:
Rémi Marseault 2023-11-08 18:28:10 +01:00 committed by GitHub
parent 20dc6843aa
commit 6132bb3fec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 20 additions and 4355 deletions

View file

@ -103,7 +103,7 @@ I'll gladly accept help/pull requests & advice!
### 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

File diff suppressed because it is too large Load diff

View file

@ -1,26 +1,2 @@
{
"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"
}
}
}
}
// Generated by Tolgee app
{}

View file

@ -1,13 +1,2 @@
{
"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"
}
}
// Generated by Tolgee app
{}

View file

@ -1,9 +1,9 @@
import en from './en.json'
import es from './es.json'
import fr from './fr.json'
import ru from './ru.json'
import zh_hans from './zh-Hans.json'
import zh_hant from './zh-Hant.json'
import ru from './ru.json'
type LocaleDef = {
title: string
@ -14,27 +14,27 @@ export enum Locales {
EN = 'en',
ES = 'es',
FR = 'fr',
RU = 'ru',
ZH_HANS = 'zh-Hans',
ZH_HANT = 'zh-Hant',
RU = 'ru'
ZH_HANT = 'zh-Hant'
}
export const LOCALES: LocaleDef[] = [
{ title: 'English', value: Locales.EN },
{ title: 'Español', value: Locales.ES },
{ title: 'Français', value: Locales.FR },
{ title: 'Русский', value: Locales.RU },
{ title: '简体中文', value: Locales.ZH_HANS },
{ title: '繁體中文', value: Locales.ZH_HANT },
{ title: 'Русский', value: Locales.RU }
{ title: '繁體中文', value: Locales.ZH_HANT }
]
export const messages: Record<Locales, any> = {
[Locales.EN]: en,
[Locales.ES]: es,
[Locales.FR]: fr,
[Locales.RU]: ru,
[Locales.ZH_HANS]: zh_hans,
[Locales.ZH_HANT]: zh_hant,
[Locales.RU]: ru
[Locales.ZH_HANT]: zh_hant
}
export const defaultLocale = Locales.EN

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