From caf31090bf1456d9f4ff93deabeb0e98f08e282a Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sat, 8 Dec 2018 11:25:06 -0800 Subject: Split pt locale into pt_BR and pt_PT --- onionshare/settings.py | 3 ++- share/locale/pt.json | 7 ------- share/locale/pt_BR.json | 7 +++++++ share/locale/pt_PT.json | 7 +++++++ 4 files changed, 16 insertions(+), 8 deletions(-) delete mode 100644 share/locale/pt.json create mode 100644 share/locale/pt_BR.json create mode 100644 share/locale/pt_PT.json diff --git a/onionshare/settings.py b/onionshare/settings.py index 02f644af..2738ae39 100644 --- a/onionshare/settings.py +++ b/onionshare/settings.py @@ -62,7 +62,8 @@ class Settings(object): 'it': 'Italiano', # Italian 'nl': 'Nederlands', # Dutch 'no': 'Norsk', # Norweigan - 'pt': 'Português', # Portuguese + 'pt_BR': 'Português Brasil', # Portuguese Brazil + 'pt_PT': 'Português Portugal', # Portuguese Portugal 'ru': 'Русский', # Russian 'tr': 'Türkçe' # Turkish } diff --git a/share/locale/pt.json b/share/locale/pt.json deleted file mode 100644 index 1b2d3139..00000000 --- a/share/locale/pt.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "give_this_url": "Passe este URL para a pessoa que deve receber o arquivo:", - "ctrlc_to_stop": "Pressione Ctrl-C para parar o servidor", - "not_a_file": "{0:s} não é um arquivo.", - "gui_copied_url": "URL foi copiado para área de transferência", - "other_page_loaded": "Outra página tem sido carregada" -} diff --git a/share/locale/pt_BR.json b/share/locale/pt_BR.json new file mode 100644 index 00000000..1b2d3139 --- /dev/null +++ b/share/locale/pt_BR.json @@ -0,0 +1,7 @@ +{ + "give_this_url": "Passe este URL para a pessoa que deve receber o arquivo:", + "ctrlc_to_stop": "Pressione Ctrl-C para parar o servidor", + "not_a_file": "{0:s} não é um arquivo.", + "gui_copied_url": "URL foi copiado para área de transferência", + "other_page_loaded": "Outra página tem sido carregada" +} diff --git a/share/locale/pt_PT.json b/share/locale/pt_PT.json new file mode 100644 index 00000000..1b2d3139 --- /dev/null +++ b/share/locale/pt_PT.json @@ -0,0 +1,7 @@ +{ + "give_this_url": "Passe este URL para a pessoa que deve receber o arquivo:", + "ctrlc_to_stop": "Pressione Ctrl-C para parar o servidor", + "not_a_file": "{0:s} não é um arquivo.", + "gui_copied_url": "URL foi copiado para área de transferência", + "other_page_loaded": "Outra página tem sido carregada" +} -- cgit v1.2.3-54-g00ecf