summaryrefslogtreecommitdiff
path: root/po/CMakeLists.txt
diff options
context:
space:
mode:
authorTomáš Chvátal <scarabeus@gentoo.org>2009-05-23 13:47:39 +0200
committerTomáš Chvátal <scarabeus@gentoo.org>2009-05-23 13:47:39 +0200
commit02bb83446efcf80e7f1dba43403af8357717e8a0 (patch)
tree859e7e5a58317267931a0e6fb754e7bbed61405a /po/CMakeLists.txt
parent8cf0c79d018669b9b424d543dbf901a3124a8b2f (diff)
Add comment on how the translations should be installed. TBD
Diffstat (limited to 'po/CMakeLists.txt')
-rw-r--r--po/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
index 165d352..b603755 100644
--- a/po/CMakeLists.txt
+++ b/po/CMakeLists.txt
@@ -9,6 +9,12 @@ SET ( _gmoFiles )
###############################################################################
# CREATE .MO FOR EACH .PO
###############################################################################
+# How are languages installed:
+# Check if there is env variable LINGUAS
+# if it is unset, install all languages
+# if it is empty, dont install any language
+# if it is set to some value, install those
+###############################################################################
FOREACH ( _current_PO_FILE ${_po_files} )
GET_FILENAME_COMPONENT( _lang ${_current_PO_FILE} NAME_WE )
SET( _gmoFile ${CMAKE_BINARY_DIR}/po/${_lang}.gmo )