summaryrefslogtreecommitdiffstats
path: root/translations
diff options
context:
space:
mode:
authorRay-V <ray-v@inbox.lv>2021-06-17 20:29:29 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-06-18 02:39:22 +0200
commit736bdb7edd41bf8caac7dea748f1e801192f7583 (patch)
tree0c23afdab82884aa70ce07fba8011296f0cfa1cf /translations
parentca8acd088527f17a02dc747d04e203cd1342db4d (diff)
downloadkvpnc-736bdb7edd41bf8caac7dea748f1e801192f7583.tar.gz
kvpnc-736bdb7edd41bf8caac7dea748f1e801192f7583.zip
Removed CMakeLists.txt from doc and translations trees
Deleted and added macro calls to toplevel CMakeLists.txt Moved doc/tdeioslave/en/pcf to doc/en/tdeioslave/pcf Signed-off-by: Ray-V <ray-v@inbox.lv> (cherry picked from commit df31e02c1f27eada610c8027ea7c9c7fcd9c3111)
Diffstat (limited to 'translations')
-rw-r--r--translations/CMakeLists.txt1
-rw-r--r--translations/messages/CMakeLists.txt14
2 files changed, 0 insertions, 15 deletions
diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt
deleted file mode 100644
index 42b186a..0000000
--- a/translations/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-tde_auto_add_subdirectories()
diff --git a/translations/messages/CMakeLists.txt b/translations/messages/CMakeLists.txt
deleted file mode 100644
index 75c89f8..0000000
--- a/translations/messages/CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-file( GLOB_RECURSE po_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po )
-string( REGEX REPLACE "[ \r\n\t]+" ";" _linguas "$ENV{LINGUAS}" )
-
-foreach( _po ${po_files} )
- get_filename_component( _lang ${_po} NAME_WE )
- if( "${_linguas}" MATCHES "^;*$" OR ";${_linguas};" MATCHES ";${_lang};" )
- if( "${_po}" MATCHES "^([^/]*)/.*" )
- string( REGEX REPLACE "^([^/]*)/.*" "\\1" _component "${_po}" )
- else( )
- set( _component "${PROJECT_NAME}" )
- endif( )
- tde_create_translation( FILES ${_po} LANG ${_lang} OUTPUT_NAME ${_component} )
- endif( )
-endforeach( )