summaryrefslogtreecommitdiffstats
path: root/kcontrol/kicker/CMakeL10n.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-07-27 02:00:05 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-07-27 02:00:05 +0200
commit97e122f5b84b20683792c14a43dbf44781c49b78 (patch)
tree6c479781605ef454d919d94746885ec17adffa7e /kcontrol/kicker/CMakeL10n.txt
parentc4831a01df0a3df0b6eebf62f90c82fe2e93ada7 (diff)
downloadtdebase-97e122f5b84b20683792c14a43dbf44781c49b78.tar.gz
tdebase-97e122f5b84b20683792c14a43dbf44781c49b78.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>
Diffstat (limited to 'kcontrol/kicker/CMakeL10n.txt')
-rw-r--r--kcontrol/kicker/CMakeL10n.txt6
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"
)