Clean up translations
* translate only marked strings from restext.cpp * update and clean pot and po files * remove redundant POT-Creation-Datadev-mp
parent
72b4228abe
commit
343504168f
|
@ -6,10 +6,12 @@ find_program(XGETTEXT_CMD xgettext)
|
||||||
|
|
||||||
add_custom_command(OUTPUT ${_potFile}
|
add_custom_command(OUTPUT ${_potFile}
|
||||||
COMMAND ${XGETTEXT_CMD} ${colobot_SOURCE_DIR}/src/app/app.cpp --output=${_potFile}
|
COMMAND ${XGETTEXT_CMD} ${colobot_SOURCE_DIR}/src/app/app.cpp --output=${_potFile}
|
||||||
COMMAND ${XGETTEXT_CMD} ${colobot_SOURCE_DIR}/src/common/restext.cpp --output=${_potFile} --join-existing --extract-all --no-location
|
COMMAND ${XGETTEXT_CMD} ${colobot_SOURCE_DIR}/src/common/restext.cpp --output=${_potFile} --join-existing --keyword=TR --no-location
|
||||||
|
COMMAND sed -i -E "s|^(\"POT-Creation-Date:).*$|\\1 DATE\\\\n\"|" ${_potFile}
|
||||||
|
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
COMMENT "Extract translatable messages to ${_potFile}"
|
COMMENT "Extract translatable messages to ${_potFile}"
|
||||||
|
VERBATIM
|
||||||
)
|
)
|
||||||
|
|
||||||
add_custom_target(update-pot DEPENDS ${_potFile})
|
add_custom_target(update-pot DEPENDS ${_potFile})
|
||||||
|
@ -17,4 +19,3 @@ add_custom_target(update-pot DEPENDS ${_potFile})
|
||||||
file(GLOB _poFiles *.po)
|
file(GLOB _poFiles *.po)
|
||||||
set(GETTEXT_INSTALL_PREFIX ${COLOBOT_INSTALL_I18N_DIR})
|
set(GETTEXT_INSTALL_PREFIX ${COLOBOT_INSTALL_I18N_DIR})
|
||||||
gettext_create_translations(${_potFile} ALL ${_poFiles})
|
gettext_create_translations(${_potFile} ALL ${_poFiles})
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2014-07-10 16:50+0200\n"
|
"POT-Creation-Date: DATE\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -110,9 +110,6 @@ msgstr ""
|
||||||
msgid " Missions on this level:"
|
msgid " Missions on this level:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " Free game on this chapter:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid " Summary:"
|
msgid " Summary:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1747,83 +1744,5 @@ msgstr ""
|
||||||
msgid "Write error"
|
msgid "Write error"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "left;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "right;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "up;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "down;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "gup;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "gdown;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "camera;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "desel;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "action;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "near;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "away;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "next;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "human;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "quit;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "help;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "prog;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "cbot;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "visit;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "speed10;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "speed15;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "speed20;"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "Ctrl"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "Shift"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "Alt"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "Win"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "Button %1"
|
msgid "Button %1"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "%1"
|
|
||||||
msgstr ""
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue