summaryrefslogtreecommitdiffstats
path: root/po/CMakeLists.txt
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2019-07-11 13:19:27 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2019-07-11 13:21:34 +0000
commit8ab3de6dc02eb72116f9cb5b8ff8698ad02904a4 (patch)
treed82ef73ee291561bfd02f507185da8eddd278bd7 /po/CMakeLists.txt
parentadaptagrams: sync with upstream (diff)
downloadinkscape-8ab3de6dc02eb72116f9cb5b8ff8698ad02904a4.tar.gz
inkscape-8ab3de6dc02eb72116f9cb5b8ff8698ad02904a4.zip
Add line info back
Diffstat (limited to 'po/CMakeLists.txt')
-rw-r--r--po/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
index ec289d71b..a2004ac59 100644
--- a/po/CMakeLists.txt
+++ b/po/CMakeLists.txt
@@ -39,6 +39,7 @@ add_custom_target(inkscape_pot BYPRODUCTS ${_potFile}
COMMAND ${its_workaround} ${GETTEXT_XGETTEXT_EXECUTABLE} ${xgettext_options} ../share/ui/menus.xml
# the following uses po/its/units.{loc, its}
COMMAND ${its_workaround} ${GETTEXT_XGETTEXT_EXECUTABLE} ${xgettext_options} ../share/ui/units.xml
+ COMMAND sed -i 's/^\# File/\#: File/g' ${_potFile}
COMMENT "Extract translatable messages to ${_potFile}"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}