Skip to content

Commit

Permalink
Merge pull request #3377 from dachary/wip-i18n
Browse files Browse the repository at this point in the history
l10n: sync translations
  • Loading branch information
Loic Dachary authored May 9, 2018
2 parents 616f76e + eab19aa commit fdd98f6
Show file tree
Hide file tree
Showing 22 changed files with 4,896 additions and 1,589 deletions.
1 change: 1 addition & 0 deletions docs/development/i18n.rst
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ file must be manually edited to add this new language to the
$ git checkout -b wip-i18n origin/develop
$ securedrop/bin/dev-shell ./i18n_tool.py --verbose update-from-weblate
$ securedrop/bin/dev-shell ./i18n_tool.py --verbose translate-desktop --compile
$ securedrop/bin/dev-shell ./i18n_tool.py --verbose update-docs
$ git commit -m 'l10n: compile desktop files' translations # if needed
$ git push wip-i18n # and make a pull request from the branch
Expand Down
2 changes: 2 additions & 0 deletions docs/includes/l10n.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
* German (de_DE)
* Spanish (es_ES)
* French (fr_FR)
* Hindi (hi)
* Italian (it_IT)
* Norwegian (nb_NO)
* Dutch (nl)
* Portuguese, Brasil (pt_BR)
* Russian (ru)
* Turkish (tr)
* Chinese, Traditional (zh_Hant)
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ Terminal=false
Categories=Network;
Name[ar]=واجهة SecureDrop للصحفيين
Name[de_DE]=Journalistenschnittstelle für SecureDrop
Name[es_ES]=Interfaz de Periodista de SecureDrop
Name[es_ES]=Interfaz del periodista de SecureDrop
Name[fr]=SecureDrop - Interface des journalistes
Name[hi]=SecureDrop पत्रकार अंतराफलक
Name[it]=Interfaccia Giornalista di SecureDrop
Name[nb_NO]=Journalistgrensesnitt for SecureDrop
Name[nl]=SecureDrop - interface voor journalisten
Name[pt_BR]=Interface de Jornalista do SecureDrop
Name[ru]=Интерфейс журналиста SecureDrop
Name[tr]=SecureDrop Gazeteci Arayüzü
Name[zh_Hant]=SecureDrop 記者使用介面
Name=SecureDrop Journalist Interface
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ Terminal=false
Categories=Network;
Name[ar]=واجهة المصدر لـ SecureDrop
Name[de_DE]=Quellenschnittstelle für SecureDrop
Name[es_ES]=Interfaz de Fuente de SecureDrop
Name[es_ES]=Interfaz de la Fuente de SecureDrop
Name[fr]=SecureDrop - Interface des sources
Name[hi]=SecureDrop स्रोत अंतराफलक
Name[it]=Interfaccia Fonte di SecureDrop
Name[nb_NO]=Kildegrensesnitt for SecureDrop
Name[nl]=Securedrop - interface voor bronnen
Name[pt_BR]=Interface da Fonte do SecureDrop
Name[ru]=Исходный интерфейс SecureDrop
Name[tr]=SecureDrop Kaynak Arayüzü
Name[zh_Hant]=SecureDrop 線人使用介面
Name=SecureDrop Source Interface
Expand Down
14 changes: 7 additions & 7 deletions install_files/ansible-base/roles/tails-config/templates/es_ES.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"PO-Revision-Date: 2017-12-02 17:00+0000\n"
"Last-Translator: Anatoli <[email protected]>\n"
"Language-Team: Spanish "
"<https://weblate.securedrop.club/projects/securedrop/desktop/es/>\n"
"PO-Revision-Date: 2018-05-04 10:00+0000\n"
"Last-Translator: Allan Nordhøy <[email protected]>\n"
"Language-Team: Spanish <https://weblate.securedrop.club/projects/securedrop/"
"desktop/es/>\n"
"Language: es_ES\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: Weblate 2.17.1\n"
"X-Generator: Weblate 2.20\n"

#: desktop-journalist-icon.j2.in:9
msgid "SecureDrop Journalist Interface"
msgstr "Interfaz de Periodista de SecureDrop"
msgstr "Interfaz del periodista de SecureDrop"

#: desktop-source-icon.j2.in:9
msgid "SecureDrop Source Interface"
msgstr "Interfaz de Fuente de SecureDrop"
msgstr "Interfaz de la Fuente de SecureDrop"
27 changes: 27 additions & 0 deletions install_files/ansible-base/roles/tails-config/templates/hi.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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 <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"PO-Revision-Date: 2018-03-08 13:50+0000\n"
"Last-Translator: Muhammad Usman <[email protected]>\n"
"Language-Team: Hindi "
"<https://weblate.securedrop.club/projects/securedrop/desktop/hi/>\n"
"Language: hi\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: Weblate 2.18\n"

#: desktop-journalist-icon.j2.in:9
msgid "SecureDrop Journalist Interface"
msgstr "SecureDrop पत्रकार अंतराफलक"

#: desktop-source-icon.j2.in:9
msgid "SecureDrop Source Interface"
msgstr "SecureDrop स्रोत अंतराफलक"
16 changes: 9 additions & 7 deletions install_files/ansible-base/roles/tails-config/templates/pt_BR.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,21 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"PO-Revision-Date: 2018-03-31 20:00+0000\n"
"Last-Translator: Cláudio Carvalho <[email protected]>\n"
"Language-Team: Portuguese (Brazil) "
"<https://weblate.securedrop.club/projects/securedrop/desktop/pt_BR/>\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ASCII\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 2.18\n"

#: desktop-journalist-icon.j2.in:9
msgid "SecureDrop Journalist Interface"
msgstr ""
msgstr "Interface de Jornalista do SecureDrop"

#: desktop-source-icon.j2.in:9
msgid "SecureDrop Source Interface"
msgstr ""
msgstr "Interface da Fonte do SecureDrop"
28 changes: 28 additions & 0 deletions install_files/ansible-base/roles/tails-config/templates/ru.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 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 <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"PO-Revision-Date: 2018-05-02 22:00+0000\n"
"Last-Translator: Adham Kurbanov <[email protected]>\n"
"Language-Team: Russian <https://weblate.securedrop.club/projects/securedrop/"
"desktop/ru/>\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"
"X-Generator: Weblate 2.20\n"

#: desktop-journalist-icon.j2.in:9
msgid "SecureDrop Journalist Interface"
msgstr "Интерфейс журналиста SecureDrop"

#: desktop-source-icon.j2.in:9
msgid "SecureDrop Source Interface"
msgstr "Исходный интерфейс SecureDrop"
2 changes: 2 additions & 0 deletions securedrop/i18n_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,12 @@ class I18NTool(object):
'de_DE': {'name': 'German', 'desktop': 'de_DE', },
'es_ES': {'name': 'Spanish', 'desktop': 'es_ES', },
'fr_FR': {'name': 'French', 'desktop': 'fr', },
'hi': {'name': 'Hindi', 'desktop': 'hi', },
'it_IT': {'name': 'Italian', 'desktop': 'it', },
'nb_NO': {'name': 'Norwegian', 'desktop': 'nb_NO', },
'nl': {'name': 'Dutch', 'desktop': 'nl', },
'pt_BR': {'name': 'Portuguese, Brasil', 'desktop': 'pt_BR', },
'ru': {'name': 'Russian', 'desktop': 'ru', },
'tr': {'name': 'Turkish', 'desktop': 'tr', },
'zh_Hant': {'name': 'Chinese, Traditional', 'desktop': 'zh_Hant', },
}
Expand Down
Loading

0 comments on commit fdd98f6

Please sign in to comment.