Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Czech to list of supported languages #4885

Merged
merged 3 commits into from
Oct 10, 2019
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions install_files/ansible-base/roles/tails-config/templates/cs.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: 2019-09-01 17:39+0000\n"
"Last-Translator: 1000101 <[email protected]>\n"
"Language-Team: Czech <https://weblate.securedrop.org/projects/securedrop/"
"desktop/cs/>\n"
"Language: cs\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>=2 && n<=4) ? 1 : 2;\n"
"X-Generator: Weblate 3.7.1\n"

#: desktop-journalist-icon.j2.in:9
msgid "SecureDrop Journalist Interface"
msgstr "SecureDrop rozhraní novináře"

#: desktop-source-icon.j2.in:9
msgid "SecureDrop Source Interface"
msgstr "SecureDrop rozhraní zdroje"
4 changes: 3 additions & 1 deletion securedrop/bin/translation-test
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ mkdir -p "/tmp/test-results/logs"
# Taking screenshots for consumes a lot of memory
# and can result in OOM errors in CI. Running each locale
# separately avoids this.
for locale in ar de_DE es_ES fr_FR hi is it_IT nb_NO nl pt_BR ro ru sv tr zh_Hant
SUPPORTED_LOCALES=$(./i18n_tool.py list-locales | sed -r -e "s/[][',]//g")
printf "Running tests in these locales: %s\n" "$SUPPORTED_LOCALES"
for locale in $SUPPORTED_LOCALES
do
PAGE_LAYOUT_LOCALES=$locale pytest \
-v \
Expand Down
1 change: 1 addition & 0 deletions securedrop/i18n_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class I18NTool(object):
SUPPORTED_LANGUAGES = {
'ar': {'name': 'Arabic', 'desktop': 'ar', },
'ca': {'name': 'Catalan', 'desktop': 'ca', },
'cs': {'name': 'Czech', 'desktop': 'cs', },
'de_DE': {'name': 'German', 'desktop': 'de_DE', },
'el': {'name': 'Greek', 'desktop': 'el', },
'es_ES': {'name': 'Spanish', 'desktop': 'es_ES', },
Expand Down
Loading