diff options
author | Slávek Banko <[email protected]> | 2018-12-15 19:45:28 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-12-15 20:22:38 +0100 |
commit | 6d8ca11287084e472dc37748a0c3b5256b8e99ea (patch) | |
tree | 03d30d0f6e0dbbb53839b8f37acb9f07da2ba4bf /kaddressbook/CMakeL10n.txt | |
parent | e4794189af3d282935273ea5a11bdfe6defddf36 (diff) | |
download | tdepim-6d8ca11287084e472dc37748a0c3b5256b8e99ea.tar.gz tdepim-6d8ca11287084e472dc37748a0c3b5256b8e99ea.zip |
Add CMakeL10n rules.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 72b5adf49ccd012414f2758e0427639ee926e9b2)
Diffstat (limited to 'kaddressbook/CMakeL10n.txt')
-rw-r--r-- | kaddressbook/CMakeL10n.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/kaddressbook/CMakeL10n.txt b/kaddressbook/CMakeL10n.txt new file mode 100644 index 000000000..15dabc2e2 --- /dev/null +++ b/kaddressbook/CMakeL10n.txt @@ -0,0 +1,27 @@ +##### prepare editors UI files ################## + +file( GLOB_RECURSE _editors_ui + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/editors/*.ui +) +foreach( _editor_ui ${_editors_ui} ) + tde_l10n_prepare_xml( + SOURCE ${_editor_ui} + CONTEXT "Instant messaging" + ) + list( REMOVE_ITEM _editors_ui "${_editor_ui}" ) + list( APPEND _editors_ui "${_editor_ui}.tde_l10n" ) +endforeach( ) + + +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "kaddressbook" + SOURCES "." ${_editors_ui} + EXCLUDES + "^editors/.*\\\\.ui$" + "^kcmconfigs/" +) + +tde_l10n_auto_add_subdirectories( ) |