diff --git a/l10n/la.js b/l10n/la.js new file mode 100644 index 0000000..c677470 --- /dev/null +++ b/l10n/la.js @@ -0,0 +1,37 @@ +OC.L10N.register( + "calibre_opds", + { + "Nextcloud OPDS Library" : "Bibliotheca Nextcloud OPDS", + "Authors" : "Auctores", + "All authors" : "Omnes auctores", + "Publishers" : "Officinae typographicae", + "All publishers" : "Omnes officinae typographicae", + "Languages" : "Linguae", + "All languages" : "Omnes linguae", + "Series" : "Series", + "All series" : "Omnes series", + "Tags" : "Themata", + "All tags" : "Omnes themata", + "Books" : "Libri", + "All books" : "Omnes libri", + "Authors with name starting on %1$s" : "Auctores quorum nomina cum '%1$s' incipiunt", + "Authors by prefix" : "Auctores initiis nominum divisi", + "All books matching: /%1$s/" : "Omnes libri qui exemplum /%1$s/ comparant", + "All books by author: %1$s" : "Omnes libri qui ab auctore '%1$s' scripti sunt", + "All books by publisher: %1$s" : "Omnes libri qui ab officina typographica '%1$s' emittunt", + "All books in language: %1$s" : "Omnes libri qui lingua '%1$s' scripti sunt", + "All books in series: %1$s" : "Omnes libri qui in serie '%1$s' sunt", + "All books with tag: %1$s" : "Omnes libri qui thema '%1$s' habent", + "Search" : "Quaestio", + "Search books" : "Quaestio in libros", + "Search books with matching titles, descriptions, authors, series, or tags." : "Quaere libros qui titulum, descriptionem, auctores, series, vel themata comparant", + "Authors: %1$d" : "Auctores: %1$d", + "Books: %1$d" : "Libri: %1$d", + "Calibre2OPDS" : "Calibre2OPDS", + "Simple OPDS server that uses Calibre database as a backend." : "Simplex serviens OPDS qui Calibre data collecta ad originem utitur", + "Calibre OPDS library" : "Bibliotheca Calibre OPDS", + "Publish your Calibre library in OPDS" : "Publica bibliothecam Calibre tuam ad OPDS", + "Library root folder:" : "Categoria radicalis bibliothecae:", + "Saved" : "Data servata sunt" +}, +""); diff --git a/l10n/la.json b/l10n/la.json new file mode 100644 index 0000000..531c0db --- /dev/null +++ b/l10n/la.json @@ -0,0 +1,35 @@ +{ "translations": { + "Nextcloud OPDS Library" : "Bibliotheca Nextcloud OPDS", + "Authors" : "Auctores", + "All authors" : "Omnes auctores", + "Publishers" : "Officinae typographicae", + "All publishers" : "Omnes officinae typographicae", + "Languages" : "Linguae", + "All languages" : "Omnes linguae", + "Series" : "Series", + "All series" : "Omnes series", + "Tags" : "Themata", + "All tags" : "Omnes themata", + "Books" : "Libri", + "All books" : "Omnes libri", + "Authors with name starting on %1$s" : "Auctores quorum nomina cum '%1$s' incipiunt", + "Authors by prefix" : "Auctores initiis nominum divisi", + "All books matching: /%1$s/" : "Omnes libri qui exemplum /%1$s/ comparant", + "All books by author: %1$s" : "Omnes libri qui ab auctore '%1$s' scripti sunt", + "All books by publisher: %1$s" : "Omnes libri qui ab officina typographica '%1$s' emittunt", + "All books in language: %1$s" : "Omnes libri qui lingua '%1$s' scripti sunt", + "All books in series: %1$s" : "Omnes libri qui in serie '%1$s' sunt", + "All books with tag: %1$s" : "Omnes libri qui thema '%1$s' habent", + "Search" : "Quaestio", + "Search books" : "Quaestio in libros", + "Search books with matching titles, descriptions, authors, series, or tags." : "Quaere libros qui titulum, descriptionem, auctores, series, vel themata comparant", + "Authors: %1$d" : "Auctores: %1$d", + "Books: %1$d" : "Libri: %1$d", + "Calibre2OPDS" : "Calibre2OPDS", + "Simple OPDS server that uses Calibre database as a backend." : "Simplex serviens OPDS qui Calibre data collecta ad originem utitur", + "Calibre OPDS library" : "Bibliotheca Calibre OPDS", + "Publish your Calibre library in OPDS" : "Publica bibliothecam Calibre tuam ad OPDS", + "Library root folder:" : "Categoria radicalis bibliothecae:", + "Saved" : "Data servata sunt" +},"pluralForm" :"" +} \ No newline at end of file diff --git a/l10n/ru.js b/l10n/ru.js index ef7c61f..97b43ea 100644 --- a/l10n/ru.js +++ b/l10n/ru.js @@ -14,7 +14,7 @@ OC.L10N.register( "All tags" : "Все теги", "Books" : "Книги", "All books" : "Все книги", - "Authors by prefix %1$s" : "Авторы, начинающиеся на %1$s", + "Authors with name starting on %1$s" : "Авторы с именами, начинающимися на %1$s", "Authors by prefix" : "Авторы по началу имени", "All books matching: /%1$s/" : "Все книги по поиску: /%1$s/", "All books by author: %1$s" : "Все книги автора: %1$s", @@ -24,9 +24,9 @@ OC.L10N.register( "All books with tag: %1$s" : "Все книги с тегом: %1$s", "Search" : "Поиск", "Search books" : "Поиск книг", - "Search books with matching titles, authors, series, or tags." : "Поиск книг по заглавиям, авторам, сериям, и тегам.", - "Authors: %1$s" : "Авторов: %1$s", - "Books: %1$s" : "Книг: %1$s", + "Search books with matching titles, descriptions, authors, series, or tags." : "Поиск книг по заглавиям, описаниям, авторам, сериям, и тегам.", + "Authors: %1$d" : "Авторов: %1$d", + "Books: %1$d" : "Книг: %1$d", "Calibre2OPDS" : "Calibre2OPDS", "Simple OPDS server that uses Calibre database as a backend." : "Простой OPDS-сервер, использующий библиотеку Calibre в качестве источника.", "Calibre OPDS library" : "Библиотека Calibre OPDS", diff --git a/l10n/ru.json b/l10n/ru.json index 121659e..6d9e721 100644 --- a/l10n/ru.json +++ b/l10n/ru.json @@ -12,7 +12,7 @@ "All tags" : "Все теги", "Books" : "Книги", "All books" : "Все книги", - "Authors by prefix %1$s" : "Авторы, начинающиеся на %1$s", + "Authors with name starting on %1$s" : "Авторы с именами, начинающимися на %1$s", "Authors by prefix" : "Авторы по началу имени", "All books matching: /%1$s/" : "Все книги по поиску: /%1$s/", "All books by author: %1$s" : "Все книги автора: %1$s", @@ -22,9 +22,9 @@ "All books with tag: %1$s" : "Все книги с тегом: %1$s", "Search" : "Поиск", "Search books" : "Поиск книг", - "Search books with matching titles, authors, series, or tags." : "Поиск книг по заглавиям, авторам, сериям, и тегам.", - "Authors: %1$s" : "Авторов: %1$s", - "Books: %1$s" : "Книг: %1$s", + "Search books with matching titles, descriptions, authors, series, or tags." : "Поиск книг по заглавиям, описаниям, авторам, сериям, и тегам.", + "Authors: %1$d" : "Авторов: %1$d", + "Books: %1$d" : "Книг: %1$d", "Calibre2OPDS" : "Calibre2OPDS", "Simple OPDS server that uses Calibre database as a backend." : "Простой OPDS-сервер, использующий библиотеку Calibre в качестве источника.", "Calibre OPDS library" : "Библиотека Calibre OPDS", diff --git a/l10n/uk.js b/l10n/uk.js new file mode 100644 index 0000000..3dff438 --- /dev/null +++ b/l10n/uk.js @@ -0,0 +1,37 @@ +OC.L10N.register( + "calibre_opds", + { + "Nextcloud OPDS Library" : "Бібліотека Nextcloud OPDS", + "Authors" : "Автори", + "All authors" : "Всі автори", + "Publishers" : "Видавництва", + "All publishers" : "Всі видавництва", + "Languages" : "Мови", + "All languages" : "Всі мови", + "Series" : "Серії", + "All series" : "Всі серії", + "Tags" : "Теги", + "All tags" : "Всі теги", + "Books" : "Книги", + "All books" : "Всі книги", + "Authors with name starting on %1$s" : "Автори, імена яких починаються на %1$s", + "Authors by prefix" : "Автори, згруповані за початком імені", + "All books matching: /%1$s/" : "Всі книги, які відповідають /%1$s/", + "All books by author: %1$s" : "Всі книги автора: %1$s", + "All books by publisher: %1$s" : "Всі книги видавництва: %1$s", + "All books in language: %1$s" : "Всі книги мовою: %1$s", + "All books in series: %1$s" : "Всі книги серії: %1$s", + "All books with tag: %1$s" : "Всі книги з тегом: %1$s", + "Search" : "Пошук", + "Search books" : "Пошук книг", + "Search books with matching titles, descriptions, authors, series, or tags." : "Шукайте книги з відповідними назвами, описами, авторами, серіями або тегами.", + "Authors: %1$d" : "Авторів: %1$d", + "Books: %1$d" : "Книг: %1$d", + "Calibre2OPDS" : "Calibre2OPDS", + "Simple OPDS server that uses Calibre database as a backend." : "Простий сервер OPDS, який використовує базу даних Calibre як джерело даних.", + "Calibre OPDS library" : "Бібліотека Calibre OPDS", + "Publish your Calibre library in OPDS" : "Опублікуйте свою бібліотеку Calibre в OPDS", + "Library root folder:" : "Коренева папка бібліотеки:", + "Saved" : "Збережено" +}, +"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);"); diff --git a/l10n/uk.json b/l10n/uk.json new file mode 100644 index 0000000..130ad61 --- /dev/null +++ b/l10n/uk.json @@ -0,0 +1,35 @@ +{ "translations": { + "Nextcloud OPDS Library" : "Бібліотека Nextcloud OPDS", + "Authors" : "Автори", + "All authors" : "Всі автори", + "Publishers" : "Видавництва", + "All publishers" : "Всі видавництва", + "Languages" : "Мови", + "All languages" : "Всі мови", + "Series" : "Серії", + "All series" : "Всі серії", + "Tags" : "Теги", + "All tags" : "Всі теги", + "Books" : "Книги", + "All books" : "Всі книги", + "Authors with name starting on %1$s" : "Автори, імена яких починаються на %1$s", + "Authors by prefix" : "Автори, згруповані за початком імені", + "All books matching: /%1$s/" : "Всі книги, які відповідають /%1$s/", + "All books by author: %1$s" : "Всі книги автора: %1$s", + "All books by publisher: %1$s" : "Всі книги видавництва: %1$s", + "All books in language: %1$s" : "Всі книги мовою: %1$s", + "All books in series: %1$s" : "Всі книги серії: %1$s", + "All books with tag: %1$s" : "Всі книги з тегом: %1$s", + "Search" : "Пошук", + "Search books" : "Пошук книг", + "Search books with matching titles, descriptions, authors, series, or tags." : "Шукайте книги з відповідними назвами, описами, авторами, серіями або тегами.", + "Authors: %1$d" : "Авторів: %1$d", + "Books: %1$d" : "Книг: %1$d", + "Calibre2OPDS" : "Calibre2OPDS", + "Simple OPDS server that uses Calibre database as a backend." : "Простий сервер OPDS, який використовує базу даних Calibre як джерело даних.", + "Calibre OPDS library" : "Бібліотека Calibre OPDS", + "Publish your Calibre library in OPDS" : "Опублікуйте свою бібліотеку Calibre в OPDS", + "Library root folder:" : "Коренева папка бібліотеки:", + "Saved" : "Збережено" +},"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);" +} \ No newline at end of file diff --git a/lib/Controller/OpdsController.php b/lib/Controller/OpdsController.php index bbe9c9d..25126db 100644 --- a/lib/Controller/OpdsController.php +++ b/lib/Controller/OpdsController.php @@ -87,7 +87,7 @@ public function authors(string $prefix = ''): Response { if ($prefix === '') { $title = $this->l->t('Authors'); } else { - $title = $this->l->t('Authors by prefix %1$s', [$prefix]); + $title = $this->l->t('Authors with name starting on %1$s', [$prefix]); } $builder = $this->feed->createBuilder('authors', $this->request->getParams(), $title); foreach (CalibreAuthor::getByPrefix($lib, $prefix) as $item) { @@ -298,7 +298,7 @@ public function searchXml(): Response { /// TRANSLATORS: No more than 16 characters $this->l->t('Search'), $this->l->t('Search books'), - $this->l->t('Search books with matching titles, authors, series, or tags.'), + $this->l->t('Search books with matching titles, descriptions, authors, series, or tags.'), $this->settings->getAppImageLink('icon.ico'), $this->settings->getAppRouteLink('books', [ 'criterion' => CalibreBookCriteria::SEARCH->value, diff --git a/lib/FeedBuilder/OpdsFeedBuilder.php b/lib/FeedBuilder/OpdsFeedBuilder.php index 20104f2..a32ae16 100644 --- a/lib/FeedBuilder/OpdsFeedBuilder.php +++ b/lib/FeedBuilder/OpdsFeedBuilder.php @@ -73,7 +73,7 @@ public function addNavigationEntry(CalibreItem $item): self { } $routeName = 'authors'; $routeArgs = [ 'prefix' => $item->prefix ]; - $summary = $this->l->t('Authors: %1$s', [$item->count]); + $summary = $this->l->t('Authors: %1$d', [$item->count]); } else { if ($criterion === CalibreBookCriteria::LANGUAGE) { /** @var string $item->code */ @@ -81,7 +81,7 @@ public function addNavigationEntry(CalibreItem $item): self { } $routeName = 'books'; $routeArgs = [ 'criterion' => $criterion->value, 'id' => $item->id ]; - $summary = $this->l->t('Books: %1$s', [$item->count]); + $summary = $this->l->t('Books: %1$d', [$item->count]); } /** @var string */ $uriPrefix = $item::URI; diff --git a/translationfiles/la/calibre_opds.mo b/translationfiles/la/calibre_opds.mo new file mode 100644 index 0000000..b0816eb Binary files /dev/null and b/translationfiles/la/calibre_opds.mo differ diff --git a/translationfiles/la/calibre_opds.po b/translationfiles/la/calibre_opds.po new file mode 100644 index 0000000..788f787 --- /dev/null +++ b/translationfiles/la/calibre_opds.po @@ -0,0 +1,162 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the Nextcloud package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: Nextcloud 3.14159\n" +"Report-Msgid-Bugs-To: translations\\@example.com\n" +"POT-Creation-Date: 2023-10-08 17:02+0300\n" +"PO-Revision-Date: 2023-10-08 18:35+0300\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: latin\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 3.2.2\n" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:62 +msgid "Nextcloud OPDS Library" +msgstr "Bibliotheca Nextcloud OPDS" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:63 +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:88 +msgid "Authors" +msgstr "Auctores" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:63 +msgid "All authors" +msgstr "Omnes auctores" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:64 +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:137 +msgid "Publishers" +msgstr "Officinae typographicae" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:64 +msgid "All publishers" +msgstr "Omnes officinae typographicae" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:65 +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:159 +msgid "Languages" +msgstr "Linguae" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:65 +msgid "All languages" +msgstr "Omnes linguae" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:66 +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:181 +msgid "Series" +msgstr "Series" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:66 +msgid "All series" +msgstr "Omnes series" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:67 +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:203 +msgid "Tags" +msgstr "Themata" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:67 +msgid "All tags" +msgstr "Omnes themata" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:68 +msgid "Books" +msgstr "Libri" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:68 +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:225 +msgid "All books" +msgstr "Omnes libri" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:90 +#, php-format +msgid "Authors with name starting on %1$s" +msgstr "Auctores quorum nomina cum '%1$s' incipiunt" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:115 +msgid "Authors by prefix" +msgstr "Auctores initiis nominum divisi" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:231 +#, php-format +msgid "All books matching: /%1$s/" +msgstr "Omnes libri qui exemplum /%1$s/ comparant" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:238 +#, php-format +msgid "All books by author: %1$s" +msgstr "Omnes libri qui ab auctore '%1$s' scripti sunt" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:248 +#, php-format +msgid "All books by publisher: %1$s" +msgstr "Omnes libri qui ab officina typographica '%1$s' emittunt" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:258 +#, php-format +msgid "All books in language: %1$s" +msgstr "Omnes libri qui lingua '%1$s' scripti sunt" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:265 +#, php-format +msgid "All books in series: %1$s" +msgstr "Omnes libri qui in serie '%1$s' sunt" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:272 +#, php-format +msgid "All books with tag: %1$s" +msgstr "Omnes libri qui thema '%1$s' habent" + +#. TRANSLATORS: No more than 16 characters +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:299 +msgid "Search" +msgstr "Quaestio" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:300 +msgid "Search books" +msgstr "Quaestio in libros" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:301 +msgid "Search books with matching titles, descriptions, authors, series, or tags." +msgstr "Quaere libros qui titulum, descriptionem, auctores, series, vel themata comparant" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/FeedBuilder/OpdsFeedBuilder.php:76 +#, php-format +msgid "Authors: %1$d" +msgstr "Auctores: %1$d" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/FeedBuilder/OpdsFeedBuilder.php:84 +#, php-format +msgid "Books: %1$d" +msgstr "Libri: %1$d" + +#: /home/alec/workspace/calibre2opds-nextcloud/specialAppInfoFakeDummyForL10nScript.php:2 +msgid "Calibre2OPDS" +msgstr "Calibre2OPDS" + +#: /home/alec/workspace/calibre2opds-nextcloud/specialAppInfoFakeDummyForL10nScript.php:3 +msgid "Simple OPDS server that uses Calibre database as a backend." +msgstr "Simplex serviens OPDS qui Calibre data collecta ad originem utitur" + +#: /home/alec/workspace/calibre2opds-nextcloud/templates/settings.personal.php:3 +msgid "Calibre OPDS library" +msgstr "Bibliotheca Calibre OPDS" + +#: /home/alec/workspace/calibre2opds-nextcloud/templates/settings.personal.php:5 +msgid "Publish your Calibre library in OPDS" +msgstr "Publica bibliothecam Calibre tuam ad OPDS" + +#: /home/alec/workspace/calibre2opds-nextcloud/templates/settings.personal.php:8 +msgid "Library root folder:" +msgstr "Categoria radicalis bibliothecae:" + +#: /home/alec/workspace/calibre2opds-nextcloud/templates/settings.personal.php:14 +msgid "Saved" +msgstr "Data servata sunt" diff --git a/translationfiles/ru/calibre_opds.mo b/translationfiles/ru/calibre_opds.mo index 5f10d06..5c4c0f6 100644 Binary files a/translationfiles/ru/calibre_opds.mo and b/translationfiles/ru/calibre_opds.mo differ diff --git a/translationfiles/ru/calibre_opds.po b/translationfiles/ru/calibre_opds.po index 0995777..6cdb188 100644 --- a/translationfiles/ru/calibre_opds.po +++ b/translationfiles/ru/calibre_opds.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: Nextcloud 3.14159\n" "Report-Msgid-Bugs-To: translations\\@example.com\n" -"POT-Creation-Date: 2023-10-07 19:16+0300\n" -"PO-Revision-Date: 2023-10-07 19:20+0300\n" +"POT-Creation-Date: 2023-10-08 17:02+0300\n" +"PO-Revision-Date: 2023-10-08 17:04+0300\n" "Last-Translator: \n" "Language-Team: \n" "Language: ru\n" @@ -79,8 +79,8 @@ msgstr "Все книги" #: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:90 #, php-format -msgid "Authors by prefix %1$s" -msgstr "Авторы, начинающиеся на %1$s" +msgid "Authors with name starting on %1$s" +msgstr "Авторы с именами, начинающимися на %1$s" #: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:115 msgid "Authors by prefix" @@ -126,18 +126,19 @@ msgid "Search books" msgstr "Поиск книг" #: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:301 -msgid "Search books with matching titles, authors, series, or tags." -msgstr "Поиск книг по заглавиям, авторам, сериям, и тегам." +msgid "" +"Search books with matching titles, descriptions, authors, series, or tags." +msgstr "Поиск книг по заглавиям, описаниям, авторам, сериям, и тегам." #: /home/alec/workspace/calibre2opds-nextcloud/lib/FeedBuilder/OpdsFeedBuilder.php:76 #, php-format -msgid "Authors: %1$s" -msgstr "Авторов: %1$s" +msgid "Authors: %1$d" +msgstr "Авторов: %1$d" #: /home/alec/workspace/calibre2opds-nextcloud/lib/FeedBuilder/OpdsFeedBuilder.php:84 #, php-format -msgid "Books: %1$s" -msgstr "Книг: %1$s" +msgid "Books: %1$d" +msgstr "Книг: %1$d" #: /home/alec/workspace/calibre2opds-nextcloud/specialAppInfoFakeDummyForL10nScript.php:2 msgid "Calibre2OPDS" @@ -164,6 +165,10 @@ msgstr "Корневая папка библиотеки:" msgid "Saved" msgstr "Сохранено" +#, php-format +#~ msgid "Authors by prefix %1$s" +#~ msgstr "Авторы, начинающиеся на %1$s" + #~ msgid "Book authors" #~ msgstr "Авторы книг" diff --git a/translationfiles/templates/calibre_opds.pot b/translationfiles/templates/calibre_opds.pot index 448b7fa..5b7746a 100644 --- a/translationfiles/templates/calibre_opds.pot +++ b/translationfiles/templates/calibre_opds.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Nextcloud 3.14159\n" "Report-Msgid-Bugs-To: translations\\@example.com\n" -"POT-Creation-Date: 2023-10-07 19:16+0300\n" +"POT-Creation-Date: 2023-10-08 17:02+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -77,7 +77,7 @@ msgstr "" #: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:90 #, php-format -msgid "Authors by prefix %1$s" +msgid "Authors with name starting on %1$s" msgstr "" #: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:115 @@ -124,17 +124,18 @@ msgid "Search books" msgstr "" #: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:301 -msgid "Search books with matching titles, authors, series, or tags." +msgid "" +"Search books with matching titles, descriptions, authors, series, or tags." msgstr "" #: /home/alec/workspace/calibre2opds-nextcloud/lib/FeedBuilder/OpdsFeedBuilder.php:76 #, php-format -msgid "Authors: %1$s" +msgid "Authors: %1$d" msgstr "" #: /home/alec/workspace/calibre2opds-nextcloud/lib/FeedBuilder/OpdsFeedBuilder.php:84 #, php-format -msgid "Books: %1$s" +msgid "Books: %1$d" msgstr "" #: /home/alec/workspace/calibre2opds-nextcloud/specialAppInfoFakeDummyForL10nScript.php:2 diff --git a/translationfiles/uk/calibre_opds.mo b/translationfiles/uk/calibre_opds.mo new file mode 100644 index 0000000..e24e519 Binary files /dev/null and b/translationfiles/uk/calibre_opds.mo differ diff --git a/translationfiles/uk/calibre_opds.po b/translationfiles/uk/calibre_opds.po new file mode 100644 index 0000000..3484e7e --- /dev/null +++ b/translationfiles/uk/calibre_opds.po @@ -0,0 +1,167 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the Nextcloud package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: Nextcloud 3.14159\n" +"Report-Msgid-Bugs-To: translations\\@example.com\n" +"POT-Creation-Date: 2023-10-08 17:02+0300\n" +"PO-Revision-Date: 2023-10-08 19:59+0300\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n" +"X-Generator: Poedit 3.2.2\n" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:62 +msgid "Nextcloud OPDS Library" +msgstr "Бібліотека Nextcloud OPDS" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:63 +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:88 +msgid "Authors" +msgstr "Автори" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:63 +msgid "All authors" +msgstr "Всі автори" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:64 +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:137 +msgid "Publishers" +msgstr "Видавництва" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:64 +msgid "All publishers" +msgstr "Всі видавництва" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:65 +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:159 +msgid "Languages" +msgstr "Мови" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:65 +msgid "All languages" +msgstr "Всі мови" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:66 +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:181 +msgid "Series" +msgstr "Серії" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:66 +msgid "All series" +msgstr "Всі серії" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:67 +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:203 +msgid "Tags" +msgstr "Теги" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:67 +msgid "All tags" +msgstr "Всі теги" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:68 +msgid "Books" +msgstr "Книги" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:68 +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:225 +msgid "All books" +msgstr "Всі книги" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:90 +#, php-format +msgid "Authors with name starting on %1$s" +msgstr "Автори, імена яких починаються на %1$s" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:115 +msgid "Authors by prefix" +msgstr "Автори, згруповані за початком імені" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:231 +#, php-format +msgid "All books matching: /%1$s/" +msgstr "Всі книги, які відповідають /%1$s/" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:238 +#, php-format +msgid "All books by author: %1$s" +msgstr "Всі книги автора: %1$s" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:248 +#, php-format +msgid "All books by publisher: %1$s" +msgstr "Всі книги видавництва: %1$s" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:258 +#, php-format +msgid "All books in language: %1$s" +msgstr "Всі книги мовою: %1$s" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:265 +#, php-format +msgid "All books in series: %1$s" +msgstr "Всі книги серії: %1$s" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:272 +#, php-format +msgid "All books with tag: %1$s" +msgstr "Всі книги з тегом: %1$s" + +#. TRANSLATORS: No more than 16 characters +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:299 +msgid "Search" +msgstr "Пошук" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:300 +msgid "Search books" +msgstr "Пошук книг" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/Controller/OpdsController.php:301 +msgid "" +"Search books with matching titles, descriptions, authors, series, or tags." +msgstr "" +"Шукайте книги з відповідними назвами, описами, авторами, серіями або тегами." + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/FeedBuilder/OpdsFeedBuilder.php:76 +#, php-format +msgid "Authors: %1$d" +msgstr "Авторів: %1$d" + +#: /home/alec/workspace/calibre2opds-nextcloud/lib/FeedBuilder/OpdsFeedBuilder.php:84 +#, php-format +msgid "Books: %1$d" +msgstr "Книг: %1$d" + +#: /home/alec/workspace/calibre2opds-nextcloud/specialAppInfoFakeDummyForL10nScript.php:2 +msgid "Calibre2OPDS" +msgstr "Calibre2OPDS" + +#: /home/alec/workspace/calibre2opds-nextcloud/specialAppInfoFakeDummyForL10nScript.php:3 +msgid "Simple OPDS server that uses Calibre database as a backend." +msgstr "" +"Простий сервер OPDS, який використовує базу даних Calibre як джерело даних." + +#: /home/alec/workspace/calibre2opds-nextcloud/templates/settings.personal.php:3 +msgid "Calibre OPDS library" +msgstr "Бібліотека Calibre OPDS" + +#: /home/alec/workspace/calibre2opds-nextcloud/templates/settings.personal.php:5 +msgid "Publish your Calibre library in OPDS" +msgstr "Опублікуйте свою бібліотеку Calibre в OPDS" + +#: /home/alec/workspace/calibre2opds-nextcloud/templates/settings.personal.php:8 +msgid "Library root folder:" +msgstr "Коренева папка бібліотеки:" + +#: /home/alec/workspace/calibre2opds-nextcloud/templates/settings.personal.php:14 +msgid "Saved" +msgstr "Збережено"