diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-05-28 10:52:07 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-05-28 10:52:07 +0000 |
| commit | b38dc8c2f956b367ca681dbdc8ed6ffc3c440fa1 (patch) | |
| tree | bee0534dd8b18f20e2b2282646bec4c1a0aeb11e /po/CMakeLists.txt | |
| parent | Fix align-to of text objects (diff) | |
| download | inkscape-b38dc8c2f956b367ca681dbdc8ed6ffc3c440fa1.tar.gz inkscape-b38dc8c2f956b367ca681dbdc8ed6ffc3c440fa1.zip | |
Update pofiles
Diffstat (limited to 'po/CMakeLists.txt')
| -rw-r--r-- | po/CMakeLists.txt | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 06245eaba..80bb731d5 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -29,17 +29,18 @@ if(UNIX) # update inkscape.pot SET(_potFile ${CMAKE_CURRENT_SOURCE_DIR}/${CMAKE_PROJECT_NAME}.pot) + set(xgettext_options -j --keyword=_ --keyword=N_ --keyword=Q_ --keyword=C_:1c,2 --keyword=NC_:1c,2 --msgid-bugs-address=inkscape-devel@lists.sourceforge.net --strict -s --from-code=UTF-8 -ktranslatable -o ${_potFile}) add_custom_command(OUTPUT ${_potFile} #COMMAND sh -c "${INTLTOOL-UPDATE} --pot --gettext-package=inkscape" COMMAND touch ${_potFile} - COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} -j -L Glade --from-code=UTF-8 -ktranslatable -k_ -kN_ -o ${_potFile} -f POTFILES.ui.in - COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} -j -L Python --from-code=UTF-8 -f POTFILES.py.in -o ${_potFile} - COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} -j -f POTFILES.inx.in --from-code=UTF-8 --its its/inx.its -o ${_potFile} - COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} -j -C --from-code=UTF-8 -f POTFILES.src.in -o ${_potFile} - COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} -j -L AppData --from-code=UTF-8 ../org.inkscape.Inkscape.appdata.xml.in -o ${_potFile} - COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} -j -L Desktop --from-code=UTF-8 ../org.inkscape.Inkscape.desktop.template -o ${_potFile} - COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} -j --its its/menus.its --from-code=UTF-8 ../share/ui/menus.xml -o ${_potFile} - COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} -j --its its/units.its --from-code=UTF-8 ../share/ui/units.xml -o ${_potFile} + COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} ${xgettext_options} -C -f POTFILES.src.in + COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} ${xgettext_options} -L Glade -f POTFILES.ui.in + COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} ${xgettext_options} -L Python -f POTFILES.py.in + COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} ${xgettext_options} -f POTFILES.inx.in --from-code=UTF-8 --its its/inx.its + COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} ${xgettext_options} -L AppData ../org.inkscape.Inkscape.appdata.xml.in + COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} ${xgettext_options} -L Desktop ../org.inkscape.Inkscape.desktop.template + COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} ${xgettext_options} --its its/menus.its ../share/ui/menus.xml + COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} ${xgettext_options} --its its/units.its ../share/ui/units.xml COMMENT "Extract translatable messages to ${_potFile}" WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ) |
