mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Cosmetics
This commit is contained in:
parent
079b18c0fd
commit
e9d2782b9c
@ -83,14 +83,14 @@ find_package (Gettext)
|
||||
set (_potFile ${CMAKE_CURRENT_SOURCE_DIR}/resources/translations/${PROJECT_NAME}.pot)
|
||||
|
||||
add_custom_command (OUTPUT ${_potFile}
|
||||
COMMAND xgettext --keyword=translate --keyword=ptranslate:1c,2 -o ${_potFile} ${sources}
|
||||
DEPENDS ${_src_list}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Extract translatable messages to ${_potFile}"
|
||||
COMMAND xgettext --keyword=translate --keyword=ptranslate:1c,2 -o ${_potFile} ${sources}
|
||||
DEPENDS ${_src_list}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Extract translatable messages to ${_potFile}"
|
||||
)
|
||||
|
||||
add_custom_target (pot_file ALL ${_all}
|
||||
DEPENDS ${_potFile}
|
||||
DEPENDS ${_potFile}
|
||||
)
|
||||
|
||||
GETTEXT_CREATE_TRANSLATIONS (${_potFile} ALL ${po})
|
||||
gettext_create_translations (${_potFile} ALL ${po})
|
||||
|
Loading…
x
Reference in New Issue
Block a user