summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-05-09 16:11:56 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-05-13 22:57:45 +0200
commit8ac32bf262973443d17fd367583a44e2e7d85cc5 (patch)
tree1e45f424ba5ccd20ce3edd4d1be8b8b778950cd2 /po
parente83b7d7ec918703ac1352059e801ca88882bd152 (diff)
downloadkdpkg-8ac32bf262973443d17fd367583a44e2e7d85cc5.tar.gz
kdpkg-8ac32bf262973443d17fd367583a44e2e7d85cc5.zip
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr> (cherry picked from commit 26f73f5100c4917f50f593f55fc96776055d2b39)
Diffstat (limited to 'po')
-rw-r--r--po/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
new file mode 100644
index 0000000..dd31c67
--- /dev/null
+++ b/po/CMakeLists.txt
@@ -0,0 +1,7 @@
+file( GLOB_RECURSE po_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po )
+
+foreach( _po ${po_files} )
+ string( REPLACE "/" ";" _path "${_po}" )
+ list( GET _path 0 _lang )
+ tde_create_translation( FILES ${_po} LANG ${_lang} )
+endforeach( )