diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-12-25 19:59:04 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-12-25 19:59:04 +0100 |
commit | 4fe6ee9e7fc05c70f96afbc4d1f1d5030877d2ba (patch) | |
tree | 5cae13fb3b8c80153c152464efe352a4c6762eba | |
parent | 44d731b5ac31423121985a509cf8880048a2f110 (diff) | |
download | tdeutils-4fe6ee9e7fc05c70f96afbc4d1f1d5030877d2ba.tar.gz tdeutils-4fe6ee9e7fc05c70f96afbc4d1f1d5030877d2ba.zip |
Add CMakeL10n rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
36 files changed, 204 insertions, 0 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt new file mode 100644 index 0000000..f197cd6 --- /dev/null +++ b/CMakeL10n.txt @@ -0,0 +1,28 @@ +################################################# +# +# (C) 2018 Slávek Banko +# slavek.banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +cmake_minimum_required( VERSION 2.8 ) + + +##### include our cmake modules ################# + +set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" ) +include( TDEL10n ) + + +##### set directory for POT files ############### + +set( POT_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../tde-i18n/template/messages/tdeutils" ) + + +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories() diff --git a/ark/CMakeL10n.txt b/ark/CMakeL10n.txt new file mode 100644 index 0000000..998367b --- /dev/null +++ b/ark/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "ark" ) diff --git a/charselectapplet/CMakeL10n.txt b/charselectapplet/CMakeL10n.txt new file mode 100644 index 0000000..2f432d6 --- /dev/null +++ b/charselectapplet/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kcharselectapplet" ) diff --git a/kcalc/CMakeL10n.txt b/kcalc/CMakeL10n.txt new file mode 100644 index 0000000..4f562bf --- /dev/null +++ b/kcalc/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kcalc" ) diff --git a/kcharselect/CMakeL10n.txt b/kcharselect/CMakeL10n.txt new file mode 100644 index 0000000..3ba434a --- /dev/null +++ b/kcharselect/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kcharselect" ) diff --git a/kdf/CMakeL10n.txt b/kdf/CMakeL10n.txt new file mode 100644 index 0000000..93aabe2 --- /dev/null +++ b/kdf/CMakeL10n.txt @@ -0,0 +1,6 @@ +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "kdf" + EXCLUDES "tdeconftest.cpp" +) diff --git a/kedit/CMakeL10n.txt b/kedit/CMakeL10n.txt new file mode 100644 index 0000000..162dd6a --- /dev/null +++ b/kedit/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kedit" ) diff --git a/kfloppy/CMakeL10n.txt b/kfloppy/CMakeL10n.txt new file mode 100644 index 0000000..332898e --- /dev/null +++ b/kfloppy/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kfloppy" ) diff --git a/kgpg/CMakeL10n.txt b/kgpg/CMakeL10n.txt new file mode 100644 index 0000000..ebaaf9f --- /dev/null +++ b/kgpg/CMakeL10n.txt @@ -0,0 +1,6 @@ +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "kgpg" + SOURCES "." "tips" +) diff --git a/khexedit/CMakeL10n.txt b/khexedit/CMakeL10n.txt new file mode 100644 index 0000000..d7b16bd --- /dev/null +++ b/khexedit/CMakeL10n.txt @@ -0,0 +1,5 @@ +##### create translation templates ############## + +tde_l10n_create_template( "khexedit" ) + +tde_l10n_auto_add_subdirectories( ) diff --git a/khexedit/parts/CMakeL10n.txt b/khexedit/parts/CMakeL10n.txt new file mode 100644 index 0000000..b585ce4 --- /dev/null +++ b/khexedit/parts/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories( ) diff --git a/khexedit/parts/kpart/CMakeL10n.txt b/khexedit/parts/kpart/CMakeL10n.txt new file mode 100644 index 0000000..e7443c0 --- /dev/null +++ b/khexedit/parts/kpart/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "khexedit2part" ) diff --git a/kjots/CMakeL10n.txt b/kjots/CMakeL10n.txt new file mode 100644 index 0000000..54d5ac2 --- /dev/null +++ b/kjots/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kjots" ) diff --git a/klaptopdaemon/CMakeL10n.txt b/klaptopdaemon/CMakeL10n.txt new file mode 100644 index 0000000..8fb67db --- /dev/null +++ b/klaptopdaemon/CMakeL10n.txt @@ -0,0 +1,30 @@ +##### create translation templates ############## + +set( KCMLAPTOP_SOURCES + acpi.cpp + apm.cpp + battery.cpp + buttons.cpp + main.cpp + pcmcia.cpp + power.cpp + profile.cpp + sony.cpp + warning.cpp +) + +unset( KLAPTOPDAEMON_EXCLUDES ) +foreach( _src ${KCMLAPTOP_SOURCES} ) + list( APPEND KLAPTOPDAEMON_EXCLUDES "^${_src}\\\$" ) +endforeach( ) + +tde_l10n_create_template( + CATALOG "kcmlaptop" + SOURCES ${KCMLAPTOP_SOURCES} +) + +tde_l10n_create_template( + CATALOG "klaptopdaemon" + SOURCES "." + EXCLUDES ${KLAPTOPDAEMON_EXCLUDES} +) diff --git a/kmilo/CMakeL10n.txt b/kmilo/CMakeL10n.txt new file mode 100644 index 0000000..b585ce4 --- /dev/null +++ b/kmilo/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories( ) diff --git a/kmilo/asus/CMakeL10n.txt b/kmilo/asus/CMakeL10n.txt new file mode 100644 index 0000000..1fb34ad --- /dev/null +++ b/kmilo/asus/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kmilo_asus" ) diff --git a/kmilo/delli8k/CMakeL10n.txt b/kmilo/delli8k/CMakeL10n.txt new file mode 100644 index 0000000..f624e9a --- /dev/null +++ b/kmilo/delli8k/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kmilo_delli8k" ) diff --git a/kmilo/generic/CMakeL10n.txt b/kmilo/generic/CMakeL10n.txt new file mode 100644 index 0000000..52e389a --- /dev/null +++ b/kmilo/generic/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kmilo_generic" ) diff --git a/kmilo/kmilo_kvaio/CMakeL10n.txt b/kmilo/kmilo_kvaio/CMakeL10n.txt new file mode 100644 index 0000000..1d822c1 --- /dev/null +++ b/kmilo/kmilo_kvaio/CMakeL10n.txt @@ -0,0 +1,8 @@ +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "kmilo_kvaio" + EXCLUDES "/" +) + +tde_l10n_auto_add_subdirectories( ) diff --git a/kmilo/kmilo_kvaio/kcmkvaio/CMakeL10n.txt b/kmilo/kmilo_kvaio/kcmkvaio/CMakeL10n.txt new file mode 100644 index 0000000..94d61e9 --- /dev/null +++ b/kmilo/kmilo_kvaio/kcmkvaio/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kcmkvaio" ) diff --git a/kmilo/kmilod/CMakeL10n.txt b/kmilo/kmilod/CMakeL10n.txt new file mode 100644 index 0000000..58c4c74 --- /dev/null +++ b/kmilo/kmilod/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kmilod" ) diff --git a/kmilo/powerbook2/CMakeL10n.txt b/kmilo/powerbook2/CMakeL10n.txt new file mode 100644 index 0000000..9777666 --- /dev/null +++ b/kmilo/powerbook2/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kmilo_powerbook" ) diff --git a/kmilo/thinkpad/CMakeL10n.txt b/kmilo/thinkpad/CMakeL10n.txt new file mode 100644 index 0000000..cd16475 --- /dev/null +++ b/kmilo/thinkpad/CMakeL10n.txt @@ -0,0 +1,8 @@ +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "kmilo_thinkpad" + EXCLUDES "/" +) + +tde_l10n_auto_add_subdirectories( ) diff --git a/kmilo/thinkpad/kcmthinkpad/CMakeL10n.txt b/kmilo/thinkpad/kcmthinkpad/CMakeL10n.txt new file mode 100644 index 0000000..0e4ae4b --- /dev/null +++ b/kmilo/thinkpad/kcmthinkpad/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kcmthinkpad" ) diff --git a/kregexpeditor/CMakeL10n.txt b/kregexpeditor/CMakeL10n.txt new file mode 100644 index 0000000..1265736 --- /dev/null +++ b/kregexpeditor/CMakeL10n.txt @@ -0,0 +1,24 @@ +##### prepare predefined regexps ################ + +file( GLOB_RECURSE _regexp_files + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/*.regexp +) +list( SORT _regexp_files ) +unset( _regexp_l10n ) +foreach( _regexp_file ${_regexp_files} ) + tde_l10n_prepare_xml( + SOURCE ${_regexp_file} + TAGS "Title" "Description" + C_FORMAT + ) + list( APPEND _regexp_l10n "${_regexp_file}.tde_l10n" ) +endforeach( ) + + +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "kregexpeditor" + SOURCES "." ${_regexp_l10n} +) diff --git a/ksim/CMakeL10n.txt b/ksim/CMakeL10n.txt new file mode 100644 index 0000000..f264ed9 --- /dev/null +++ b/ksim/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "ksim" ) diff --git a/ktimer/CMakeL10n.txt b/ktimer/CMakeL10n.txt new file mode 100644 index 0000000..b2ec7bb --- /dev/null +++ b/ktimer/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "ktimer" ) diff --git a/superkaramba/CMakeL10n.txt b/superkaramba/CMakeL10n.txt new file mode 100644 index 0000000..598e631 --- /dev/null +++ b/superkaramba/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "superkaramba" ) diff --git a/tdefilereplace/CMakeL10n.txt b/tdefilereplace/CMakeL10n.txt new file mode 100644 index 0000000..1fcc6bd --- /dev/null +++ b/tdefilereplace/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "tdefilereplace" ) diff --git a/tdelirc/CMakeL10n.txt b/tdelirc/CMakeL10n.txt new file mode 100644 index 0000000..b585ce4 --- /dev/null +++ b/tdelirc/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories( ) diff --git a/tdelirc/irkick/CMakeL10n.txt b/tdelirc/irkick/CMakeL10n.txt new file mode 100644 index 0000000..6cc78a7 --- /dev/null +++ b/tdelirc/irkick/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "irkick" ) diff --git a/tdelirc/kcmlirc/CMakeL10n.txt b/tdelirc/kcmlirc/CMakeL10n.txt new file mode 100644 index 0000000..6b503a2 --- /dev/null +++ b/tdelirc/kcmlirc/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kcmlirc" ) diff --git a/tdelirc/tdelirc/CMakeL10n.txt b/tdelirc/tdelirc/CMakeL10n.txt new file mode 100644 index 0000000..0cb457f --- /dev/null +++ b/tdelirc/tdelirc/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "tdelirc" ) diff --git a/tdessh/CMakeL10n.txt b/tdessh/CMakeL10n.txt new file mode 100644 index 0000000..219287f --- /dev/null +++ b/tdessh/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "tdessh" ) diff --git a/tdewallet/CMakeL10n.txt b/tdewallet/CMakeL10n.txt new file mode 100644 index 0000000..95b9c91 --- /dev/null +++ b/tdewallet/CMakeL10n.txt @@ -0,0 +1,8 @@ +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "tdewalletmanager" + EXCLUDES "/" +) + +tde_l10n_auto_add_subdirectories( ) diff --git a/tdewallet/konfigurator/CMakeL10n.txt b/tdewallet/konfigurator/CMakeL10n.txt new file mode 100644 index 0000000..6ab9543 --- /dev/null +++ b/tdewallet/konfigurator/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kcmtdewallet" ) |