X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=buildscripts%2Ftranslations-status.py;h=4180ea86722c925bc4250e61311a4832735a0c34;hb=c6554467b0a9beddf0d7ef12746ae31a25fe36e7;hp=a3b6799f21f8b43777ed3e69229610395114062f;hpb=37ca1f80bf5401accd17056938f4f7b2c147ddb2;p=lilypond.git diff --git a/buildscripts/translations-status.py b/buildscripts/translations-status.py index a3b6799f21..4180ea8672 100755 --- a/buildscripts/translations-status.py +++ b/buildscripts/translations-status.py @@ -19,19 +19,15 @@ import string import os import langdefs +import buildlib def progress (str): sys.stderr.write (str + '\n') progress ("translations-status.py") -buildscript_dir = sys.argv[1] - _doc = lambda s: s -sys.path.append (buildscript_dir) -import buildlib - # load gettext messages catalogs translation = langdefs.translation @@ -50,7 +46,7 @@ checkers_re = re.compile (r'^@c\s+Translation\s*checkers\s*:\s*(.*?)$', re.M | re.I) status_re = re.compile (r'^@c\s+Translation\s*status\s*:\s*(.*?)$', re.M | re.I) post_gdp_re = re.compile ('post.GDP', re.I) -untranslated_node_str = 'UNTRANSLATED NODE: IGNORE ME' +untranslated_node_str = '@untranslated' skeleton_str = '-- SKELETON FILE --' section_titles_string = _doc ('Section titles')