mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-17 22:18:56 +00:00
When merging pot files use --previous.
Untested, Ivanovic please test whether it really works.
This commit is contained in:
parent
221ab78362
commit
b29345492e
@ -141,6 +141,7 @@ if(ENABLE_POT_UPDATE_TARGET)
|
||||
OUTPUT ${PROJECT_SOURCE_DIR}/po/${DOMAIN}/${LINGUA}.po.dummy
|
||||
COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE}
|
||||
--backup=none
|
||||
--previous
|
||||
-U ${LINGUA}.po
|
||||
${DOMAIN}.pot
|
||||
DEPENDS
|
||||
@ -191,6 +192,7 @@ if(ENABLE_POT_UPDATE_TARGET)
|
||||
# Now merge with the pot file.
|
||||
COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE}
|
||||
--backup=none
|
||||
--previous
|
||||
-U ${LINGUA}.po
|
||||
${DOMAIN}.pot
|
||||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/po/${DOMAIN}
|
||||
|
Loading…
x
Reference in New Issue
Block a user