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

Andreas Tille tille at debian.org
Tue Aug 18 19:03:27 UTC 2015


The following commit has been merged in the master branch:
commit 91e58d83d9b88652700862391c49b72ed1e38d86
Author: Andreas Tille <tille at debian.org>
Date:   Tue Aug 18 21:02:29 2015 +0200

    Add vietnames translations to Blends pages

diff --git a/webtools/blendslanguages.py b/webtools/blendslanguages.py
index 292b6ec..4903897 100644
--- a/webtools/blendslanguages.py
+++ b/webtools/blendslanguages.py
@@ -31,6 +31,7 @@ language_dict = { 'en'    : {'short':'en', 'htaccess':'en'   , 'title':'English'
                   'sk'    : {'short':'sk', 'htaccess':'sk'   , 'title':'Slovenian',       'printed':Markup('slovensky')},
                   'sr'    : {'short':'sr', 'htaccess':'sr'   , 'title':'Serbian',         'printed':Markup('српски(srpski)')},
                   'sv'    : {'short':'sv', 'htaccess':'sv'   , 'title':'Swedish',         'printed':Markup('svenska')},
+                  'vi'    : {'short':'vi', 'htaccess':'vi'   , 'title': 'Vietnamese',     'printed':Markup('Tiếng Việt')},
                   'zh_CN' : {'short':'zh_cn', 'htaccess':'zh-CN', 'title':'Chinese (China)',  'printed':Markup('中文(简)')},
                   'zh_TW' : {'short':'zh_tw', 'htaccess':'zh-TW', 'title':'Chinese (Taiwan)', 'printed':Markup('中文(正)')},
                 }
diff --git a/webtools/blendstasktools.py b/webtools/blendstasktools.py
index 1e399c7..d7a9eac 100644
--- a/webtools/blendstasktools.py
+++ b/webtools/blendstasktools.py
@@ -350,6 +350,7 @@ query = """PREPARE query_pkgs (text[],text[]) AS
           description_sr text, long_description_sr text,
           description_sv text, long_description_sv text,
           description_uk text, long_description_uk text,
+          description_vi text, long_description_vi text,
           "description_zh_CN" text, "long_description_zh_CN" text,
           "description_zh_TW" text, "long_description_zh_TW" text
         )"""
@@ -453,6 +454,7 @@ query = """PREPARE query_metapkg_trans (text[]) AS
           description_sr text, long_description_sr text,
           description_sv text, long_description_sv text,
           description_uk text, long_description_uk text,
+          description_vi text, long_description_vi text,
           "description_zh_CN" text, "long_description_zh_CN" text,
           "description_zh_TW" text, "long_description_zh_TW" text
         )"""
diff --git a/webtools_py3/blendslanguages.py b/webtools_py3/blendslanguages.py
index 90c189e..f4e85b5 100644
--- a/webtools_py3/blendslanguages.py
+++ b/webtools_py3/blendslanguages.py
@@ -58,6 +58,8 @@ language_dict = {'en': {'short': 'en', 'htaccess': 'en', 'title': 'English',
                                         и(srpski)')},
                  'sv': {'short': 'sv', 'htaccess': 'sv', 'title': 'Swedish',
                         'printed': Markup('svenska')},
+                 'vi': {'short': 'vi', 'htaccess': 'vi', 'title': 'Vietnamese',
+                        'printed': Markup('Tiếng Việt')},
                  'zh_CN': {'short': 'zh_cn', 'htaccess': 'zh-CN',
                            'title': 'Chinese (China)',
                            'printed': Markup('中文(简)')},
diff --git a/webtools_py3/blendstasktools_udd.py b/webtools_py3/blendstasktools_udd.py
index 89605f3..1601b7a 100644
--- a/webtools_py3/blendstasktools_udd.py
+++ b/webtools_py3/blendstasktools_udd.py
@@ -336,6 +336,7 @@ query = """PREPARE query_pkgs (text[],text[]) AS
           description_sr text, long_description_sr text,
           description_sv text, long_description_sv text,
           description_uk text, long_description_uk text,
+          description_vi text, long_description_vi text,
           "description_zh_CN" text, "long_description_zh_CN" text,
           "description_zh_TW" text, "long_description_zh_TW" text
         )"""
@@ -439,6 +440,7 @@ query = """PREPARE query_metapkg_trans (text[]) AS
           description_sr text, long_description_sr text,
           description_sv text, long_description_sv text,
           description_uk text, long_description_uk text,
+          description_vi text, long_description_vi text,
           "description_zh_CN" text, "long_description_zh_CN" text,
           "description_zh_TW" text, "long_description_zh_TW" text
         )"""

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list