X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=python%2Flangdefs.py;h=7511ffb2f155fd99d67ecff9e226fdae82a5d28c;hb=da6591bef1cd9c684a9fb98f1563ea40c543ecdd;hp=983fe3bb300a8050395cf634c07dabb128d4fa5e;hpb=51ecbd57918c283a84804eb5f851602f5cf3a79c;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'])