summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2013-06-24 13:07:33 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2013-06-24 14:16:39 +0200
commit3e989c96dff7889aff5b6476bf2a8fb9c541bd95 (patch)
treee09490d29a3d8259f2f7b123ea0c40f7518b8929 /po
parent78c167064bfffd30cb623fc82ca9b14d1fe36e7d (diff)
downloadcolobot-3e989c96dff7889aff5b6476bf2a8fb9c541bd95.tar.gz
colobot-3e989c96dff7889aff5b6476bf2a8fb9c541bd95.tar.bz2
colobot-3e989c96dff7889aff5b6476bf2a8fb9c541bd95.zip
Fixed auto-detecting locale on Windows
* localename library is now used to determine the actual locale used * added patched version of FindGettext.cmake to fix installation path of translation files
Diffstat (limited to 'po')
-rw-r--r--po/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
index 22393f9..2bd7461 100644
--- a/po/CMakeLists.txt
+++ b/po/CMakeLists.txt
@@ -15,5 +15,6 @@ add_custom_command(OUTPUT ${_potFile}
add_custom_target(update-pot DEPENDS ${_potFile})
file(GLOB _poFiles *.po)
+set(GETTEXT_INSTALL_PREFIX ${COLOBOT_INSTALL_I18N_DIR})
gettext_create_translations(${_potFile} ALL ${_poFiles})