From: John Mandereau Date: Wed, 21 Oct 2009 16:58:51 +0000 (+0200) Subject: Translated docs: minor improvement of node translation in source files X-Git-Tag: release/2.13.7-0~41 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=cbac579304b0ecf3a5ecb3515099ed4f721e0fe7;p=lilypond.git Translated docs: minor improvement of node translation in source files --- diff --git a/scripts/auxiliar/tely-gettext.py b/scripts/auxiliar/tely-gettext.py index 870a10e97f..3adc4cb6d3 100755 --- a/scripts/auxiliar/tely-gettext.py +++ b/scripts/auxiliar/tely-gettext.py @@ -50,7 +50,8 @@ def process_file (filename, master_file_dir='.', included=False): page = f.read () f.close() page = ref_re.sub (ref_gettext, page) - page = node_section_re.sub (node_gettext, page) + if not '\\n@translationof' in page: + page = node_section_re.sub (node_gettext, page) page = section_only_re.sub (section_gettext, page) page = menu_entry_re.sub (menu_entry_gettext, page) page = page.replace ("""@c -- SKELETON FILE --