From 877774a22601e7feb36013d25e6aaf8fe81b15bc Mon Sep 17 00:00:00 2001 From: Didier Raboud Date: Thu, 27 Dec 2012 13:52:47 +0100 Subject: Update translation pot-file and build-target --- src/po/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/po/CMakeLists.txt') diff --git a/src/po/CMakeLists.txt b/src/po/CMakeLists.txt index 3b26571..df667dd 100644 --- a/src/po/CMakeLists.txt +++ b/src/po/CMakeLists.txt @@ -6,14 +6,13 @@ find_program(XGETTEXT_CMD xgettext) add_custom_command(OUTPUT ${_potFile} COMMAND ${XGETTEXT_CMD} ../app/app.cpp --output=${_potFile} - COMMAND ${XGETTEXT_CMD} ../common/restext_strings.c --output=${_potFile} --join-existing --extract-all --no-location + COMMAND ${XGETTEXT_CMD} ../common/restext.cpp --output=${_potFile} --join-existing --extract-all --no-location WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMENT "Extract translatable messages to ${_potFile}" ) -add_custom_target(_${potFile} ${_all} DEPENDS ${_potFile}) +add_custom_target(update-pot DEPENDS ${_potFile}) file(GLOB _poFiles *.po) - gettext_create_translations(${_potFile} ALL ${_poFiles}) -- cgit v1.2.3-1-g7c22