From fe6ec7f1aa265a59c0080f2faffdf478db129e61 Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Tue, 12 Dec 2017 13:12:38 +0000 Subject: [PATCH] New languages: de fr id pt_PT sr sv_SE --- webapp/titanembeds/i18n.py | 6 + webapp/titanembeds/templates/about.html.j2 | 36 +++++ .../translations/de/LC_MESSAGES/messages.po | 151 ++++++++++++++++++ .../translations/fr/LC_MESSAGES/messages.po | 151 ++++++++++++++++++ .../translations/id/LC_MESSAGES/messages.po | 151 ++++++++++++++++++ .../pt_PT/LC_MESSAGES/messages.po | 151 ++++++++++++++++++ .../translations/sr/LC_MESSAGES/messages.po | 151 ++++++++++++++++++ .../sv_SE/LC_MESSAGES/messages.po | 151 ++++++++++++++++++ 8 files changed, 948 insertions(+) create mode 100644 webapp/titanembeds/translations/de/LC_MESSAGES/messages.po create mode 100644 webapp/titanembeds/translations/fr/LC_MESSAGES/messages.po create mode 100644 webapp/titanembeds/translations/id/LC_MESSAGES/messages.po create mode 100644 webapp/titanembeds/translations/pt_PT/LC_MESSAGES/messages.po create mode 100644 webapp/titanembeds/translations/sr/LC_MESSAGES/messages.po create mode 100644 webapp/titanembeds/translations/sv_SE/LC_MESSAGES/messages.po diff --git a/webapp/titanembeds/i18n.py b/webapp/titanembeds/i18n.py index 3b7ecb3..e95af2f 100644 --- a/webapp/titanembeds/i18n.py +++ b/webapp/titanembeds/i18n.py @@ -1,10 +1,16 @@ LANGUAGES = { 'da': 'Dansk', # Danish + 'de': 'Deutsche', # German 'en_US': 'English', 'es_ES': 'Español', # Spanish + 'fr': 'français', # French + 'id': 'bahasa Indonesia', # Indonesian 'it': 'Italiano', # Italian 'nl': 'Nederlands', # Dutch 'pl': 'Polski', # Polish + 'pt_PT': 'Português', # Portuguese + 'sr': 'Српски', # Serbian (Cyrillic) + 'sv_SE': 'svenska', # Swedish 'th': "ไทย", # Thai 'tr': 'Türk', # Turkish } \ No newline at end of file diff --git a/webapp/titanembeds/templates/about.html.j2 b/webapp/titanembeds/templates/about.html.j2 index 6e9a9b1..7a5c9b0 100644 --- a/webapp/titanembeds/templates/about.html.j2 +++ b/webapp/titanembeds/templates/about.html.j2 @@ -281,6 +281,12 @@ We want to see all of our members rise to their potential and find success in th
  • Victor Fisker (victorfrb)
  • +
  • + German (Deutsche) [de] + +
  • English (English) [en_US]
  • +
  • + French (français) [fr] + +
  • +
  • + Indonesian (bahasa Indonesia) [id] + +
  • Italian (Italiano) [it]
  • +
  • + Portuguese (Português) [pt_PT] + +
  • +
  • + Serbian (Cyrillic) (Српски) [sr] + +
  • +
  • + Swedish (svenska) [sv_SE] + +
  • Thai (ไทย) [th]