diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-07-27 02:00:05 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-07-27 02:00:20 +0200 |
commit | cfcf52ab450fe040f9dcb34fbf231425a38181c1 (patch) | |
tree | 305ca5a749c118e4203aae7a14c11c328bc9d754 /kcontrol/kicker/CMakeL10n.txt | |
parent | 022857df4d2a376e32737c99022fbebfd75c43b3 (diff) | |
download | tdebase-cfcf52ab450fe040f9dcb34fbf231425a38181c1.tar.gz tdebase-cfcf52ab450fe040f9dcb34fbf231425a38181c1.zip |
CMakeL10n: The source path for the extracted kicker/tiles file names
is set to point to the appropriate folder.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 97e122f5b84b20683792c14a43dbf44781c49b78)
Diffstat (limited to 'kcontrol/kicker/CMakeL10n.txt')
-rw-r--r-- | kcontrol/kicker/CMakeL10n.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kcontrol/kicker/CMakeL10n.txt b/kcontrol/kicker/CMakeL10n.txt index b26d74785..1f79f5493 100644 --- a/kcontrol/kicker/CMakeL10n.txt +++ b/kcontrol/kicker/CMakeL10n.txt @@ -5,7 +5,7 @@ file( GLOB _kicker_tile_files ${CMAKE_CURRENT_SOURCE_DIR}/../../kicker/data/tiles/*_tiny_up.png ) list( SORT _kicker_tile_files ) -file( WRITE ${CMAKE_CURRENT_SOURCE_DIR}/tiles.tde_l10n "" ) +file( WRITE ${CMAKE_CURRENT_SOURCE_DIR}/../../kicker/data/tiles.tde_l10n "" ) foreach( _kicker_tile_file ${_kicker_tile_files} ) string( REGEX REPLACE "_tiny_up\\.png$" "" _kicker_tile ${_kicker_tile_file} ) string( REGEX REPLACE "[_ ]+" ";" _kicker_tile ${_kicker_tile} ) @@ -17,12 +17,12 @@ foreach( _kicker_tile_file ${_kicker_tile_files} ) set( _kicker_tile_name "${_kicker_tile_name}${_kicker_tile_first}${_kicker_tile_rest} " ) endforeach( ) string( STRIP ${_kicker_tile_name} _kicker_tile_name ) - file( APPEND ${CMAKE_CURRENT_SOURCE_DIR}/tiles.tde_l10n "i18n(\"${_kicker_tile_name}\");\n" ) + file( APPEND ${CMAKE_CURRENT_SOURCE_DIR}/../../kicker/data/tiles.tde_l10n "i18n(\"${_kicker_tile_name}\");\n" ) endforeach( ) ##### create translation templates ############## tde_l10n_create_template( CATALOG "kcmkicker" - SOURCES "." "tiles.tde_l10n" + SOURCES "." "../../kicker/data/tiles.tde_l10n" ) |