summaryrefslogtreecommitdiffstats
path: root/po/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-08-29 19:53:54 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-08-29 19:54:25 +0200
commitf97194246ae17fd10d8e995ee231fbedc41acdce (patch)
tree619735ff90b933872ccea5d48d2e315278959c11 /po/CMakeLists.txt
parent9a1bd363e7583ef09eec2a9dc98c59b3846e8e8a (diff)
downloadlibkdcraw-f9719424.tar.gz
libkdcraw-f9719424.zip
Copy translations to a new directory layout.
Use common rules to build translations. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit e66ac666bb945e4d0ae260d1c01db70647703416)
Diffstat (limited to 'po/CMakeLists.txt')
-rw-r--r--po/CMakeLists.txt8
1 files changed, 0 insertions, 8 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
deleted file mode 100644
index 0e8b8f9..0000000
--- a/po/CMakeLists.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-file( GLOB_RECURSE po_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ./*/*.po )
-
-foreach( _po ${po_files} )
- string( REGEX REPLACE "/.*" "" _lang ${_po} )
- if( "${_linguas}" MATCHES "^;*$" OR ";${_linguas};" MATCHES ";${_lang};" )
- tde_create_translation( FILES ${_po} LANG ${_lang} )
- endif()
-endforeach()