From 6ffacc4ec3cea22f803d45ffe28e48d49b278899 Mon Sep 17 00:00:00 2001 From: Cory Francis Myers Date: Thu, 5 Oct 2023 18:18:27 -0700 Subject: [PATCH] refactor(update-desktop-files): use "locale/$LANG/LC_MESSAGES/messages.po" structure --- .gitignore | 4 ++- Makefile | 28 ++++++++--------- .../templates/{ => locale}/LINGUAS | 0 .../ar/LC_MESSAGES/messages.po} | 6 ++-- .../ca/LC_MESSAGES/messages.po} | 3 +- .../cs/LC_MESSAGES/messages.po} | 3 +- .../de_DE/LC_MESSAGES/messages.po} | 3 +- .../el/LC_MESSAGES/messages.po} | 3 +- .../es_ES/LC_MESSAGES/messages.po} | 3 +- .../fr/LC_MESSAGES/messages.po} | 4 +-- .../hi/LC_MESSAGES/messages.po} | 3 +- .../is/LC_MESSAGES/messages.po} | 3 +- .../it/LC_MESSAGES/messages.po} | 3 +- .../{desktop.pot => locale/messages.pot} | 31 +++++++++++-------- .../nb_NO/LC_MESSAGES/messages.po} | 4 +-- .../nl/LC_MESSAGES/messages.po} | 3 +- .../pt_BR/LC_MESSAGES/messages.po} | 3 +- .../pt_PT/LC_MESSAGES/messages.po} | 3 +- .../ro/LC_MESSAGES/messages.po} | 6 ++-- .../ru/LC_MESSAGES/messages.po} | 6 ++-- .../sk/LC_MESSAGES/messages.po} | 3 +- .../sv/LC_MESSAGES/messages.po} | 3 +- .../tr/LC_MESSAGES/messages.po} | 3 +- .../zh_Hans/LC_MESSAGES/messages.po} | 3 +- .../zh_Hant/LC_MESSAGES/messages.po} | 3 +- 25 files changed, 59 insertions(+), 78 deletions(-) rename install_files/ansible-base/roles/tails-config/templates/{ => locale}/LINGUAS (100%) rename install_files/ansible-base/roles/tails-config/templates/{ar.po => locale/ar/LC_MESSAGES/messages.po} (93%) rename install_files/ansible-base/roles/tails-config/templates/{ca.po => locale/ca/LC_MESSAGES/messages.po} (97%) rename install_files/ansible-base/roles/tails-config/templates/{cs.po => locale/cs/LC_MESSAGES/messages.po} (98%) rename install_files/ansible-base/roles/tails-config/templates/{de_DE.po => locale/de_DE/LC_MESSAGES/messages.po} (97%) rename install_files/ansible-base/roles/tails-config/templates/{el.po => locale/el/LC_MESSAGES/messages.po} (97%) rename install_files/ansible-base/roles/tails-config/templates/{es_ES.po => locale/es_ES/LC_MESSAGES/messages.po} (97%) rename install_files/ansible-base/roles/tails-config/templates/{fr.po => locale/fr/LC_MESSAGES/messages.po} (95%) rename install_files/ansible-base/roles/tails-config/templates/{hi.po => locale/hi/LC_MESSAGES/messages.po} (97%) rename install_files/ansible-base/roles/tails-config/templates/{is.po => locale/is/LC_MESSAGES/messages.po} (97%) rename install_files/ansible-base/roles/tails-config/templates/{it.po => locale/it/LC_MESSAGES/messages.po} (97%) rename install_files/ansible-base/roles/tails-config/templates/{desktop.pot => locale/messages.pot} (65%) rename install_files/ansible-base/roles/tails-config/templates/{nb_NO.po => locale/nb_NO/LC_MESSAGES/messages.po} (94%) rename install_files/ansible-base/roles/tails-config/templates/{nl.po => locale/nl/LC_MESSAGES/messages.po} (97%) rename install_files/ansible-base/roles/tails-config/templates/{pt_BR.po => locale/pt_BR/LC_MESSAGES/messages.po} (96%) rename install_files/ansible-base/roles/tails-config/templates/{pt_PT.po => locale/pt_PT/LC_MESSAGES/messages.po} (96%) rename install_files/ansible-base/roles/tails-config/templates/{ro.po => locale/ro/LC_MESSAGES/messages.po} (95%) rename install_files/ansible-base/roles/tails-config/templates/{ru.po => locale/ru/LC_MESSAGES/messages.po} (94%) rename install_files/ansible-base/roles/tails-config/templates/{sk.po => locale/sk/LC_MESSAGES/messages.po} (97%) rename install_files/ansible-base/roles/tails-config/templates/{sv.po => locale/sv/LC_MESSAGES/messages.po} (97%) rename install_files/ansible-base/roles/tails-config/templates/{tr.po => locale/tr/LC_MESSAGES/messages.po} (97%) rename install_files/ansible-base/roles/tails-config/templates/{zh_Hans.po => locale/zh_Hans/LC_MESSAGES/messages.po} (96%) rename install_files/ansible-base/roles/tails-config/templates/{zh_Hant.po => locale/zh_Hant/LC_MESSAGES/messages.po} (96%) diff --git a/.gitignore b/.gitignore index 3d2e6cf17d..935e3f3a01 100644 --- a/.gitignore +++ b/.gitignore @@ -95,7 +95,9 @@ coverage.xml .hypothesis/ .mypy_cache/ -# Translations compiled during packaging: +# Translation artifacts generated during testing and packaging: +install_files/ansible-base/roles/tails-config/templates/locale/*.po +securedrop/tests/i18n/messages.pot securedrop/translations/**/*.mo # Flask stuff: diff --git a/Makefile b/Makefile index 8c5ac83534..a38cd89df1 100644 --- a/Makefile +++ b/Makefile @@ -348,7 +348,7 @@ POT=${LOCALE_DIR}/messages.pot DESKTOP_BASE=install_files/ansible-base/roles/tails-config/templates DESKTOP_LOCALE_DIR=$(DESKTOP_BASE)/locale -DESKTOP_I18N_CONF=$(DESKTOP_BASE)/LINGUAS +DESKTOP_I18N_CONF=$(DESKTOP_LOCALE_DIR)/LINGUAS DESKTOP_POT=$(DESKTOP_LOCALE_DIR)/messages.pot .PHONY: check-strings @@ -402,9 +402,19 @@ $(DESKTOP_POT): ${DESKTOP_BASE}/*.in $^ @sed -i -e '/^"POT-Creation-Date/d' $@ -# Render desktop files from templates. +# Render desktop files from templates. msgfmt needs each +# "$LANG/LC_MESSAGES/messages.po" file in "$LANG.po". %.j2: %.j2.in - @msgfmt -d ${DESKTOP_BASE} --desktop --template $< --output-file $@ + @find ${DESKTOP_LOCALE_DIR}/* \ + -maxdepth 0 \ + -type d \ + -exec bash -c 'locale="$$(basename {})"; cp ${DESKTOP_LOCALE_DIR}/$${locale}/LC_MESSAGES/messages.po $(DESKTOP_LOCALE_DIR)/$${locale}.po' \; + @msgfmt \ + -d ${DESKTOP_LOCALE_DIR} \ + --desktop \ + --template $< \ + --output-file $@ + @rm ${DESKTOP_LOCALE_DIR}/*.po # Render desktop list from "i18n.json". $(DESKTOP_I18N_CONF): @@ -453,19 +463,9 @@ endif .PHONY: verify-mo verify-mo: ## Verify that all gettext machine objects (.mo) are reproducible from their catalogs (.po). - @# TODO(#6917): Once Weblate (rather than i18n_tool.py) is correctly filing - @# both .po and .mo under $DESKTOP_LOCALE_DIR, remove this step. (See - @# also: 76f3adeed90f4aaadbf0685e09dec6314367d5c0.) - @find ${DESKTOP_BASE} \ - -maxdepth 1 \ - -name "*.po" \ - -exec bash -c 'PO="$$(basename {} | sed \'s/.po//')"; cp ${DESKTOP_BASE}/$${PO}.po $(DESKTOP_LOCALE_DIR)/$${PO}/LC_MESSAGES/messages.po' \; @TERM=dumb devops/scripts/verify-mo.py ${DESKTOP_LOCALE_DIR}/* @# All good; now clean up. - @# TODO(#6917): git restore "${LOCALE_DIR}/**/*.po" - @find ${DESKTOP_LOCALE_DIR} \ - -name "*.po" \ - -delete + @git restore "${LOCALE_DIR}/**/*.po" ########### diff --git a/install_files/ansible-base/roles/tails-config/templates/LINGUAS b/install_files/ansible-base/roles/tails-config/templates/locale/LINGUAS similarity index 100% rename from install_files/ansible-base/roles/tails-config/templates/LINGUAS rename to install_files/ansible-base/roles/tails-config/templates/locale/LINGUAS diff --git a/install_files/ansible-base/roles/tails-config/templates/ar.po b/install_files/ansible-base/roles/tails-config/templates/locale/ar/LC_MESSAGES/messages.po similarity index 93% rename from install_files/ansible-base/roles/tails-config/templates/ar.po rename to install_files/ansible-base/roles/tails-config/templates/locale/ar/LC_MESSAGES/messages.po index ded47b45d4..75bffc05aa 100644 --- a/install_files/ansible-base/roles/tails-config/templates/ar.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/ar/LC_MESSAGES/messages.po @@ -9,14 +9,12 @@ msgstr "" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: 2018-06-30 10:57+0000\n" "Last-Translator: erinm \n" -"Language-Team: Arabic \n" +"Language-Team: Arabic \n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " -"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" "X-Generator: Weblate 2.20\n" msgid "Launch Source Interface" diff --git a/install_files/ansible-base/roles/tails-config/templates/ca.po b/install_files/ansible-base/roles/tails-config/templates/locale/ca/LC_MESSAGES/messages.po similarity index 97% rename from install_files/ansible-base/roles/tails-config/templates/ca.po rename to install_files/ansible-base/roles/tails-config/templates/locale/ca/LC_MESSAGES/messages.po index f489070d20..1e948a8655 100644 --- a/install_files/ansible-base/roles/tails-config/templates/ca.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/ca/LC_MESSAGES/messages.po @@ -9,8 +9,7 @@ msgstr "" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: 2023-06-14 13:56+0000\n" "Last-Translator: John Smith \n" -"Language-Team: Catalan \n" +"Language-Team: Catalan \n" "Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/install_files/ansible-base/roles/tails-config/templates/cs.po b/install_files/ansible-base/roles/tails-config/templates/locale/cs/LC_MESSAGES/messages.po similarity index 98% rename from install_files/ansible-base/roles/tails-config/templates/cs.po rename to install_files/ansible-base/roles/tails-config/templates/locale/cs/LC_MESSAGES/messages.po index 73c2d93bb5..729e9e24fb 100644 --- a/install_files/ansible-base/roles/tails-config/templates/cs.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/cs/LC_MESSAGES/messages.po @@ -9,8 +9,7 @@ msgstr "" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: 2023-06-21 06:56+0000\n" "Last-Translator: Jan Papež \n" -"Language-Team: Czech \n" +"Language-Team: Czech \n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/install_files/ansible-base/roles/tails-config/templates/de_DE.po b/install_files/ansible-base/roles/tails-config/templates/locale/de_DE/LC_MESSAGES/messages.po similarity index 97% rename from install_files/ansible-base/roles/tails-config/templates/de_DE.po rename to install_files/ansible-base/roles/tails-config/templates/locale/de_DE/LC_MESSAGES/messages.po index 3cb536d776..c82535d03b 100644 --- a/install_files/ansible-base/roles/tails-config/templates/de_DE.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/de_DE/LC_MESSAGES/messages.po @@ -9,8 +9,7 @@ msgstr "" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: 2023-06-18 10:56+0000\n" "Last-Translator: Curtis Baltimore \n" -"Language-Team: German \n" +"Language-Team: German \n" "Language: de_DE\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/install_files/ansible-base/roles/tails-config/templates/el.po b/install_files/ansible-base/roles/tails-config/templates/locale/el/LC_MESSAGES/messages.po similarity index 97% rename from install_files/ansible-base/roles/tails-config/templates/el.po rename to install_files/ansible-base/roles/tails-config/templates/locale/el/LC_MESSAGES/messages.po index 0fb7fce83e..c051584334 100644 --- a/install_files/ansible-base/roles/tails-config/templates/el.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/el/LC_MESSAGES/messages.po @@ -9,8 +9,7 @@ msgstr "" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: 2018-08-22 11:02+0000\n" "Last-Translator: Adrian \n" -"Language-Team: Greek \n" +"Language-Team: Greek \n" "Language: el\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/install_files/ansible-base/roles/tails-config/templates/es_ES.po b/install_files/ansible-base/roles/tails-config/templates/locale/es_ES/LC_MESSAGES/messages.po similarity index 97% rename from install_files/ansible-base/roles/tails-config/templates/es_ES.po rename to install_files/ansible-base/roles/tails-config/templates/locale/es_ES/LC_MESSAGES/messages.po index accdb186a9..c494ea4a85 100644 --- a/install_files/ansible-base/roles/tails-config/templates/es_ES.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/es_ES/LC_MESSAGES/messages.po @@ -9,8 +9,7 @@ msgstr "" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: 2018-12-05 08:18+0000\n" "Last-Translator: Adolfo Jayme-Barrientos \n" -"Language-Team: Spanish \n" +"Language-Team: Spanish \n" "Language: es_ES\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/install_files/ansible-base/roles/tails-config/templates/fr.po b/install_files/ansible-base/roles/tails-config/templates/locale/fr/LC_MESSAGES/messages.po similarity index 95% rename from install_files/ansible-base/roles/tails-config/templates/fr.po rename to install_files/ansible-base/roles/tails-config/templates/locale/fr/LC_MESSAGES/messages.po index 428589cd63..10ac7a09e9 100644 --- a/install_files/ansible-base/roles/tails-config/templates/fr.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/fr/LC_MESSAGES/messages.po @@ -7,11 +7,9 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" -"POT-Creation-Date: 2017-09-04 16:26+0200\n" "PO-Revision-Date: 2023-06-13 16:56+0000\n" "Last-Translator: AO Localization Lab \n" -"Language-Team: French \n" +"Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/install_files/ansible-base/roles/tails-config/templates/hi.po b/install_files/ansible-base/roles/tails-config/templates/locale/hi/LC_MESSAGES/messages.po similarity index 97% rename from install_files/ansible-base/roles/tails-config/templates/hi.po rename to install_files/ansible-base/roles/tails-config/templates/locale/hi/LC_MESSAGES/messages.po index 142c2c407b..64cf71bffc 100644 --- a/install_files/ansible-base/roles/tails-config/templates/hi.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/hi/LC_MESSAGES/messages.po @@ -9,8 +9,7 @@ msgstr "" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: 2018-03-08 13:50+0000\n" "Last-Translator: Muhammad Usman \n" -"Language-Team: Hindi \n" +"Language-Team: Hindi \n" "Language: hi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/install_files/ansible-base/roles/tails-config/templates/is.po b/install_files/ansible-base/roles/tails-config/templates/locale/is/LC_MESSAGES/messages.po similarity index 97% rename from install_files/ansible-base/roles/tails-config/templates/is.po rename to install_files/ansible-base/roles/tails-config/templates/locale/is/LC_MESSAGES/messages.po index bea8db94a0..eb49a33ec4 100644 --- a/install_files/ansible-base/roles/tails-config/templates/is.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/is/LC_MESSAGES/messages.po @@ -9,8 +9,7 @@ msgstr "" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: 2023-06-13 09:56+0000\n" "Last-Translator: Sveinn í Felli \n" -"Language-Team: Icelandic \n" +"Language-Team: Icelandic \n" "Language: is\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/install_files/ansible-base/roles/tails-config/templates/it.po b/install_files/ansible-base/roles/tails-config/templates/locale/it/LC_MESSAGES/messages.po similarity index 97% rename from install_files/ansible-base/roles/tails-config/templates/it.po rename to install_files/ansible-base/roles/tails-config/templates/locale/it/LC_MESSAGES/messages.po index bca9c254cb..24300d9377 100644 --- a/install_files/ansible-base/roles/tails-config/templates/it.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/it/LC_MESSAGES/messages.po @@ -9,8 +9,7 @@ msgstr "" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: 2018-01-13 08:54+0000\n" "Last-Translator: Claudio Arseni \n" -"Language-Team: Italian \n" +"Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/install_files/ansible-base/roles/tails-config/templates/desktop.pot b/install_files/ansible-base/roles/tails-config/templates/locale/messages.pot similarity index 65% rename from install_files/ansible-base/roles/tails-config/templates/desktop.pot rename to install_files/ansible-base/roles/tails-config/templates/locale/messages.pot index c1ee0f43fe..347dc692db 100644 --- a/install_files/ansible-base/roles/tails-config/templates/desktop.pot +++ b/install_files/ansible-base/roles/tails-config/templates/locale/messages.pot @@ -1,20 +1,32 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR Freedom of the Press Foundation -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. +# Translations template for SecureDrop. +# Copyright (C) 2023 Freedom of the Press Foundation +# This file is distributed under the same license as the SecureDrop project. +# FIRST AUTHOR , 2023. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" +"Project-Id-Version: SecureDrop 2.7.0~rc1\n" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" -"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.12.1\n" + +#. Name +msgid "SecureDrop Journalist Interface" +msgstr "" + +#. Icon +msgid "{{ tails_config_securedrop_dotfiles }}/securedrop_icon.png" +msgstr "" + +#. Name +msgid "SecureDrop Source Interface" +msgstr "" msgid "Launch Source Interface" msgstr "" @@ -37,10 +49,3 @@ msgstr "" msgid "Open File Browser" msgstr "" -#: desktop-journalist-icon.j2.in:10 -msgid "SecureDrop Journalist Interface" -msgstr "" - -#: desktop-source-icon.j2.in:10 -msgid "SecureDrop Source Interface" -msgstr "" diff --git a/install_files/ansible-base/roles/tails-config/templates/nb_NO.po b/install_files/ansible-base/roles/tails-config/templates/locale/nb_NO/LC_MESSAGES/messages.po similarity index 94% rename from install_files/ansible-base/roles/tails-config/templates/nb_NO.po rename to install_files/ansible-base/roles/tails-config/templates/locale/nb_NO/LC_MESSAGES/messages.po index 51b2903f54..919339c853 100644 --- a/install_files/ansible-base/roles/tails-config/templates/nb_NO.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/nb_NO/LC_MESSAGES/messages.po @@ -7,11 +7,9 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" -"POT-Creation-Date: 2017-09-04 16:26+0200\n" "PO-Revision-Date: 2023-06-20 22:56+0000\n" "Last-Translator: Øyvind Bye Skille \n" -"Language-Team: Norwegian Bokmål \n" +"Language-Team: Norwegian Bokmål \n" "Language: nb_NO\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/install_files/ansible-base/roles/tails-config/templates/nl.po b/install_files/ansible-base/roles/tails-config/templates/locale/nl/LC_MESSAGES/messages.po similarity index 97% rename from install_files/ansible-base/roles/tails-config/templates/nl.po rename to install_files/ansible-base/roles/tails-config/templates/locale/nl/LC_MESSAGES/messages.po index e99ade9c8c..5aecb21c30 100644 --- a/install_files/ansible-base/roles/tails-config/templates/nl.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/nl/LC_MESSAGES/messages.po @@ -9,8 +9,7 @@ msgstr "" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: 2017-12-01 13:48+0000\n" "Last-Translator: kwadronaut \n" -"Language-Team: Dutch \n" +"Language-Team: Dutch \n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/install_files/ansible-base/roles/tails-config/templates/pt_BR.po b/install_files/ansible-base/roles/tails-config/templates/locale/pt_BR/LC_MESSAGES/messages.po similarity index 96% rename from install_files/ansible-base/roles/tails-config/templates/pt_BR.po rename to install_files/ansible-base/roles/tails-config/templates/locale/pt_BR/LC_MESSAGES/messages.po index 71f1dbad2e..aeaa41bbc9 100644 --- a/install_files/ansible-base/roles/tails-config/templates/pt_BR.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/pt_BR/LC_MESSAGES/messages.po @@ -9,8 +9,7 @@ msgstr "" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: 2023-06-22 07:39+0000\n" "Last-Translator: notmuchtohide \n" -"Language-Team: Portuguese (Brazil) \n" +"Language-Team: Portuguese (Brazil) \n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/install_files/ansible-base/roles/tails-config/templates/pt_PT.po b/install_files/ansible-base/roles/tails-config/templates/locale/pt_PT/LC_MESSAGES/messages.po similarity index 96% rename from install_files/ansible-base/roles/tails-config/templates/pt_PT.po rename to install_files/ansible-base/roles/tails-config/templates/locale/pt_PT/LC_MESSAGES/messages.po index 6518359b3f..77abcabf5d 100644 --- a/install_files/ansible-base/roles/tails-config/templates/pt_PT.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/pt_PT/LC_MESSAGES/messages.po @@ -9,8 +9,7 @@ msgstr "" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: 2023-06-22 08:56+0000\n" "Last-Translator: deeplow \n" -"Language-Team: Portuguese (Portugal) \n" +"Language-Team: Portuguese (Portugal) \n" "Language: pt_PT\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/install_files/ansible-base/roles/tails-config/templates/ro.po b/install_files/ansible-base/roles/tails-config/templates/locale/ro/LC_MESSAGES/messages.po similarity index 95% rename from install_files/ansible-base/roles/tails-config/templates/ro.po rename to install_files/ansible-base/roles/tails-config/templates/locale/ro/LC_MESSAGES/messages.po index ac3fde426d..f7c053a512 100644 --- a/install_files/ansible-base/roles/tails-config/templates/ro.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/ro/LC_MESSAGES/messages.po @@ -9,14 +9,12 @@ msgstr "" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: 2018-03-11 16:05+0000\n" "Last-Translator: Jobava \n" -"Language-Team: Romanian \n" +"Language-Team: Romanian \n" "Language: ro\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==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " -"20)) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2;\n" "X-Generator: Weblate 2.18\n" msgid "Launch Source Interface" diff --git a/install_files/ansible-base/roles/tails-config/templates/ru.po b/install_files/ansible-base/roles/tails-config/templates/locale/ru/LC_MESSAGES/messages.po similarity index 94% rename from install_files/ansible-base/roles/tails-config/templates/ru.po rename to install_files/ansible-base/roles/tails-config/templates/locale/ru/LC_MESSAGES/messages.po index 3ac8648811..21349ce47f 100644 --- a/install_files/ansible-base/roles/tails-config/templates/ru.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/ru/LC_MESSAGES/messages.po @@ -9,14 +9,12 @@ msgstr "" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: 2023-06-20 19:56+0000\n" "Last-Translator: Adham Kurbanov \n" -"Language-Team: Russian \n" +"Language-Team: Russian \n" "Language: ru\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<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 4.14.1\n" msgid "Launch Source Interface" diff --git a/install_files/ansible-base/roles/tails-config/templates/sk.po b/install_files/ansible-base/roles/tails-config/templates/locale/sk/LC_MESSAGES/messages.po similarity index 97% rename from install_files/ansible-base/roles/tails-config/templates/sk.po rename to install_files/ansible-base/roles/tails-config/templates/locale/sk/LC_MESSAGES/messages.po index 74a084dd08..b520501335 100644 --- a/install_files/ansible-base/roles/tails-config/templates/sk.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/sk/LC_MESSAGES/messages.po @@ -9,8 +9,7 @@ msgstr "" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: 2019-08-29 21:39+0000\n" "Last-Translator: 1000101 \n" -"Language-Team: Slovak \n" +"Language-Team: Slovak \n" "Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/install_files/ansible-base/roles/tails-config/templates/sv.po b/install_files/ansible-base/roles/tails-config/templates/locale/sv/LC_MESSAGES/messages.po similarity index 97% rename from install_files/ansible-base/roles/tails-config/templates/sv.po rename to install_files/ansible-base/roles/tails-config/templates/locale/sv/LC_MESSAGES/messages.po index eacc5f8d2e..d50a4706de 100644 --- a/install_files/ansible-base/roles/tails-config/templates/sv.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/sv/LC_MESSAGES/messages.po @@ -9,8 +9,7 @@ msgstr "" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: 2023-06-13 07:56+0000\n" "Last-Translator: Jonas Waga \n" -"Language-Team: Swedish \n" +"Language-Team: Swedish \n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/install_files/ansible-base/roles/tails-config/templates/tr.po b/install_files/ansible-base/roles/tails-config/templates/locale/tr/LC_MESSAGES/messages.po similarity index 97% rename from install_files/ansible-base/roles/tails-config/templates/tr.po rename to install_files/ansible-base/roles/tails-config/templates/locale/tr/LC_MESSAGES/messages.po index f7755086a4..e3e8e77840 100644 --- a/install_files/ansible-base/roles/tails-config/templates/tr.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/tr/LC_MESSAGES/messages.po @@ -9,8 +9,7 @@ msgstr "" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: 2018-01-11 15:26+0000\n" "Last-Translator: Volkan \n" -"Language-Team: Turkish \n" +"Language-Team: Turkish \n" "Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/install_files/ansible-base/roles/tails-config/templates/zh_Hans.po b/install_files/ansible-base/roles/tails-config/templates/locale/zh_Hans/LC_MESSAGES/messages.po similarity index 96% rename from install_files/ansible-base/roles/tails-config/templates/zh_Hans.po rename to install_files/ansible-base/roles/tails-config/templates/locale/zh_Hans/LC_MESSAGES/messages.po index 6faf2b57a4..2af89b6631 100644 --- a/install_files/ansible-base/roles/tails-config/templates/zh_Hans.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/zh_Hans/LC_MESSAGES/messages.po @@ -9,8 +9,7 @@ msgstr "" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: 2023-06-15 04:56+0000\n" "Last-Translator: Kishin Sagume \n" -"Language-Team: Chinese (Simplified) \n" +"Language-Team: Chinese (Simplified) \n" "Language: zh_Hans\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/install_files/ansible-base/roles/tails-config/templates/zh_Hant.po b/install_files/ansible-base/roles/tails-config/templates/locale/zh_Hant/LC_MESSAGES/messages.po similarity index 96% rename from install_files/ansible-base/roles/tails-config/templates/zh_Hant.po rename to install_files/ansible-base/roles/tails-config/templates/locale/zh_Hant/LC_MESSAGES/messages.po index 4d7acd2edd..db7ded2cf4 100644 --- a/install_files/ansible-base/roles/tails-config/templates/zh_Hant.po +++ b/install_files/ansible-base/roles/tails-config/templates/locale/zh_Hant/LC_MESSAGES/messages.po @@ -9,8 +9,7 @@ msgstr "" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: 2023-06-15 01:56+0000\n" "Last-Translator: Chi-Hsun Tsai \n" -"Language-Team: Chinese (Traditional) \n" +"Language-Team: Chinese (Traditional) \n" "Language: zh_Hant\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n"