From 36ed0005f7ebf94a15c7447ad10063990b8b670b Mon Sep 17 00:00:00 2001 From: Kushal Das Date: Mon, 10 Dec 2018 23:56:49 +0530 Subject: [PATCH] Fixes #3983 adds Greek language Greek is 100% translated and reviewed. --- securedrop/Makefile | 2 +- securedrop/i18n_tool.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/securedrop/Makefile b/securedrop/Makefile index 30b79d1295..735c7dca34 100644 --- a/securedrop/Makefile +++ b/securedrop/Makefile @@ -37,7 +37,7 @@ test-config: ## Generate the test config ctx.update(dict((k, {"stdout":v}) for k,v in os.environ.iteritems())); \ ctx = open("config.py", "w").write(env.get_template("config.py.example").render(ctx))' @echo >> config.py - @echo "SUPPORTED_LOCALES = ['ar', 'de_DE', 'es_ES', 'en_US', 'fr_FR', 'it_IT', 'nb_NO', 'nl', 'pt_BR', 'tr', 'zh_Hant']" >> config.py + @echo "SUPPORTED_LOCALES = ['ar', 'de_DE', 'es_ES', 'en_US', 'el', 'fr_FR', 'it_IT', 'nb_NO', 'nl', 'pt_BR', 'tr', 'zh_Hant']" >> config.py .PHONY: update-user-guides update-user-guides: ## Runs the page layout tests to regenerate screenshots diff --git a/securedrop/i18n_tool.py b/securedrop/i18n_tool.py index 4c82f1b189..e75b39760a 100755 --- a/securedrop/i18n_tool.py +++ b/securedrop/i18n_tool.py @@ -38,6 +38,7 @@ class I18NTool(object): 'de_DE': {'name': 'German', 'desktop': 'de_DE', }, 'es_ES': {'name': 'Spanish', 'desktop': 'es_ES', }, 'fr_FR': {'name': 'French', 'desktop': 'fr', }, + 'el': {'name': 'Greek', 'desktop': 'el', }, 'hi': {'name': 'Hindi', 'desktop': 'hi', }, 'it_IT': {'name': 'Italian', 'desktop': 'it', }, 'nb_NO': {'name': 'Norwegian', 'desktop': 'nb_NO', },