X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fauxiliar%2Ftely-gettext.py;h=3adc4cb6d3b692b09d8b953af22e4c52c633fb8e;hb=40aac0ae57ee113faa860ba221d83d9e6312173e;hp=870a10e97f9fa504fb970f11e97dca49d671af47;hpb=ca0f6d68d6e123a6a278aad88167004b2adda969;p=lilypond.git 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 --