o cc @sdZddlZddlZddlZddlZddZGdddZeddd d Zed ej Z ed ej Z d Z ddZ eddZeddddZeddZeddZedde dZeddZedd Zed!d"ddZed#d$Zed%d&Zed'd(ddZeeeeeeeeeeeef Zeeeeeeeeeeeef Zd)d*eDZd+d,eDZed-kred.d/d,eDdSd0d*eDZ d1ej!vrej!d1Z"z d2d*eDZ#WdSe$yej%&d3e Z#YdSwe Z#dS)4z Documentation i18n module NcCs |dkr |d||S||S)N.)pZlangextextrrW/home/lily/lilypond-2.24.1/release/binaries/lilypond/lilypond-2.24.1/python/langdefs.pylang_file_name src@s(eZdZddddfddZddZdS) LanguageDefNcC|SNr)srrr'zLanguageDef.TcCs:||_||_d|_|dur|j|_n||_||_||_dS)NT)codenameenabledwebext html_filterenable_ly_identifier_l10n)selfrrrrrrrr__init__'s  zLanguageDef.__init__cCst||j|Sr )rr)rprefixrrrr file_name2szLanguageDef.file_name)__name__ __module__ __qualname__rrrrrrr &s r enZEnglishr)rz z))z :z :)z ;z ;)z ?z ?)z !z !cCst|}|r |}nd}t|}|r|}nt|}|||}tD] }||d|d}q&|d||||dS)Nr) html_body_researchendhtml_end_body_restartlenfrench_html_typo_rulesreplace)ZpagemZ body_beginZbody_endbodyrrrrfrench_html_filterDs     r)cauCatalàcsuČeskyF)rdeZDeutschesuEspañolfru Français)rhuZMagyaritZItalianojau 日本語nlZ Nederlandsptu Portuguêszhu中文cCsi|]}|j|qSrr.0lrrr gsr9cCs g|] }|jr|jdkr|qS)rrrr6rrr isr;__main__ cCsg|]}|jr|jqSrr:r6rrrr;qcCsi|]}|jddqS)cSr r r)xrrrr srz.r5r6rrrr9sr>ZLYDOC_LOCALEDIRcCs$i|]}|jtdt|jgjqS)z lilypond-doc)rgettext translation localedirr6rrrr9ws z=langdefs.py: warning: lilypond-doc gettext domain not found. )'__doc__r@osresysrr ZsitecompileIrr!r$r)r*r+r,r-r.r/r0r1r2r3r4Z LANGUAGESZ WEB_LANGUAGESZLANGDICTZnon_english_enabled_langsrprintjoinZtranslation_fallbackenvironrBrAOSErrorstderrwriterrrrsV