From 08cdac968d8252afee7d72a500fb0e887e3effd4 Mon Sep 17 00:00:00 2001 From: inorichi Date: Mon, 25 Mar 2019 14:52:07 +0100 Subject: [PATCH] Fix strings and add new languages --- .../ui/setting/SettingsGeneralController.kt | 6 +++--- app/src/main/res/values-fr/strings.xml | 4 ++-- app/src/main/res/values-hi/strings.xml | 4 ++-- app/src/main/res/values-pt/strings.xml | 13 +++++-------- app/src/main/res/values-ro/strings.xml | 4 ++-- 5 files changed, 14 insertions(+), 17 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt index ab81f4787..8dfcc4748 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt @@ -29,9 +29,9 @@ class SettingsGeneralController : SettingsController() { listPreference { key = Keys.lang titleRes = R.string.pref_language - entryValues = arrayOf("", "ar", "bg", "bn", "de", "en-US", "en-GB", "es", "fr", "hi", - "hu", "in", "it", "ja", "ko", "lv", "ms", "nl", "pl", "pt", "pt-BR", "ro", - "ru", "tr", "vi") + entryValues = arrayOf("", "ar", "bg", "bn", "ca", "cs", "de", "el", "en-US", "en-GB", + "es", "fr", "hi", "hu", "in", "it", "ja", "ko", "lv", "ms", "nb-rNO", "nl", "pl", "pt", + "pt-BR", "ro", "ru", "sr", "sv", "th", "tr", "uk", "vi", "zh-rCN") entries = entryValues.map { value -> val locale = LocaleHelper.getLocaleFromString(value.toString()) locale?.getDisplayName(locale)?.capitalize() ?: diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 30e4cd8b9..4db5f7f2c 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -402,7 +402,7 @@ Le défaut ne peut pas être selectionné avec des autres catégories Supprimer les chapitres téléchargés ? - Pour %1$s chapitres + Pour %1$d chapitres Suivi Nombre de chapitres Actualisations @@ -522,4 +522,4 @@ Assurez-vous que vous êtes connecté à des sources qui le demande avant de com En cours de déplacement… Bleu foncé - \ No newline at end of file + diff --git a/app/src/main/res/values-hi/strings.xml b/app/src/main/res/values-hi/strings.xml index 2143bf3cd..583b2c3ab 100644 --- a/app/src/main/res/values-hi/strings.xml +++ b/app/src/main/res/values-hi/strings.xml @@ -14,7 +14,7 @@ पुस्तकालय अद्यतन नवीनतम अद्यतन श्रेणियाँ - श्रेणियाँ + श्रेणियाँ %1$d बैकअप @@ -475,4 +475,4 @@ पृष्ठों को लोड करने में विफल है: %1$s गहरा नीला - \ No newline at end of file + diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 878410232..ca40ef2d1 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -366,16 +366,13 @@ R Categorias para incluir na transferência Pasta de Backups - A restaurar backup... -\n%1$ adicionado a biblioteca - A restaurar backup... -\n%1$ Fonte não encontrada + A restaurar backup…\n%1$s adicionado a biblioteca + A restaurar backup…\n%1$s Fonte não encontrada Backup criado Restauro completo Não foi possivel abrir o registo - Restauro levou %1$. -\n%2$ erros encontrados. - Ficheiro salvo em %1$ + Restauro levou %1$s.\n%2$s erros encontrados. + Ficheiro salvo em %1$s O que pretende fazer backup\? Refrescar metadata da biblioteca Máximo de backups automáticos @@ -384,4 +381,4 @@ Confiar Não confiar Transferir personalizado - \ No newline at end of file + diff --git a/app/src/main/res/values-ro/strings.xml b/app/src/main/res/values-ro/strings.xml index c9eb9c81b..011f37610 100644 --- a/app/src/main/res/values-ro/strings.xml +++ b/app/src/main/res/values-ro/strings.xml @@ -242,7 +242,7 @@ Copie de rezervă creată Restaurare completă Nu s-a putut deschide log - Restaurarea a durat %$s. + Restaurarea a durat %1$s. \n%2$s erori găsite. Restaurare folosește sursa pentru a aduce datele, cost suplimentar aplicabil. De asemenea verificați dacă sunteți autentificați în sursele ce au nevoie înainte de a incepe restaurarea. Fișier salvat in %1$s @@ -395,7 +395,7 @@ Descărcare… Descărcat %1$d%% Pagina: %1$d - Capitolul %1$d + Capitolul %1$s Capitolul următor nu a fost găsit Capitolul precedent nu a fost găsit Imaginea nu a putu fi decodată