X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=po%2FCMakeLists.txt;h=9e1d70f0df7f996b29bb03cf5de792acad249273;hp=59c23970b16c194fc3608380e0703e56d2cd9b35;hb=d1592fdad29ac39ccdb54cab0472e8ff5de32590;hpb=35b7f86e8ce903cf49e2db1cd0503a3142f76278 diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 59c23970..9e1d70f0 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -2,15 +2,11 @@ # The LINGUAS variable can be used to limit that set if(QT_LCONVERT_EXECUTABLE) - # We always include quassel.po - generate_qm(QM quassel) - set(qm_files ${QM}) - # get environment variable for translations set(LINGUAS "$ENV{LINGUAS}") string(REGEX REPLACE "[ \t]+" \; output "${LINGUAS}") # Find more languages - file(GLOB avail_pofiles quassel_*.po qt_*.po) + file(GLOB avail_pofiles *.po qt_*.po) foreach(PO_FILE ${avail_pofiles}) get_filename_component(basename ${PO_FILE} NAME_WE) string(REGEX REPLACE "q[^_]+_([a-zA-Z]+)(_.+)?$" "\\1" lang ${basename})