summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorArthur Renato Mello <arthur@mandriva.com>2009-05-21 16:44:32 +0000
committerArthur Renato Mello <arthur@mandriva.com>2009-05-21 16:44:32 +0000
commita6b202a524e80a19776095ea1962031b7213df90 (patch)
tree86c87a4d947ab421fd6d14ac7c313bcfdb8d2be8 /po
parent3f7a8b63cb4105d4ac64b5564afdcb6f00620453 (diff)
downloadsplash-a6b202a524e80a19776095ea1962031b7213df90.tar
splash-a6b202a524e80a19776095ea1962031b7213df90.tar.gz
splash-a6b202a524e80a19776095ea1962031b7213df90.tar.bz2
splash-a6b202a524e80a19776095ea1962031b7213df90.tar.xz
splash-a6b202a524e80a19776095ea1962031b7213df90.zip
Update CMakeLists.txt to use format lang_code.po
Diffstat (limited to 'po')
-rw-r--r--po/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
index 9610044..9395a8f 100644
--- a/po/CMakeLists.txt
+++ b/po/CMakeLists.txt
@@ -12,12 +12,11 @@ ELSE(NOT GETTEXT_MSGFMT_EXECUTABLE)
ADD_CUSTOM_TARGET(translations ALL)
- FILE(GLOB PO_FILES ${catalogname}*.po)
+ FILE(GLOB PO_FILES *.po)
FOREACH(_poFile ${PO_FILES})
GET_FILENAME_COMPONENT(_poFileName ${_poFile} NAME)
- STRING(REGEX REPLACE "^${catalogname}_?" "" _langCode ${_poFileName} )
- STRING(REGEX REPLACE "\\.po$" "" _langCode ${_langCode} )
+ STRING(REGEX REPLACE "\\.po$" "" _langCode ${_poFileName} )
IF( _langCode )
GET_FILENAME_COMPONENT(_lang ${_poFile} NAME_WE)