Fix duplicate string names for weblate

This commit is contained in:
Jays2Kings 2021-03-26 14:21:37 -04:00
parent 802192637d
commit 0586ef846a
34 changed files with 43 additions and 43 deletions

View File

@ -160,7 +160,7 @@ class LibraryCategoryAdapter(val controller: LibraryController) :
LibrarySort.TOTAL -> {
val total = item.manga.totalChapters
if (total > 0) recyclerView.resources.getQuantityString(
R.plurals.chapters,
R.plurals.chapters_plural,
total,
total
)

View File

@ -139,7 +139,7 @@ class MangaHeaderHolder(
fun bindChapters() {
val presenter = adapter.delegate.mangaPresenter()
val count = presenter.chapters.size
chapters_title.text = itemView.resources.getQuantityString(R.plurals.chapters, count, count)
chapters_title.text = itemView.resources.getQuantityString(R.plurals.chapters_plural, count, count)
filters_text.text = presenter.currentFilters()
}
@ -243,7 +243,7 @@ class MangaHeaderHolder(
}
val count = presenter.chapters.size
chapters_title.text = itemView.resources.getQuantityString(R.plurals.chapters, count, count)
chapters_title.text = itemView.resources.getQuantityString(R.plurals.chapters_plural, count, count)
top_view.updateLayoutParams<ConstraintLayout.LayoutParams> {
height = adapter.delegate.topCoverHeight()

View File

@ -37,7 +37,7 @@ class SettingsLibraryController : SettingsController() {
key = "edit_categories"
val catCount = db.getCategories().executeAsBlocking().size
titleRes = if (catCount > 0) R.string.edit_categories else R.string.add_categories
if (catCount > 0) summary = context.resources.getQuantityString(R.plurals.category, catCount, catCount)
if (catCount > 0) summary = context.resources.getQuantityString(R.plurals.category_plural, catCount, catCount)
onClick { router.pushController(CategoryController().withFadeTransaction()) }
}
intListPreference(activity) {

View File

@ -394,7 +394,7 @@
<string name="create_new_category">إنشاء فئة جديدة</string>
<string name="_already_in_queue">%1$s موجود في قائمة الإنتظار بالفعل</string>
<string name="adding_category_to_queue">إضافة %1$s إلى قائمة للتحديث</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="zero">الفئة</item>
<item quantity="one"/>
<item quantity="two"/>

View File

@ -383,7 +383,7 @@
<string name="category_is_empty">বিভাগটি খালি</string>
<string name="create_new_category">নতুন বিভাগ তৈরি করুন</string>
<string name="_already_in_queue">%1$s আগে থেকেই সারিতে আছে</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="one">বিভাগ</item>
<item quantity="other"/>
</plurals>

View File

@ -404,7 +404,7 @@
<string name="new_chapters">Capítols nous</string>
<string name="unlock">Desbloca</string>
<string name="unlock_library">Desbloqueu per a accedir a la biblioteca</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="one">Categoria</item>
<item quantity="other"/>
</plurals>

View File

@ -324,7 +324,7 @@
<string name="updating_library">Вулавӑша ҫӗнетни</string>
<string name="default_category">Яланхилле пухмӑш</string>
<string name="categories">Пухмӑшсем</string>
<plurals name="chapters">
<plurals name="chapters_plural">
<item quantity="one">Сыпӑксем</item>
<item quantity="other"/>
</plurals>
@ -353,7 +353,7 @@
<string name="comic">Кумӑкс</string>
<string name="manhua">Киттай манкӑ</string>
<string name="manhwa">Карей манкӑ</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="one">Пухмӑш</item>
<item quantity="other"/>
</plurals>

View File

@ -45,7 +45,7 @@
<item quantity="one">Entferne %1$d heruntergeladenes Kapitel?</item>
<item quantity="other">Entferne %1$d heruntergeladene Kapitel?</item>
</plurals>
<plurals name="chapters">
<plurals name="chapters_plural">
<item quantity="one">Kapitel</item>
<item quantity="other"/>
</plurals>
@ -75,7 +75,7 @@
<string name="rename_category">Kategorie umbenennen</string>
<string name="move_to_categories">Zu Kategorien hinzufügen</string>
<string name="add_to_categories">Wähle, in welche Kategorien dies hinzugefügt wird. Wenn nichts ausgewählt ist, wird die Standardkategorie genutzt</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="one">Kategorie</item>
<item quantity="other">Kategorien</item>
</plurals>

View File

@ -477,7 +477,7 @@
<string name="create_new_category">Δημιουργία νέας κατηγορίας</string>
<string name="_already_in_queue">%1$s είναι ήδη στην ουρά</string>
<string name="adding_category_to_queue">Προσθήκη %1$s στην ουρά ενημέρωσης</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="one">Κατηγορία</item>
<item quantity="other"/>
</plurals>

View File

@ -19,7 +19,7 @@
<string name="last_read_chapter_">Lastatempe legis ĉapitro %1$s</string>
<string name="unread">Nelegita</string>
<string name="new_chapters">Novaj ĉapitroj</string>
<plurals name="chapters">
<plurals name="chapters_plural">
<item quantity="one">Ĉapitroj</item>
<item quantity="other"/>
</plurals>

View File

@ -409,7 +409,7 @@ También asegúrese de haber iniciado sesión en las fuentes que lo requieren an
<string name="view_chapters">Ver capítulos</string>
<string name="manhua">Manhua</string>
<string name="manhwa">Manhwa</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="one">Categorías</item>
<item quantity="other"/>
</plurals>

View File

@ -323,7 +323,7 @@
<string name="updating_library">درحال آپدیت کتابخانه</string>
<string name="default_category">دسته بندی پیشفرض</string>
<string name="categories">دسته بندی ها</string>
<plurals name="chapters">
<plurals name="chapters_plural">
<item quantity="one">قسمت ها</item>
<item quantity="other"></item>
</plurals>

View File

@ -378,7 +378,7 @@
<string name="always">Aina</string>
<string name="app_not_available">Sovellus ei ole saatavilla</string>
<string name="back">Takaisin</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="one">Kategoria</item>
<item quantity="other"/>
</plurals>

View File

@ -12,7 +12,7 @@
<string name="completed">Nakumpleto</string>
<string name="lock_with_biometrics">I-lock gamit biometrics</string>
<string name="lock_when_idle">I-lock kung nakatambay</string>
<plurals name="chapters">
<plurals name="chapters_plural">
<item quantity="one">Mga Kabanata</item>
<item quantity="other"/>
</plurals>
@ -326,7 +326,7 @@
<string name="view_chapters">Tingnan ang mga kabanata</string>
<string name="wifi">Naka-wifi</string>
<string name="tracked">Sinundan</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="one">Kategorya</item>
<item quantity="other"></item>
</plurals>

View File

@ -507,7 +507,7 @@
<string name="create_new_category">Créer une nouvelle catégorie</string>
<string name="_already_in_queue">%1$s est déjà dans la file d\'attente</string>
<string name="adding_category_to_queue">Ajout de %1$s à la file d\'attente de mise à jour</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="one">Catégorie</item>
<item quantity="other"/>
</plurals>

View File

@ -18,7 +18,7 @@
<string name="app_not_available">Aplicación non dispoñible</string>
<string name="loading">Cargando…</string>
<string name="history">Historial</string>
<plurals name="chapters">
<plurals name="chapters_plural">
<item quantity="one">Capítulos</item>
<item quantity="other"/>
</plurals>

View File

@ -12,7 +12,7 @@
<string name="completed">Završeno</string>
<string name="lock_with_biometrics">Zaključaj pomoću biometrije</string>
<string name="lock_when_idle">Zaključaj prilikom mirovanja</string>
<plurals name="chapters">
<plurals name="chapters_plural">
<item quantity="one">Poglavlja</item>
<item quantity="few"/>
<item quantity="other"/>
@ -334,7 +334,7 @@
<string name="category_is_hidden">Kategorija je skrivena</string>
<string name="category_is_empty">Kategorija je prazna</string>
<string name="create_new_category">Stvori novu kategoriju</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="one">Kategorija</item>
<item quantity="few"/>
<item quantity="other"/>

View File

@ -489,7 +489,7 @@
<string name="manhua">Manhua</string>
<string name="_already_in_queue">%1$s sudah ada dalam antrian</string>
<string name="adding_category_to_queue">Menambahkan %1$s ke antrian pembaharuan</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="other">Kategori</item>
</plurals>
<plurals name="pages_left">

View File

@ -420,7 +420,7 @@
<string name="create_new_category">Crea una nuova categoria</string>
<string name="_already_in_queue">%1$s è già nella coda</string>
<string name="adding_category_to_queue">Aggiungendo %1$s alla coda di aggiornamento</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="one">Categoria</item>
<item quantity="other"/>
</plurals>

View File

@ -383,7 +383,7 @@
<string name="create_new_category">新しいカテゴリーを作成</string>
<string name="_already_in_queue">%1$sは既にキュー内に存在しています</string>
<string name="adding_category_to_queue">%1$sをアップデートキューに追加します</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="other">カテゴリー</item>
</plurals>
<plurals name="pages_left">

View File

@ -155,7 +155,7 @@
<string name="category_is_empty">Kategorija ir tukša</string>
<string name="create_new_category">Izveido jaunu kategoriju</string>
<string name="_already_in_queue">%1$s jau ir rindā</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="zero">Kategorija</item>
<item quantity="one"></item>
<item quantity="other"></item>

View File

@ -657,7 +657,7 @@
<string name="large">L</string>
<string name="medium">M</string>
<string name="small">S</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="other">Kategori</item>
</plurals>
<string name="unlock">Buka kunci</string>

View File

@ -480,7 +480,7 @@
<string name="create_new_category">Maak nieuwe categorie aan</string>
<string name="_already_in_queue">%1$s staat al in de wachtrij</string>
<string name="adding_category_to_queue">%1$s toevoegen aan updatewachtrij</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="one">Categorie</item>
<item quantity="other"/>
</plurals>

View File

@ -49,7 +49,7 @@
<item quantity="many">Usunąć %1$d pobranych rozdziałów?</item>
<item quantity="other">Usunąć %1$d pobranych rozdziałów?</item>
</plurals>
<plurals name="chapters">
<plurals name="chapters_plural">
<item quantity="one">Rozdziały</item>
<item quantity="few"/>
<item quantity="many"/>
@ -83,7 +83,7 @@
<string name="rename_category">Zmień nazwę kategorii</string>
<string name="move_to_categories">Przenieś do kategorii</string>
<string name="add_to_categories">Wybierz, do których kategorii chcesz to dodać. Jeżeli żadna nie zostanie wybrana, zostanie to dodane do domyślnej kategorii.</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="one">%d kategoria</item>
<item quantity="few">%d kategorie</item>
<item quantity="many">%d kategorii</item>

View File

@ -46,7 +46,7 @@
<item quantity="one">Remover %1$d capítulo baixado?</item>
<item quantity="other">Remover %1$d capítulos baixados?</item>
</plurals>
<plurals name="chapters">
<plurals name="chapters_plural">
<item quantity="one">Capítulos</item>
<item quantity="other"/>
</plurals>
@ -76,7 +76,7 @@
<string name="rename_category">Renomear categoria</string>
<string name="move_to_categories">Mover para categorias</string>
<string name="add_to_categories">Escolha quais categorias adicionar isto. Se nenhuma for selecionada, isto será adicionado à categoria padrão</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="one">Categoria</item>
<item quantity="other">Categorias</item>
</plurals>

View File

@ -431,7 +431,7 @@
<string name="create_new_category">Criar nova categoria</string>
<string name="_already_in_queue">%1$s já está na fila</string>
<string name="adding_category_to_queue">Adicionando %1$s para a fila de atualizações</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="one">Categoria</item>
<item quantity="other"/>
</plurals>

View File

@ -448,7 +448,7 @@
<item quantity="many">Удалить %1$d загруженных глав\?</item>
<item quantity="other">Удалить %1$d загруженных глав\?</item>
</plurals>
<plurals name="chapters">
<plurals name="chapters_plural">
<item quantity="one">Главы</item>
<item quantity="few"/>
<item quantity="many"/>
@ -480,7 +480,7 @@
<string name="category_deleted">Категория удалена</string>
<string name="long_press_category">Нажмите и удерживайте, чтобы изменить категорию</string>
<string name="jump_to_category">Перейти в категорию</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="one">Категория</item>
<item quantity="few">Категории</item>
<item quantity="many">Категорий</item>

View File

@ -650,7 +650,7 @@
<string name="create_new_category">Crea una categoria noa</string>
<string name="_already_in_queue">%1$s est giai in sa lista de isetu</string>
<string name="adding_category_to_queue">Annanghende %1$s a sa lista de agiornamentu</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="one">Categoria</item>
<item quantity="other"/>
</plurals>

View File

@ -401,7 +401,7 @@
<string name="category_is_empty">Kategori boş</string>
<string name="create_new_category">Yeni kategori oluştur</string>
<string name="_already_in_queue">%1$s zaten kuyrukta</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="one">Kategori</item>
<item quantity="other"/>
</plurals>

View File

@ -393,7 +393,7 @@
<string name="create_new_category">Створити нову категорію</string>
<string name="_already_in_queue">%1$s вже в черзі</string>
<string name="adding_category_to_queue">Додано %1$s до черги оновлення</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="one">Категорія</item>
<item quantity="few"/>
<item quantity="many"/>

View File

@ -392,7 +392,7 @@
<string name="webtoon_side_padding_20">20%</string>
<string name="webtoon_side_padding_25">25%</string>
<string name="remove_from_library">Gỡ bỏ khỏi thư viện</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="other">Thể loại</item>
</plurals>
<plurals name="pages_left">

View File

@ -418,7 +418,7 @@
<string name="create_new_category">创建新分类</string>
<string name="_already_in_queue">%1$s 已在队列中</string>
<string name="adding_category_to_queue">正在将 %1$s 添加到更新队列</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="other">分类</item>
</plurals>
<string name="chapter_not_found">未找到章节</string>

View File

@ -380,7 +380,7 @@
<string name="drag_and_drop">拖曳</string>
<string name="comfortable_grid">鬆散格狀</string>
<string name="confirm_category_deletion">刪除分類?</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="other">分類</item>
</plurals>
<string name="marked_as_unread">標示為未讀</string>

View File

@ -54,7 +54,7 @@
<item quantity="one">Remove %1$d downloaded chapter?</item>
<item quantity="other">Remove %1$d downloaded chapters?</item>
</plurals>
<plurals name="chapters">
<plurals name="chapters_plural">
<item quantity="one">%1$d chapter</item>
<item quantity="other">%1$d chapters</item>
</plurals>
@ -86,7 +86,7 @@
<string name="rename_category">Rename category</string>
<string name="move_to_categories">Move to categories</string>
<string name="add_to_categories">Choose which categories to add this to. If none are selected, this will be added to the "default" category</string>
<plurals name="category">
<plurals name="category_plural">
<item quantity="one">%d category</item>
<item quantity="other">%d categories</item>
</plurals>