Fix strings and add new languages

This commit is contained in:
inorichi 2019-03-25 14:52:07 +01:00
parent f12d5ba689
commit 08cdac968d
5 changed files with 14 additions and 17 deletions

View File

@ -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() ?:

View File

@ -402,7 +402,7 @@
<string name="invalid_combination">Le défaut ne peut pas être selectionné avec des autres catégories</string>
<string name="delete_downloads_for_manga">Supprimer les chapitres téléchargés ?</string>
<string name="notification_new_chapters_text">Pour %1$s chapitres</string>
<string name="notification_new_chapters_text">Pour %1$d chapitres</string>
<string name="track">Suivi</string>
<string name="action_sort_total">Nombre de chapitres</string>
<string name="short_recent_updates">Actualisations</string>

View File

@ -14,7 +14,7 @@
<string name="label_recent_updates">पुस्तकालय अद्यतन</string>
<string name="label_latest_updates">नवीनतम अद्यतन</string>
<string name="label_categories">श्रेणियाँ</string>
<string name="label_selected">श्रेणियाँ</string>
<string name="label_selected">श्रेणियाँ %1$d</string>
<string name="label_backup">बैकअप</string>

View File

@ -366,16 +366,13 @@
<string name="color_filter_r_value">R</string>
<string name="pref_download_new_categories">Categorias para incluir na transferência</string>
<string name="pref_backup_directory">Pasta de Backups</string>
<string name="dialog_restoring_backup">A restaurar backup...
\n%1$ adicionado a biblioteca</string>
<string name="dialog_restoring_source_not_found">A restaurar backup...
\n%1$ Fonte não encontrada</string>
<string name="dialog_restoring_backup">A restaurar backup…\n%1$s adicionado a biblioteca</string>
<string name="dialog_restoring_source_not_found">A restaurar backup…\n%1$s Fonte não encontrada</string>
<string name="backup_created">Backup criado</string>
<string name="restore_completed">Restauro completo</string>
<string name="error_opening_log">Não foi possivel abrir o registo</string>
<string name="restore_completed_content">Restauro levou %1$.
\n%2$ erros encontrados.</string>
<string name="file_saved">Ficheiro salvo em %1$</string>
<string name="restore_completed_content">Restauro levou %1$s.\n%2$s erros encontrados.</string>
<string name="file_saved">Ficheiro salvo em %1$s</string>
<string name="backup_choice">O que pretende fazer backup\?</string>
<string name="pref_refresh_library_metadata">Refrescar metadata da biblioteca</string>
<string name="pref_backup_slots">Máximo de backups automáticos</string>

View File

@ -242,7 +242,7 @@
<string name="backup_created">Copie de rezervă creată</string>
<string name="restore_completed">Restaurare completă</string>
<string name="error_opening_log">Nu s-a putut deschide log</string>
<string name="restore_completed_content">Restaurarea a durat %$s.
<string name="restore_completed_content">Restaurarea a durat %1$s.
\n%2$s erori găsite.</string>
<string name="backup_restore_content">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.</string>
<string name="file_saved">Fișier salvat in %1$s</string>
@ -395,7 +395,7 @@
<string name="downloading">Descărcare…</string>
<string name="download_progress">Descărcat %1$d%%</string>
<string name="chapter_progress">Pagina: %1$d</string>
<string name="chapter_subtitle">Capitolul %1$d</string>
<string name="chapter_subtitle">Capitolul %1$s</string>
<string name="no_next_chapter">Capitolul următor nu a fost găsit</string>
<string name="no_previous_chapter">Capitolul precedent nu a fost găsit</string>
<string name="decode_image_error">Imaginea nu a putu fi decodată</string>