[Blends-commit] [SCM] website branch, master, updated. c070f5679fe6a8cf71767ee3fbb50a56da0cb09a

Ole Streicher ole at aip.de
Wed Mar 16 13:49:13 UTC 2016


The following commit has been merged in the master branch:
commit c070f5679fe6a8cf71767ee3fbb50a56da0cb09a
Author: Ole Streicher <ole at aip.de>
Date:   Wed Mar 16 14:49:09 2016 +0100

    Use unicode strings for foreign language names

diff --git a/webtools/blendslanguages.py b/webtools/blendslanguages.py
index b50ad25..8d930c4 100644
--- a/webtools/blendslanguages.py
+++ b/webtools/blendslanguages.py
@@ -13,49 +13,49 @@ License: GPL
 #  'printed'  = printed name for links
 language_dict = {
     'en': {'short': 'en', 'htaccess': 'en',
-           'title': 'English', 'printed': 'English'},
+           'title': 'English', 'printed': u'English'},
     'cs': {'short': 'cs', 'htaccess': 'cs',
-           'title': 'Czech', 'printed': 'česky'},
+           'title': 'Czech', 'printed': u'česky'},
     'da': {'short': 'da', 'htaccess': 'da',
-           'title': 'Danish', 'printed': 'dansk'},
+           'title': 'Danish', 'printed': u'dansk'},
     'de': {'short': 'de', 'htaccess': 'de',
-           'title': 'German', 'printed': 'Deutsch'},
+           'title': 'German', 'printed': u'Deutsch'},
     'es': {'short': 'es', 'htaccess': 'es',
-           'title': 'Spanish', 'printed': 'español'},
+           'title': 'Spanish', 'printed': u'español'},
     'fi': {'short': 'fi', 'htaccess': 'fi',
-           'title': 'Finnish', 'printed': 'suomi'},
+           'title': 'Finnish', 'printed': u'suomi'},
     'fr': {'short': 'fr', 'htaccess': 'fr',
-           'title': 'French', 'printed': 'français'},
+           'title': 'French', 'printed': u'français'},
     'hu': {'short': 'hu', 'htaccess': 'hu',
-           'title': 'Hungarian', 'printed': 'magyar'},
+           'title': 'Hungarian', 'printed': u'magyar'},
     'it': {'short': 'it', 'htaccess': 'it',
-           'title': 'Italian', 'printed': 'Italiano'},
+           'title': 'Italian', 'printed': u'Italiano'},
     'ja': {'short': 'ja', 'htaccess': 'ja',
-           'title': 'Japanese', 'printed': '日本語 (Nihongo)'},
+           'title': 'Japanese', 'printed': u'日本語 (Nihongo)'},
     'ko': {'short': 'ko', 'htaccess': 'ko',
-           'title': 'Korean', 'printed': '한국어 (Hangul)'},
+           'title': 'Korean', 'printed': u'한국어 (Hangul)'},
     'nl': {'short': 'nl', 'htaccess': 'nl',
-           'title': 'Dutch', 'printed': 'Nederlands'},
+           'title': 'Dutch', 'printed': u'Nederlands'},
     'pl': {'short': 'pl', 'htaccess': 'pl',
-           'title': 'Polish', 'printed': 'polski'},
+           'title': 'Polish', 'printed': u'polski'},
     'pt_BR': {'short': 'pt', 'htaccess': 'pt-BR',
-              'title': 'Portuguese', 'printed': 'Português'},
-    'ru': {'short': 'ru', 'htaccess': 'ru', 'title': 'Russian',
-           'printed': 'Русский (Russkij)'},
+              'title': 'Portuguese', 'printed': u'Português'},
+    'ru': {'short': 'ru', 'htaccess': 'ru',
+           'title': 'Russian', 'printed': u'Русский (Russkij)'},
     'uk': {'short': 'uk', 'htaccess': 'uk',
-           'title': 'Ukrainian', 'printed': "українська (ukrajins'ka)"},
+           'title': 'Ukrainian', 'printed': u"українська (ukrajins'ka)"},
     'sk': {'short': 'sk', 'htaccess': 'sk',
-           'title': 'Slovenian', 'printed': 'slovensky'},
+           'title': 'Slovenian', 'printed': u'slovensky'},
     'sr': {'short': 'sr', 'htaccess': 'sr',
-           'title': 'Serbian', 'printed': 'српски (srpski)'},
+           'title': 'Serbian', 'printed': u'српски (srpski)'},
     'sv': {'short': 'sv', 'htaccess': 'sv',
-           'title': 'Swedish', 'printed': 'svenska'},
+           'title': 'Swedish', 'printed': u'svenska'},
     'vi': {'short': 'vi', 'htaccess': 'vi',
-           'title': 'Vietnamese', 'printed': 'Tiếng Việt'},
+           'title': 'Vietnamese', 'printed': u'Tiếng Việt'},
     'zh_CN': {'short': 'zh_cn', 'htaccess': 'zh-CN',
-              'title': 'Chinese (China)', 'printed': '中文(简)'},
+              'title': 'Chinese (China)', 'printed': u'中文(简)'},
     'zh_TW': {'short': 'zh_tw', 'htaccess': 'zh-TW',
-              'title': 'Chinese (Taiwan)', 'printed': '中文(正)'},
+              'title': 'Chinese (Taiwan)', 'printed': u'中文(正)'},
 }
 
 # global languages

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list