From 73eed1f9b82890cc1cb1bb9210c5bf13703864a4 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Dec 06 2018 12:48:26 +0000 Subject: [i18n] Update arabic, german and italian translations + add job to automatically push CHANGELOG on tags --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0d55bbd..983f0e3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,6 @@ image: hatsoftwares/lufi-test-ci:latest stages: + - publish_changelog - podcheck - carton - carton_bdd @@ -27,6 +28,8 @@ variables: expire_in: 1 week dependencies: - carton + except: + - tags .sqlite_template: &sqlite_definition stage: tests retry: 2 @@ -36,6 +39,8 @@ variables: - name: rroemhild/test-openldap alias: rroemhild-test-openldap coverage: '/Total.* (\d+\.\d+)$/' + except: + - tags .pg_template: &pg_definition stage: tests retry: 2 @@ -47,6 +52,8 @@ variables: - name: rroemhild/test-openldap alias: rroemhild-test-openldap coverage: '/Total .*(\d+\.\d+)$/' + except: + - tags .mysql_template: &mysql_definition stage: tests retry: 2 @@ -58,6 +65,22 @@ variables: - name: rroemhild/test-openldap alias: rroemhild-test-openldap coverage: '/Total .*(\d+\.\d+)$/' + except: + - tags + +### Publish tag changelog +## +# +publish_changelog: + stage: publish_changelog + script: + - export PROJECT_API_URL="https://framagit.org/api/v4/projects/${CI_PROJECT_ID}" + - export DESCRIPTION_URL="${PROJECT_API_URL}/repository/tags/${CI_COMMIT_TAG}/release" + - 'export HEADER="Private-Token: ${GITLAB_API_TOKEN}"' + - sed -n '/^'$CI_COMMIT_TAG'[[:space:]]/,/^[^\t]/p' CHANGELOG | sed -e 's/^[^\t].*//' -e 's/\t//g' | sed '/^[[:space:]]*$/d' > /tmp/text + - if [[ ! -z $GITLAB_API_TOKEN ]]; then curl -s --request POST --data-urlencode "description@/tmp/text" --header "${HEADER}" "${RELEASE_URL}"; fi + only: + - tags ### Podcheck ## @@ -66,6 +89,8 @@ podcheck: stage: podcheck script: - make podcheck + except: + - tags ### Install common dependencies ## @@ -81,6 +106,8 @@ carton: - carton install --deployment --without=sqlite --without=postgresql --without=mysql when: always retry: 2 + except: + - tags ### Install DB related dependencies ## diff --git a/CHANGELOG b/CHANGELOG index ffd387d..6dd43e2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,8 @@ Revision history for Lufi +0.03.4 2018-12-06 + - Update arabic, german and italian translations + 0.03.3 2018-11-02 - Update deps, seems to fix install on Debian Jessie diff --git a/themes/default/lib/Lufi/I18N/ar.po b/themes/default/lib/Lufi/I18N/ar.po index 2c34ecf..4c9d218 100644 --- a/themes/default/lib/Lufi/I18N/ar.po +++ b/themes/default/lib/Lufi/I18N/ar.po @@ -6,7 +6,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2018-10-28 08:31+0000\n" +"PO-Revision-Date: 2018-10-31 09:02+0000\n" "Last-Translator: ButterflyOfFire \n" "Language: ar\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " @@ -208,7 +208,7 @@ msgstr "تنتهي صلاحيته في" #: themes/default/templates/files.html.ep:12 msgid "Export localStorage data" -msgstr "" +msgstr "تصدير بيانات مساحة التخزين المحلية" #: lib/Lufi/Controller/Files.pm:424 msgid "File deleted" @@ -232,6 +232,9 @@ msgid "" "\"classic\">the official repository or on its Github mirror" msgstr "" +"تحصّل على الشيفرة المصدرية من المستودع الرسمي أو على المستودع المرآة على غيت هب" #: themes/default/templates/partial/mail.js.ep:35 msgid "Hello,\\n\\nHere's some files I want to share with you:\\n" @@ -275,7 +278,7 @@ msgstr "" #: themes/default/templates/files.html.ep:14 msgid "Import localStorage data" -msgstr "" +msgstr "استيراد بيانات مساحة التخزين المحلية" #: themes/default/templates/index.html.ep:44 msgid "Important: more information on delays" @@ -540,7 +543,7 @@ msgstr "" #: lib/Lufi/Controller/Mail.pm:42 msgid "You can't add URLs that are not related to this instance." -msgstr "" +msgstr "لا يمكنك إضافة روابط غير متعلقة بمثيل الخادوم هذا." #: themes/default/templates/about.html.ep:8 msgid "" @@ -557,6 +560,8 @@ msgid "" "You don't seem to have a key in your URL. You won't be able to decrypt the " "file. Download canceled." msgstr "" +"يبدو أنّ رابطك لا يحتوي على مفتاح. لذا لن يكون بإمكانك فك تشفير الملف. جارٍ " +"إلغاء التنزيل." #: themes/default/templates/partial/render.js.ep:7 msgid "" diff --git a/themes/default/lib/Lufi/I18N/de.po b/themes/default/lib/Lufi/I18N/de.po index f7c11e9..bbd6fb2 100644 --- a/themes/default/lib/Lufi/I18N/de.po +++ b/themes/default/lib/Lufi/I18N/de.po @@ -1,4 +1,4 @@ -# frju365 , 2018. #zanata +# frju365 , 2018. #zanata msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" @@ -6,8 +6,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2018-10-28 07:34+0000\n" -"Last-Translator: frju365 \n" +"PO-Revision-Date: 2018-10-28 11:20+0000\n" +"Last-Translator: frju365 \n" "Language-Team: German\n" "Language: de\n" "X-Generator: Zanata 4.6.2\n" @@ -516,10 +516,10 @@ msgid "" "a>." msgstr "" "Die Originalautor (und vorerst einzige) ist Luc Didry. Wenn Sie ihn unterschützen wollen, können " -"Sie dies über Tipeee oder über Liberapay tun." +"class=\"classic\">Luc Didry. Wenn Sie ihn unterstützen wollen, können " +"Sie dies bei Tipeee oder bei Liberapay tun." #: lib/Lufi/Controller/Files.pm:189 msgid "" @@ -607,8 +607,7 @@ msgstr "" #: lib/Lufi/Controller/Mail.pm:42 msgid "You can't add URLs that are not related to this instance." msgstr "" -"Sie können keine URLs hinzufügen, die nicht mit dieser Instanz verknüpft " -"sind." +"Sie können keine URL hinzufügen, die nicht mit dieser Instanz verknüpft ist." #: themes/default/templates/about.html.ep:8 msgid "" diff --git a/themes/default/lib/Lufi/I18N/it.po b/themes/default/lib/Lufi/I18N/it.po index f544258..e532f21 100644 --- a/themes/default/lib/Lufi/I18N/it.po +++ b/themes/default/lib/Lufi/I18N/it.po @@ -3,6 +3,7 @@ # This file is distributed under the same license as the Lufi package. # Luc Didry , 2015. # Luc Didry , 2018. #zanata +# Paolo Mauri , 2018. #zanata msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" @@ -10,10 +11,10 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2018-10-28 01:57+0000\n" +"PO-Revision-Date: 2018-12-06 11:40+0000\n" "Language-Team: \n" "X-Generator: Zanata 4.6.2\n" -"Last-Translator: Copied by Zanata \n" +"Last-Translator: Paolo Mauri \n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "Language: it\n" @@ -25,7 +26,7 @@ msgstr "%1 giorni" #: themes/default/templates/partial/index.js.ep:26 msgid "(max size: XXX)" -msgstr "" +msgstr "(dimensione massima:XXX)" #: themes/default/templates/index.html.ep:5 msgid "1 year" @@ -61,13 +62,15 @@ msgstr "A proposito" #: themes/default/templates/index.html.ep:88 msgid "Add a password to file(s)" -msgstr "" +msgstr "Aggiungi una password al file" #: themes/default/templates/mail.html.ep:16 msgid "" "Adding URLs not related to this Lufi instance to the mail body or subject is " "prohibited." msgstr "" +"Non è possibile aggiungere un URL non relativo a questa istanza di Lufi nel " +"testo o nel soggetto della mail." #: themes/default/templates/about.html.ep:18 msgid "" @@ -96,7 +99,7 @@ msgstr "Token CSRF errato!" #: lib/Lufi/Controller/Auth.pm:22 lib/Lufi/Controller/Auth.pm:39 msgid "Bad CSRF token." -msgstr "" +msgstr "Token CSRF errato." #: themes/default/templates/partial/render.js.ep:5 msgid "Click here to refresh the page and restart the download." @@ -145,7 +148,7 @@ msgstr "Cancellare al primo download?" #: themes/default/templates/files.html.ep:18 msgid "Delete selected files" -msgstr "" +msgstr "Cancellare i file selezionati" #: themes/default/templates/files.html.ep:32 themes/default/templates/partial/index.js.ep:18 msgid "Deletion link" @@ -239,7 +242,7 @@ msgstr "Nome del file" #: themes/default/templates/index.html.ep:71 msgid "Files deleted at first download" -msgstr "" +msgstr "File cancellati al primo download" #: themes/default/templates/partial/render.js.ep:8 msgid "Get the file" @@ -319,7 +322,7 @@ msgstr "Javascript è disattivato. Lufi non può funzionare." #: themes/default/templates/layouts/default.html.ep:40 themes/default/templates/layouts/default.html.ep:68 msgid "Language" -msgstr "" +msgstr "Lingua" #: themes/default/templates/login.html.ep:15 msgid "Login" @@ -335,7 +338,7 @@ msgstr "Lufi è un software libero di file hosting." #: themes/default/templates/files.html.ep:33 msgid "Mail" -msgstr "" +msgstr "Email" #: themes/default/templates/files.html.ep:3 themes/default/templates/layouts/default.html.ep:34 themes/default/templates/layouts/default.html.ep:62 msgid "My files" @@ -383,6 +386,8 @@ msgid "" "Please, check your credentials or your right to access this service: unable " "to authenticate." msgstr "" +"Controlla le tue credenziali o il corretto accesso a questo servizio: " +"impossibile l'autenticazione." #: themes/default/templates/about.html.ep:5 msgid "Privacy" @@ -394,12 +399,13 @@ msgstr "Eliminare dal localStorage i file scaduti" #: themes/default/templates/layouts/default.html.ep:31 themes/default/templates/layouts/default.html.ep:59 msgid "Report file" -msgstr "" +msgstr "Report file" #: themes/default/templates/files.html.ep:9 msgid "" "Rows in red mean that the files have expired and are no longer available." msgstr "" +"Le righe rosse indicano che i file sono scaduti e non sono più disponibili." #: themes/default/templates/partial/index.js.ep:25 msgid "Send all links by email" @@ -443,12 +449,16 @@ msgid "" "The administrator can only see the file's name, its size and its mimetype " "(what kind of file it is: video, text, etc.)." msgstr "" +"Solo l'amministratore può visualizzare il nome del file, la sua dimensione e " +"i mimetype (che tipo di file è: video, testo, ecc...)." #: lib/Lufi/Controller/Mail.pm:53 msgid "" "The body of the mail must contain at least one URL pointing to a file hosted " "on this instance." msgstr "" +"Il testo della mail deve contenere almeno un URL che reindirizza ad un file " +"ospitato in questa istanza." #: themes/default/templates/partial/files.js.ep:11 msgid "The data has been successfully imported." @@ -513,6 +523,8 @@ msgstr "" msgid "" "This file has been deactivated by the admins. Contact them to know why." msgstr "" +"Questi file sono stati cancellati dall'amministratore. Contattalo per sapere " +"il motivo." #: themes/default/templates/delays.html.ep:10 msgid "" @@ -582,6 +594,7 @@ msgstr "" #: lib/Lufi/Controller/Mail.pm:42 msgid "You can't add URLs that are not related to this instance." msgstr "" +"Non è possibile aggiungere URL che non sono relativi a questa istanza." #: themes/default/templates/about.html.ep:8 msgid "" @@ -629,6 +642,9 @@ msgid "" "Your browser has not enough entropy to generate a strong encryption key. " "Please wait (it's better if you do things on your computer while waiting)." msgstr "" +"Il tuo browser non ha abbastanza entropia per generare una chiave " +"crittografica forte. Attendi (puoi fare altre cose al computer mentre " +"attendi)" #. (format_bytes($json->{size}) #: lib/Lufi/Controller/Files.pm:66 @@ -638,7 +654,7 @@ msgstr "" #: lib/Lufi/Controller/Files.pm:304 msgid "Your password is not valid. Please refresh the page to retry." -msgstr "" +msgstr "La tua password non è valida. Ricarica la pagina e riprova." #. (format_bytes($keys[$i]) #: themes/default/templates/delays.html.ep:20