diff options
author | Francisco Vila <francisco.vila@hispalinux.es> | 2011-01-30 17:02:00 +0100 |
---|---|---|
committer | Francisco Vila <francisco.vila@hispalinux.es> | 2011-02-04 12:30:17 +0100 |
commit | 61c74b255b9ee12194853a97e0c2fe2882777f8f (patch) | |
tree | a10fb9e0ada9a98efc9a3765bffdc5ccec91d628 /python/langdefs.py | |
parent | 42ae342ba877dc8f26cabb5cc3937a6d3cdb4066 (diff) |
Web: add Chinese webpage by Ben Luo, thanks!
Diffstat (limited to 'python/langdefs.py')
-rw-r--r-- | python/langdefs.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/python/langdefs.py b/python/langdefs.py index 032c79150c..f0d2030070 100644 --- a/python/langdefs.py +++ b/python/langdefs.py @@ -59,6 +59,7 @@ def french_html_filter (page): body = body.replace (r[0], r[1]) return page[:body_begin] + body + page[body_end:] +# cs = LanguageDef ('cs', 'česky', enable_ly_identifier_l10n=False) de = LanguageDef ('de', 'deutsch') es = LanguageDef ('es', 'español') fr = LanguageDef ('fr', 'français', double_punct_char_sep=' ', html_filter = french_html_filter) @@ -66,12 +67,14 @@ hu = LanguageDef ('hu', 'magyar') it = LanguageDef ('it', 'italiano') ja = LanguageDef ('ja', '日本語', enable_ly_identifier_l10n=False) nl = LanguageDef ('nl', 'nederlands') +zh = LanguageDef ('zh', '中文', enable_ly_identifier_l10n=False) # Outdated or broken translations may be disabled # (please run 'make doc-clean' before doing that): #fr.enabled = False -LANGUAGES = (site, de, es, fr, hu, it, ja, nl) +# LANGUAGES = (site, cs, de, es, fr, hu, it, ja, nl, zh) +LANGUAGES = (site, de, es, fr, hu, it, ja, nl, zh) if __name__ == '__main__': print ' '.join ([l.code for l in LANGUAGES if l.enabled and l.code != 'en']) |