summaryrefslogtreecommitdiffstats
path: root/modules/TDEL10n.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/TDEL10n.cmake')
-rw-r--r--modules/TDEL10n.cmake16
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/TDEL10n.cmake b/modules/TDEL10n.cmake
index cb5464d..58a4313 100644
--- a/modules/TDEL10n.cmake
+++ b/modules/TDEL10n.cmake
@@ -88,13 +88,13 @@ endif( )
#################################################
#####
-##### tde_add_l10n_subdirectory
+##### tde_l10n_add_subdirectory
#####
##### The function simulates the add_subdirectory() behavior, but
##### the CMakeL10n.txt file is used instead of CMakeLists.txt.
#####
-function( tde_add_l10n_subdirectory _dir )
+function( tde_l10n_add_subdirectory _dir )
set( CMAKE_CURRENT_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/${_dir}" )
set( CMAKE_CURRENT_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/${_dir}" )
include( ${CMAKE_CURRENT_SOURCE_DIR}/CMakeL10n.txt )
@@ -103,19 +103,19 @@ endfunction( )
#################################################
#####
-##### tde_auto_add_l10n_subdirectories
+##### tde_l10n_auto_add_subdirectories
#####
##### The function is equivalent to tde_auto_add_subdirectories, but
##### the CMakeL10n.txt file is used instead of CMakeLists.txt.
#####
-function( tde_auto_add_l10n_subdirectories )
+function( tde_l10n_auto_add_subdirectories )
file( GLOB _dirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_CURRENT_SOURCE_DIR}/*" )
foreach( _dir ${_dirs} )
if( IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_dir}
AND NOT ${_dir} STREQUAL ".svn"
AND EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${_dir}/CMakeL10n.txt )
- tde_add_l10n_subdirectory( ${_dir} )
+ tde_l10n_add_subdirectory( ${_dir} )
endif( )
endforeach( )
endfunction( )
@@ -123,12 +123,12 @@ endfunction( )
#################################################
#####
-##### tde_create_l10n_template
+##### tde_l10n_create_template
#####
##### Macro is used to generate a translation template - POT file.
#####
##### Syntax:
-##### tde_create_l10n_template(
+##### tde_l10n_create_template(
##### CATALOG file_name
##### [SOURCES source_spec [source_spec]]
##### [EXCLUDES regex [regex]]
@@ -156,7 +156,7 @@ endfunction( )
##### DESTINATION determines directory to save translation template.
#####
-macro( tde_create_l10n_template )
+macro( tde_l10n_create_template )
unset( _catalog )
unset( _sources )