[rkward-cvs] [rkward] scripts: Preserve format hints in translation export (kde-format, c-format, fuzzy)

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Sun Feb 1 17:15:29 UTC 2015


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:


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
rkward-cvs mailing list
rkward-cvs at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-cvs


More information about the rkward-tracker mailing list