From 4fe6ee9e7fc05c70f96afbc4d1f1d5030877d2ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 25 Dec 2018 19:59:04 +0100 Subject: Add CMakeL10n rules. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- CMakeL10n.txt | 28 ++++++++++++++++++++++++++++ ark/CMakeL10n.txt | 3 +++ charselectapplet/CMakeL10n.txt | 3 +++ kcalc/CMakeL10n.txt | 3 +++ kcharselect/CMakeL10n.txt | 3 +++ kdf/CMakeL10n.txt | 6 ++++++ kedit/CMakeL10n.txt | 3 +++ kfloppy/CMakeL10n.txt | 3 +++ kgpg/CMakeL10n.txt | 6 ++++++ khexedit/CMakeL10n.txt | 5 +++++ khexedit/parts/CMakeL10n.txt | 3 +++ khexedit/parts/kpart/CMakeL10n.txt | 3 +++ kjots/CMakeL10n.txt | 3 +++ klaptopdaemon/CMakeL10n.txt | 30 ++++++++++++++++++++++++++++++ kmilo/CMakeL10n.txt | 3 +++ kmilo/asus/CMakeL10n.txt | 3 +++ kmilo/delli8k/CMakeL10n.txt | 3 +++ kmilo/generic/CMakeL10n.txt | 3 +++ kmilo/kmilo_kvaio/CMakeL10n.txt | 8 ++++++++ kmilo/kmilo_kvaio/kcmkvaio/CMakeL10n.txt | 3 +++ kmilo/kmilod/CMakeL10n.txt | 3 +++ kmilo/powerbook2/CMakeL10n.txt | 3 +++ kmilo/thinkpad/CMakeL10n.txt | 8 ++++++++ kmilo/thinkpad/kcmthinkpad/CMakeL10n.txt | 3 +++ kregexpeditor/CMakeL10n.txt | 24 ++++++++++++++++++++++++ ksim/CMakeL10n.txt | 3 +++ ktimer/CMakeL10n.txt | 3 +++ superkaramba/CMakeL10n.txt | 3 +++ tdefilereplace/CMakeL10n.txt | 3 +++ tdelirc/CMakeL10n.txt | 3 +++ tdelirc/irkick/CMakeL10n.txt | 3 +++ tdelirc/kcmlirc/CMakeL10n.txt | 3 +++ tdelirc/tdelirc/CMakeL10n.txt | 3 +++ tdessh/CMakeL10n.txt | 3 +++ tdewallet/CMakeL10n.txt | 8 ++++++++ tdewallet/konfigurator/CMakeL10n.txt | 3 +++ 36 files changed, 204 insertions(+) create mode 100644 CMakeL10n.txt create mode 100644 ark/CMakeL10n.txt create mode 100644 charselectapplet/CMakeL10n.txt create mode 100644 kcalc/CMakeL10n.txt create mode 100644 kcharselect/CMakeL10n.txt create mode 100644 kdf/CMakeL10n.txt create mode 100644 kedit/CMakeL10n.txt create mode 100644 kfloppy/CMakeL10n.txt create mode 100644 kgpg/CMakeL10n.txt create mode 100644 khexedit/CMakeL10n.txt create mode 100644 khexedit/parts/CMakeL10n.txt create mode 100644 khexedit/parts/kpart/CMakeL10n.txt create mode 100644 kjots/CMakeL10n.txt create mode 100644 klaptopdaemon/CMakeL10n.txt create mode 100644 kmilo/CMakeL10n.txt create mode 100644 kmilo/asus/CMakeL10n.txt create mode 100644 kmilo/delli8k/CMakeL10n.txt create mode 100644 kmilo/generic/CMakeL10n.txt create mode 100644 kmilo/kmilo_kvaio/CMakeL10n.txt create mode 100644 kmilo/kmilo_kvaio/kcmkvaio/CMakeL10n.txt create mode 100644 kmilo/kmilod/CMakeL10n.txt create mode 100644 kmilo/powerbook2/CMakeL10n.txt create mode 100644 kmilo/thinkpad/CMakeL10n.txt create mode 100644 kmilo/thinkpad/kcmthinkpad/CMakeL10n.txt create mode 100644 kregexpeditor/CMakeL10n.txt create mode 100644 ksim/CMakeL10n.txt create mode 100644 ktimer/CMakeL10n.txt create mode 100644 superkaramba/CMakeL10n.txt create mode 100644 tdefilereplace/CMakeL10n.txt create mode 100644 tdelirc/CMakeL10n.txt create mode 100644 tdelirc/irkick/CMakeL10n.txt create mode 100644 tdelirc/kcmlirc/CMakeL10n.txt create mode 100644 tdelirc/tdelirc/CMakeL10n.txt create mode 100644 tdessh/CMakeL10n.txt create mode 100644 tdewallet/CMakeL10n.txt create mode 100644 tdewallet/konfigurator/CMakeL10n.txt 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" ) -- cgit v1.2.1