]> source.dussan.org Git - tigervnc.git/commitdiff
Sort translation strings by file instead
authorPierre Ossman <ossman@cendio.se>
Wed, 3 Dec 2014 12:58:54 +0000 (13:58 +0100)
committerPierre Ossman <ossman@cendio.se>
Wed, 3 Dec 2014 12:58:54 +0000 (13:58 +0100)
This variant keeps more context for the translators by having related
strings clumped together.

po/CMakeLists.txt

index f574510db9047d37f928621a525433396077ccfb..b4c69792dacf87280a3575e652aca106fb0a8be6 100644 (file)
@@ -25,7 +25,7 @@ if (GETTEXT_XGETTEXT_EXECUTABLE)
       --keyword=N_
       "--copyright-holder=TigerVNC Team and many others \(see README.txt\)"
       --msgid-bugs-address=tigervnc-devel@googlegroups.com
-      --sort-output
+      --sort-by-file
       --add-location
       ${po_source}
     COMMENT "Updating tigervnc.pot"
@@ -40,7 +40,7 @@ foreach(lang ${po_FILES})
   # Update po files after pot file
   add_custom_command(TARGET translations_update POST_BUILD
     COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE} --quiet --update --backup=none
-      --sort-output ${po} ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc.pot
+      --sort-by-file ${po} ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc.pot
     COMMENT "Updating ${lang}.po"
   )