From e8cbf53c33d9bcf6bcb9065ebefa545c530c9b74 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Wed, 29 Jun 2016 20:59:21 +0200 Subject: [PATCH] Added Upper/Lower Sorbian languages --- django/conf/global_settings.py | 2 ++ django/conf/locale/__init__.py | 12 ++++++++++++ django/conf/locale/en/LC_MESSAGES/django.po | 14 +++++++++++--- 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/django/conf/global_settings.py b/django/conf/global_settings.py index b1868b97fb..94cfcf25e5 100644 --- a/django/conf/global_settings.py +++ b/django/conf/global_settings.py @@ -67,6 +67,7 @@ LANGUAGES = [ ('cy', gettext_noop('Welsh')), ('da', gettext_noop('Danish')), ('de', gettext_noop('German')), + ('dsb', gettext_noop('Lower Sorbian')), ('el', gettext_noop('Greek')), ('en', gettext_noop('English')), ('en-au', gettext_noop('Australian English')), @@ -90,6 +91,7 @@ LANGUAGES = [ ('he', gettext_noop('Hebrew')), ('hi', gettext_noop('Hindi')), ('hr', gettext_noop('Croatian')), + ('hsb', gettext_noop('Upper Sorbian')), ('hu', gettext_noop('Hungarian')), ('ia', gettext_noop('Interlingua')), ('id', gettext_noop('Indonesian')), diff --git a/django/conf/locale/__init__.py b/django/conf/locale/__init__.py index d9102a11da..2cdda3cffd 100644 --- a/django/conf/locale/__init__.py +++ b/django/conf/locale/__init__.py @@ -95,6 +95,12 @@ LANG_INFO = { 'name': 'German', 'name_local': 'Deutsch', }, + 'dsb': { + 'bidi': False, + 'code': 'dsb', + 'name': 'Lower Sorbian', + 'name_local': 'dolnoserbski', + }, 'el': { 'bidi': False, 'code': 'el', @@ -233,6 +239,12 @@ LANG_INFO = { 'name': 'Croatian', 'name_local': 'Hrvatski', }, + 'hsb': { + 'bidi': False, + 'code': 'hsb', + 'name': 'Upper Sorbian', + 'name_local': 'hornjoserbsce', + }, 'hu': { 'bidi': False, 'code': 'hu', diff --git a/django/conf/locale/en/LC_MESSAGES/django.po b/django/conf/locale/en/LC_MESSAGES/django.po index 2a8c5b7c76..01fa3b1534 100644 --- a/django/conf/locale/en/LC_MESSAGES/django.po +++ b/django/conf/locale/en/LC_MESSAGES/django.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: Django\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-05-17 23:12+0200\n" +"POT-Creation-Date: 2016-06-29 20:57+0200\n" "PO-Revision-Date: 2010-05-13 15:35+0200\n" "Last-Translator: Django team\n" "Language-Team: English \n" @@ -69,7 +69,11 @@ msgstr "" msgid "German" msgstr "" -#: conf/global_settings.py:65 +#: conf/global_settings.py:70 +msgid "Lower Sorbian" +msgstr "" + +#: conf/global_settings.py:71 msgid "Greek" msgstr "" @@ -161,7 +165,11 @@ msgstr "" msgid "Croatian" msgstr "" -#: conf/global_settings.py:86 +#: conf/global_settings.py:94 +msgid "Upper Sorbian" +msgstr "" + +#: conf/global_settings.py:95 msgid "Hungarian" msgstr ""