From: Thomas F. <tho...@ru...> - 2015-02-01 17:15:47
|
Git commit 0726a4f41b4cadf3589239f4555421a4a9d3dd41 by Thomas Friedrichsmeier. Committed on 31/01/2015 at 17:21. Pushed by tfry into branch 'master'. Preserve format hints in translation export (kde-format, c-format, fuzzy) M +2 -0 scripts/import_translations.py http://commits.kde.org/rkward/0726a4f41b4cadf3589239f4555421a4a9d3dd41 diff --git a/scripts/import_translations.py b/scripts/import_translations.py index efb411d..8df52b9 100755 --- a/scripts/import_translations.py +++ b/scripts/import_translations.py @@ -85,6 +85,8 @@ for lang in LANGUAGES: if not prev_was_comment: of.write ("#: translation_export.do_not_modify_here:0\n") prev_was_comment = True + elif (line.startswith ("#,")): + of.write (line) else: continue else: |