Skip to content

Commit

Permalink
New translations.
Browse files Browse the repository at this point in the history
  • Loading branch information
oldnomad committed Oct 8, 2023
1 parent 0208555 commit 36cea83
Show file tree
Hide file tree
Showing 15 changed files with 506 additions and 27 deletions.
37 changes: 37 additions & 0 deletions l10n/la.js
Original file line number Diff line number Diff line change
@@ -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"
},
"");
35 changes: 35 additions & 0 deletions l10n/la.json
Original file line number Diff line number Diff line change
@@ -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" :""
}
8 changes: 4 additions & 4 deletions l10n/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
8 changes: 4 additions & 4 deletions l10n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
37 changes: 37 additions & 0 deletions l10n/uk.js
Original file line number Diff line number Diff line change
@@ -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);");
35 changes: 35 additions & 0 deletions l10n/uk.json
Original file line number Diff line number Diff line change
@@ -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);"
}
4 changes: 2 additions & 2 deletions lib/Controller/OpdsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions lib/FeedBuilder/OpdsFeedBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ 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 */
$item->setName($this->settings->getLanguageName($item->code));
}
$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;
Expand Down
Binary file added translationfiles/la/calibre_opds.mo
Binary file not shown.
162 changes: 162 additions & 0 deletions translationfiles/la/calibre_opds.po
Original file line number Diff line number Diff line change
@@ -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 <EMAIL@ADDRESS>, 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"
Binary file modified translationfiles/ru/calibre_opds.mo
Binary file not shown.
Loading

0 comments on commit 36cea83

Please sign in to comment.