Merge pull request #51 from christianlupus/dev/update-translations

Allow update of translations
This commit is contained in:
Jeppe Zapp 2019-09-05 13:40:16 +02:00 коммит произвёл GitHub
Родитель d622556a8e 95570230cd
Коммит 7ee5bdfd6e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
8 изменённых файлов: 355 добавлений и 121 удалений

Просмотреть файл

@ -112,3 +112,12 @@ php /tmp/translationtool.phar convert-po-files
This will update the files in the `l10n` folder.
You can copy these files to your nextcloud installation to test the effect (backup the previous content!).
If you managed to check out the git repo directly in the nextcloud tree, it works instantly.
# Updating the localization files in case of new tranlation entries
In case the app gets extended and new strings are introduced these need to be covered by the translations.
This section covers this problem.
Just navigate to the the root folder of the nextcloud app and call the `update-pot.sh` file.
This will update the template `.pot` file and all existing translation files `.po` so far to the current state of source.

Просмотреть файл

@ -7,15 +7,15 @@ msgstr ""
"Project-Id-Version: Nextcloud 3.14159\n"
"Report-Msgid-Bugs-To: translations\\@example.com\n"
"POT-Creation-Date: 2019-08-08 14:07+0200\n"
"PO-Revision-Date: 2019-08-08 14:38+0200\n"
"Last-Translator: Christian Wolf <christian.wolf@aut.uni-saarland.de>\n"
"PO-Revision-Date: 2019-09-04 19:13+0200\n"
"Last-Translator: Christian Wolf <christianlupus@web.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
"Language: de_DE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Lokalize 19.04.3\n"
"X-Generator: Lokalize 19.04.2\n"
#: /srv/http/nc/apps/cookbook/js/script.js:91
msgid "Path to your recipe collection"
@ -64,8 +64,8 @@ msgstr "Kochbuch"
#: /srv/http/nc/apps/cookbook/specialAppInfoFakeDummyForL10nScript.php:3
msgid "An integrated cookbook using schema.org JSON files as recipes"
msgstr ""
"Ein integriertes Kochbuch, das schema.org JSON Dateien als Speicher für"
" Rezepte nutzt"
"Ein integriertes Kochbuch, das schema.org JSON Dateien als Speicher für "
"Rezepte nutzt"
#: /srv/http/nc/apps/cookbook/specialAppInfoFakeDummyForL10nScript.php:4
msgid ""
@ -74,11 +74,11 @@ msgid ""
"of the recipe, and the provided web page will be parsed and downloaded to "
"whichever folder you specify in the app settings."
msgstr ""
"Eine Bibliothek aller Rezepte. Sie nutzt JSON Dateien, die dem schema.org"
" Standard für Rezepte folgen. "
"Um weitere Rezepte zu der Sammlung hinzuzufügen, kann die URL des Rezepts"
" eingefügt werden, so dass die Seite heruntergeladen, verarbeitet und in einem"
" benutzerspezifizierten Verzeichnis abgelegt wird."
"Eine Bibliothek aller Rezepte. Sie nutzt JSON Dateien, die dem schema.org "
"Standard für Rezepte folgen. Um weitere Rezepte zu der Sammlung "
"hinzuzufügen, kann die URL des Rezepts eingefügt werden, so dass die Seite "
"heruntergeladen, verarbeitet und in einem benutzerspezifizierten Verzeichnis "
"abgelegt wird."
#. TRANSLATORS The name of the recipe
#: /srv/http/nc/apps/cookbook/templates/content/edit.php:3
@ -118,7 +118,6 @@ msgid "Flaxseeds"
msgstr "Leinsamen"
#: /srv/http/nc/apps/cookbook/templates/content/edit.php:29
#, fuzzy
#: /srv/http/nc/apps/cookbook/templates/content/recipe.php:21
msgid "Greens"
msgstr "Blattgemüse"
@ -212,3 +211,36 @@ msgstr "Rezept-Ordner"
#: /srv/http/nc/apps/cookbook/templates/settings/index.php:13
msgid "Please pick a folder"
msgstr "Bitte einen Ordner auswählen"
#. TRANSLATORS The description of the recipe
#: /tmp/nextcloud-cookbook/templates/content/edit.php:14
msgid "Description"
msgstr "Beschreibung"
#: /tmp/nextcloud-cookbook/templates/content/edit.php:19
msgid "Source URL"
msgstr "Quell-URL"
#: /tmp/nextcloud-cookbook/templates/content/edit.php:29
msgid "Prep Time"
msgstr "Vorbereitungsdauer"
#: /tmp/nextcloud-cookbook/templates/content/edit.php:34
msgid "Cook Time"
msgstr "Kochdauer"
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:10
msgid "Print recipe"
msgstr "Rezept drucken"
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:18
msgid "Source"
msgstr "Ursprung"
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:28
msgid "Preparation time"
msgstr "Vorbereitungsdauer"
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:36
msgid "Cooking time"
msgstr "Kochdauer"

Просмотреть файл

@ -7,15 +7,15 @@ msgstr ""
"Project-Id-Version: Nextcloud 3.14159\n"
"Report-Msgid-Bugs-To: translations\\@example.com\n"
"POT-Creation-Date: 2019-08-08 14:07+0200\n"
"PO-Revision-Date: 2019-08-08 14:38+0200\n"
"Last-Translator: Christian Wolf <christian.wolf@aut.uni-saarland.de>\n"
"PO-Revision-Date: 2019-09-04 19:15+0200\n"
"Last-Translator: Christian Wolf <christianlupus@web.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Lokalize 19.04.3\n"
"X-Generator: Lokalize 19.04.2\n"
#: /srv/http/nc/apps/cookbook/js/script.js:91
msgid "Path to your recipe collection"
@ -64,8 +64,8 @@ msgstr "Kochbuch"
#: /srv/http/nc/apps/cookbook/specialAppInfoFakeDummyForL10nScript.php:3
msgid "An integrated cookbook using schema.org JSON files as recipes"
msgstr ""
"Ein integriertes Kochbuch, das schema.org JSON Dateien als Speicher für"
" Rezepte nutzt"
"Ein integriertes Kochbuch, das schema.org JSON Dateien als Speicher für "
"Rezepte nutzt"
#: /srv/http/nc/apps/cookbook/specialAppInfoFakeDummyForL10nScript.php:4
msgid ""
@ -74,11 +74,11 @@ msgid ""
"of the recipe, and the provided web page will be parsed and downloaded to "
"whichever folder you specify in the app settings."
msgstr ""
"Eine Bibliothek aller Rezepte. Sie nutzt JSON Dateien, die dem schema.org"
" Standard für Rezepte folgen. "
"Um weitere Rezepte zu der Sammlung hinzuzufügen, kann die URL des Rezepts"
" eingefügt werden, so dass die Seite heruntergeladen, verarbeitet und in einem"
" benutzerspezifizierten Verzeichnis abgelegt wird."
"Eine Bibliothek aller Rezepte. Sie nutzt JSON Dateien, die dem schema.org "
"Standard für Rezepte folgen. Um weitere Rezepte zu der Sammlung "
"hinzuzufügen, kann die URL des Rezepts eingefügt werden, so dass die Seite "
"heruntergeladen, verarbeitet und in einem benutzerspezifizierten Verzeichnis "
"abgelegt wird."
#. TRANSLATORS The name of the recipe
#: /srv/http/nc/apps/cookbook/templates/content/edit.php:3
@ -118,7 +118,6 @@ msgid "Flaxseeds"
msgstr "Leinsamen"
#: /srv/http/nc/apps/cookbook/templates/content/edit.php:29
#, fuzzy
#: /srv/http/nc/apps/cookbook/templates/content/recipe.php:21
msgid "Greens"
msgstr "Blattgemüse"
@ -149,7 +148,6 @@ msgid "Whole grains"
msgstr "Vollkorn"
#: /srv/http/nc/apps/cookbook/templates/content/edit.php:40
#, fuzzy
msgid "Daily dozen"
msgstr ""
@ -212,3 +210,36 @@ msgstr "Rezept-Ordner"
#: /srv/http/nc/apps/cookbook/templates/settings/index.php:13
msgid "Please pick a folder"
msgstr "Bitte einen Ordner auswählen"
#. TRANSLATORS The description of the recipe
#: /tmp/nextcloud-cookbook/templates/content/edit.php:14
msgid "Description"
msgstr "Beschreibung"
#: /tmp/nextcloud-cookbook/templates/content/edit.php:19
msgid "Source URL"
msgstr "Quell-URL"
#: /tmp/nextcloud-cookbook/templates/content/edit.php:29
msgid "Prep Time"
msgstr "Vorbereitungsdauer"
#: /tmp/nextcloud-cookbook/templates/content/edit.php:34
msgid "Cook Time"
msgstr "Kochdauer"
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:10
msgid "Print recipe"
msgstr "Rezept drucken"
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:18
msgid "Source"
msgstr "Quelle"
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:28
msgid "Preparation time"
msgstr "Vorbereitungsdauer"
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:36
msgid "Cooking time"
msgstr "Kochdauer"

Просмотреть файл

@ -63,7 +63,8 @@ msgstr "Recetario"
#: /srv/http/nc/apps/cookbook/specialAppInfoFakeDummyForL10nScript.php:3
msgid "An integrated cookbook using schema.org JSON files as recipes"
msgstr "Recetario que utiliza archivos JSON para recetas según el estándar schema.org"
msgstr ""
"Recetario que utiliza archivos JSON para recetas según el estándar schema.org"
#: /srv/http/nc/apps/cookbook/specialAppInfoFakeDummyForL10nScript.php:4
msgid ""
@ -73,9 +74,10 @@ msgid ""
"whichever folder you specify in the app settings."
msgstr ""
"Una biblioteca para todas tus recetas. Utiliza archivos en formato JSON, "
"según el estándar schema.org. Para añadir una receta a la colección puedes copiar "
" y pegar el URL de la receta, de manera que la página web es analizada y descargada "
"en la carpeta especificada en la configuración de la aplicación."
"según el estándar schema.org. Para añadir una receta a la colección puedes "
"copiar y pegar el URL de la receta, de manera que la página web es "
"analizada y descargada en la carpeta especificada en la configuración de la "
"aplicación."
#. TRANSLATORS The name of the recipe
#: /srv/http/nc/apps/cookbook/templates/content/edit.php:3
@ -115,8 +117,8 @@ msgid "Flaxseeds"
msgstr "Semillas de lino"
#: /srv/http/nc/apps/cookbook/templates/content/edit.php:29
#, fuzzy
#: /srv/http/nc/apps/cookbook/templates/content/recipe.php:21
#, fuzzy
msgid "Greens"
msgstr "Hortalizas"
@ -210,3 +212,35 @@ msgstr "Carpeta de recetas"
msgid "Please pick a folder"
msgstr "Seleccionar una carpeta"
#. TRANSLATORS The description of the recipe
#: /tmp/nextcloud-cookbook/templates/content/edit.php:14
msgid "Description"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/edit.php:19
msgid "Source URL"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/edit.php:29
msgid "Prep Time"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/edit.php:34
msgid "Cook Time"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:10
msgid "Print recipe"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:18
msgid "Source"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:28
msgid "Preparation time"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:36
msgid "Cooking time"
msgstr ""

Просмотреть файл

@ -64,7 +64,9 @@ msgstr "Livre de recettes"
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/specialAppInfoFakeDummyForL10nScript.php:3
msgid "An integrated cookbook using schema.org JSON files as recipes"
msgstr "Un livre de recettes intégré utilisant les fichiers JSON de schema.org comme recettes"
msgstr ""
"Un livre de recettes intégré utilisant les fichiers JSON de schema.org comme "
"recettes"
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/specialAppInfoFakeDummyForL10nScript.php:4
msgid ""
@ -72,10 +74,12 @@ msgid ""
"recipe format. To add a recipe to the collection, you can paste in the URL "
"of the recipe, and the provided web page will be parsed and downloaded to "
"whichever folder you specify in the app settings."
msgstr "Une bibliothèque pour toutes vos recettes. Il utilise des fichiers JSON suivant les modèles de recettes "
"de shema.org. Pour ajouter une recette à la collection, vous pouvez coller l'URL"
"de la recette, et la page Web fournie sera analysée et téléchargée dans"
"n'importe quel dossier que vous spécifiez dans les paramètres de l'application."
msgstr ""
"Une bibliothèque pour toutes vos recettes. Il utilise des fichiers JSON "
"suivant les modèles de recettes de shema.org. Pour ajouter une recette à la "
"collection, vous pouvez coller l'URLde la recette, et la page Web fournie "
"sera analysée et téléchargée dansn'importe quel dossier que vous spécifiez "
"dans les paramètres de l'application."
#. TRANSLATORS The name of the recipe
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/edit.php:3
@ -207,3 +211,36 @@ msgstr "Dossier des recettes"
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/settings/index.php:13
msgid "Please pick a folder"
msgstr "Veuillez choisir un dossier"
#. TRANSLATORS The description of the recipe
#: /tmp/nextcloud-cookbook/templates/content/edit.php:14
msgid "Description"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/edit.php:19
msgid "Source URL"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/edit.php:29
msgid "Prep Time"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/edit.php:34
msgid "Cook Time"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:10
msgid "Print recipe"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:18
msgid "Source"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:28
msgid "Preparation time"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:36
msgid "Cooking time"
msgstr ""

Просмотреть файл

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n"
"%100<12 || n%100>14) ? 1 : 2);\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 "
"|| n%100>14) ? 1 : 2);\n"
"X-Generator: Poedit 2.2.3\n"
"Last-Translator: \n"
"Language: pl_PL\n"
@ -76,10 +76,10 @@ msgid ""
"of the recipe, and the provided web page will be parsed and downloaded to "
"whichever folder you specify in the app settings."
msgstr ""
"Biblioteka dla wszystkich twoich przepisów. Wykorzystuje pliki JSON zgodne "
"z formatem schema.org. Aby dodać przepis do kolekcji, możesz wkleić adres "
"URL przepisu, a podana strona internetowa zostanie przeanalizowana i "
"pobrana do dowolnego folderu określonego w ustawieniach aplikacji."
"Biblioteka dla wszystkich twoich przepisów. Wykorzystuje pliki JSON zgodne z "
"formatem schema.org. Aby dodać przepis do kolekcji, możesz wkleić adres URL "
"przepisu, a podana strona internetowa zostanie przeanalizowana i pobrana do "
"dowolnego folderu określonego w ustawieniach aplikacji."
#. TRANSLATORS The name of the recipe
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/edit.php:3
@ -212,3 +212,36 @@ msgstr "Folder przepisu"
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/settings/index.php:13
msgid "Please pick a folder"
msgstr "Proszę wybierać folder"
#. TRANSLATORS The description of the recipe
#: /tmp/nextcloud-cookbook/templates/content/edit.php:14
msgid "Description"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/edit.php:19
msgid "Source URL"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/edit.php:29
msgid "Prep Time"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/edit.php:34
msgid "Cook Time"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:10
msgid "Print recipe"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:18
msgid "Source"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:28
msgid "Preparation time"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:36
msgid "Cooking time"
msgstr ""

Просмотреть файл

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Nextcloud 3.14159\n"
"Report-Msgid-Bugs-To: translations\\@example.com\n"
"POT-Creation-Date: 2019-08-09 08:24+0200\n"
"POT-Creation-Date: 2019-09-04 19:05+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -16,57 +16,56 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/js/script.js:93
#: /tmp/nextcloud-cookbook/js/script.js:93
msgid "Path to your recipe collection"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/js/script.js:108
#: /tmp/nextcloud-cookbook/js/script.js:108
msgid "Could not set recipe folder to {path}"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/js/script.js:133
#: /tmp/nextcloud-cookbook/js/script.js:133
msgid "Please pick a recipe"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/js/script.js:154
#: /tmp/nextcloud-cookbook/js/script.js:160
msgid "Could not load recipe"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/js/script.js:234
msgid "Could not update recipe"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/js/script.js:280
msgid "Could not add recipe"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/js/script.js:302
msgid "Could not rebuild recipe index."
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/js/script.js:317
#: /tmp/nextcloud-cookbook/js/script.js:173
msgid "Are you sure you want to delete this recipe?"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/js/script.js:333
#: /tmp/nextcloud-cookbook/js/script.js:190
msgid "Failed to delete recipe"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/js/script.js:364
#: /tmp/nextcloud-cookbook/js/script.js:277
msgid "Could not update recipe"
msgstr ""
#: /tmp/nextcloud-cookbook/js/script.js:323
msgid "Could not add recipe"
msgstr ""
#: /tmp/nextcloud-cookbook/js/script.js:345
msgid "Could not rebuild recipe index."
msgstr ""
#: /tmp/nextcloud-cookbook/js/script.js:392
msgid "Failed to fetch recipes"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/specialAppInfoFakeDummyForL10nScript.php:2
#: /tmp/nextcloud-cookbook/specialAppInfoFakeDummyForL10nScript.php:2
msgid "Cookbook"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/specialAppInfoFakeDummyForL10nScript.php:3
#: /tmp/nextcloud-cookbook/specialAppInfoFakeDummyForL10nScript.php:3
msgid "An integrated cookbook using schema.org JSON files as recipes"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/specialAppInfoFakeDummyForL10nScript.php:4
#: /tmp/nextcloud-cookbook/specialAppInfoFakeDummyForL10nScript.php:4
msgid ""
"A library for all your recipes. It uses JSON files following the schema.org "
"recipe format. To add a recipe to the collection, you can paste in the URL "
@ -75,132 +74,160 @@ msgid ""
msgstr ""
#. TRANSLATORS The name of the recipe
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/edit.php:3
#: /tmp/nextcloud-cookbook/templates/content/edit.php:9
msgid "Name"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/edit.php:8
#. TRANSLATORS The description of the recipe
#: /tmp/nextcloud-cookbook/templates/content/edit.php:14
msgid "Description"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/edit.php:19
msgid "Source URL"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/edit.php:24
msgid "Image URL"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/edit.php:13
#: /tmp/nextcloud-cookbook/templates/content/edit.php:29
msgid "Prep Time"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/edit.php:34
msgid "Cook Time"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/edit.php:39
msgid "Keywords (comma-separated)"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/edit.php:18
#: /tmp/nextcloud-cookbook/templates/content/edit.php:44
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:39
msgid "Servings"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/edit.php:25
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/recipe.php:17
#: /tmp/nextcloud-cookbook/templates/content/edit.php:51
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:46
msgid "Beans and legumes"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/edit.php:26
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/recipe.php:18
#: /tmp/nextcloud-cookbook/templates/content/edit.php:52
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:47
msgid "Berries"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/edit.php:27
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/recipe.php:19
#: /tmp/nextcloud-cookbook/templates/content/edit.php:53
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:48
msgid "Cruciferous vegetables"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/edit.php:28
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/recipe.php:20
#: /tmp/nextcloud-cookbook/templates/content/edit.php:54
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:49
msgid "Flaxseeds"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/edit.php:29
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/recipe.php:21
#: /tmp/nextcloud-cookbook/templates/content/edit.php:55
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:50
msgid "Greens"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/edit.php:30
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/recipe.php:22
#: /tmp/nextcloud-cookbook/templates/content/edit.php:56
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:51
msgid "Nuts and seeds"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/edit.php:31
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/recipe.php:23
#: /tmp/nextcloud-cookbook/templates/content/edit.php:57
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:52
msgid "Other fruits"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/edit.php:32
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/recipe.php:24
#: /tmp/nextcloud-cookbook/templates/content/edit.php:58
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:53
msgid "Other vegetables"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/edit.php:33
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/recipe.php:25
#: /tmp/nextcloud-cookbook/templates/content/edit.php:59
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:54
msgid "Herbs and spices"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/edit.php:34
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/recipe.php:26
#: /tmp/nextcloud-cookbook/templates/content/edit.php:60
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:55
msgid "Whole grains"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/edit.php:40
#: /tmp/nextcloud-cookbook/templates/content/edit.php:66
msgid "Daily dozen"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/edit.php:57
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/recipe.php:41
#: /tmp/nextcloud-cookbook/templates/content/edit.php:83
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:70
msgid "Ingredients"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/edit.php:77
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/recipe.php:51
#: /tmp/nextcloud-cookbook/templates/content/edit.php:103
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:80
msgid "Instructions"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/edit.php:96
#: /tmp/nextcloud-cookbook/templates/content/edit.php:122
msgid "Save"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/content/recipe.php:11
msgid "One serving"
msgid_plural "%n servings"
msgstr[0] ""
msgstr[1] ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/navigation/index.php:2
msgid "Create recipe"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/navigation/index.php:6
msgid "Recipe URL"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/navigation/index.php:7
msgid "Download recipe"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/navigation/index.php:14
msgid "Search"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/navigation/recipes.php:10
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:9
msgid "Edit recipe"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/navigation/recipes.php:13
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:10
msgid "Print recipe"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:11
msgid "Delete recipe"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/settings/index.php:3
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:18
msgid "Source"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:28
msgid "Preparation time"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/content/recipe.php:36
msgid "Cooking time"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/navigation/index.php:2
msgid "Create recipe"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/navigation/index.php:6
msgid "Recipe URL"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/navigation/index.php:7
msgid "Download recipe"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/navigation/index.php:14
msgid "Search"
msgstr ""
#: /tmp/nextcloud-cookbook/templates/settings/index.php:3
msgid "Settings"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/settings/index.php:9
#: /tmp/nextcloud-cookbook/templates/settings/index.php:9
msgid "Rescan library"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/settings/index.php:12
#: /tmp/nextcloud-cookbook/templates/settings/index.php:12
msgid "Recipe folder"
msgstr ""
#: /home/jeppezapp/Development/Web/nextcloud-cookbook/templates/settings/index.php:13
#: /tmp/nextcloud-cookbook/templates/settings/index.php:13
msgid "Please pick a folder"
msgstr ""

31
update-pot.sh Executable file
Просмотреть файл

@ -0,0 +1,31 @@
#!/bin/bash
echo ""
echo "Fetching translation helpers..."
echo ""
test -f translationtool.phar || wget https://github.com/nextcloud/docker-ci/blob/master/translations/translationtool/translationtool.phar?raw=true -O translationtool.phar
echo ""
echo "Generating/updating POT file..."
echo ""
php translationtool.phar create-pot-files
echo ""
echo "Updating any existing translation files..."
echo ""
temp=`mktemp`
find translationfiles -maxdepth 1 -mindepth 1 -type d ! -name templates | while read f
do
echo "Updating $f"
cat "$f/cookbook.po" > $temp
msgcat --use-first -o "$f/cookbook.po" "$temp" translationfiles/templates/cookbook.pot
done
rm "$temp"
rm translationtool.phar