X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=python%2Flangdefs.py;h=7511ffb2f155fd99d67ecff9e226fdae82a5d28c;hb=97a0169312a260933246ab224e4f8b0969871dd5;hp=983fe3bb300a8050395cf634c07dabb128d4fa5e;hpb=3c6c00c08ff31f57ec8d88450b4e4e7917bc4f3e;p=lilypond.git diff --git a/python/langdefs.py b/python/langdefs.py index 983fe3bb30..7511ffb2f1 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:] +ca = LanguageDef ('ca', 'català') cs = LanguageDef ('cs', 'česky', enable_ly_identifier_l10n=False) de = LanguageDef ('de', 'deutsch') es = LanguageDef ('es', 'español') @@ -73,8 +74,11 @@ zh = LanguageDef ('zh', '中文', enable_ly_identifier_l10n=False) # (please run 'make doc-clean' before doing that): #fr.enabled = False -# LANGUAGES = (site, cs, de, es, fr, hu, it, ja, nl, zh) -LANGUAGES = (site, cs, de, es, fr, hu, it, ja, nl, zh) +LANGUAGES = (site, ca, cs, de, es, fr, hu, it, ja, nl, zh) +WEB_LANGUAGES = (site, ca, cs, de, es, fr, hu, it, ja, nl, zh) + +if os.getenv("MAKEWEB") == '1': + LANGUAGES=WEB_LANGUAGES if __name__ == '__main__': print ' '.join ([l.code for l in LANGUAGES if l.enabled and l.code != 'en'])