summaryrefslogtreecommitdiffstats
path: root/translations
diff options
context:
space:
mode:
authorRay-V <ray-v@inbox.lv>2021-06-17 20:29:29 +0100
committerRay-V <ray-v@inbox.lv>2021-06-17 20:29:29 +0100
commitdf31e02c1f27eada610c8027ea7c9c7fcd9c3111 (patch)
treeecc75d256eff73bb8e0ad339bfd20a16caba26ba /translations
parentad1bad45c2a483e1611edfa6b7ac5a81d91a4f45 (diff)
downloadkvpnc-df31e02c1f27eada610c8027ea7c9c7fcd9c3111.tar.gz
kvpnc-df31e02c1f27eada610c8027ea7c9c7fcd9c3111.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>
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( )