summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Wachter <bwachter-tmw@lart.info>2009-04-08 04:05:00 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-08 10:18:39 +0200
commitda339701474848499dafa41eaaa1a79be5f1de46 (patch)
tree601cc499183220ca2c1b29ac42dbfe28d32abfbc
parent893b27069504c37f631ca76eae4df268e40c7b2c (diff)
downloadmana-da339701474848499dafa41eaaa1a79be5f1de46.tar.gz
mana-da339701474848499dafa41eaaa1a79be5f1de46.tar.bz2
mana-da339701474848499dafa41eaaa1a79be5f1de46.tar.xz
mana-da339701474848499dafa41eaaa1a79be5f1de46.zip
Added support for locales
-rw-r--r--CMakeLists.txt1
-rw-r--r--po/CMakeLists.txt4
2 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6cefa798..2264e812 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,5 +21,6 @@ ENDIF (WIN32)
ADD_SUBDIRECTORY(data)
ADD_SUBDIRECTORY(src)
+ADD_SUBDIRECTORY(po)
INSTALL(FILES tmw.desktop DESTINATION share/applications)
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
new file mode 100644
index 00000000..1c634a89
--- /dev/null
+++ b/po/CMakeLists.txt
@@ -0,0 +1,4 @@
+FIND_PACKAGE(Gettext REQUIRED)
+
+FILE(GLOB POFILES *.po)
+GETTEXT_CREATE_TRANSLATIONS(tmw.pot ${POFILES}) \ No newline at end of file