Browse Source

Add CMakeL10n rules.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/13/head
Slávek Banko 1 year ago
parent
commit
72b5adf49c
No known key found for this signature in database GPG Key ID: 608F5293A04BE668
70 changed files with 320 additions and 0 deletions
  1. +28
    -0
      CMakeL10n.txt
  2. +3
    -0
      akregator/CMakeL10n.txt
  3. +3
    -0
      akregator/src/CMakeL10n.txt
  4. +10
    -0
      certmanager/CMakeL10n.txt
  5. +3
    -0
      certmanager/kwatchgnupg/CMakeL10n.txt
  6. +3
    -0
      certmanager/lib/CMakeL10n.txt
  7. +27
    -0
      kaddressbook/CMakeL10n.txt
  8. +3
    -0
      kaddressbook/kcmconfigs/CMakeL10n.txt
  9. +3
    -0
      kalarm/CMakeL10n.txt
  10. +3
    -0
      kandy/CMakeL10n.txt
  11. +3
    -0
      karm/CMakeL10n.txt
  12. +3
    -0
      kdgantt/CMakeL10n.txt
  13. +3
    -0
      kgantt/CMakeL10n.txt
  14. +3
    -0
      kgantt/kgantt/CMakeL10n.txt
  15. +3
    -0
      kitchensync/CMakeL10n.txt
  16. +3
    -0
      kitchensync/src/CMakeL10n.txt
  17. +7
    -0
      kmail/CMakeL10n.txt
  18. +6
    -0
      kmailcvt/CMakeL10n.txt
  19. +8
    -0
      kmobile/CMakeL10n.txt
  20. +3
    -0
      kmobile/tdeioslave/CMakeL10n.txt
  21. +3
    -0
      knode/CMakeL10n.txt
  22. +3
    -0
      knotes/CMakeL10n.txt
  23. +3
    -0
      konsolekalendar/CMakeL10n.txt
  24. +5
    -0
      kontact/CMakeL10n.txt
  25. +3
    -0
      kontact/plugins/CMakeL10n.txt
  26. +3
    -0
      kontact/plugins/newsticker/CMakeL10n.txt
  27. +6
    -0
      korganizer/CMakeL10n.txt
  28. +3
    -0
      korn/CMakeL10n.txt
  29. +3
    -0
      ktnef/CMakeL10n.txt
  30. +3
    -0
      libkcal/CMakeL10n.txt
  31. +3
    -0
      libkholidays/CMakeL10n.txt
  32. +6
    -0
      libkmime/CMakeL10n.txt
  33. +3
    -0
      libkpgp/CMakeL10n.txt
  34. +3
    -0
      libkpimexchange/CMakeL10n.txt
  35. +6
    -0
      libksieve/CMakeL10n.txt
  36. +10
    -0
      libtdepim/CMakeL10n.txt
  37. +3
    -0
      plugins/CMakeL10n.txt
  38. +3
    -0
      plugins/kmail/CMakeL10n.txt
  39. +15
    -0
      plugins/kmail/bodypartformatter/CMakeL10n.txt
  40. +3
    -0
      tdeabc/CMakeL10n.txt
  41. +3
    -0
      tdeabc/tdeabc2mutt/CMakeL10n.txt
  42. +3
    -0
      tdefile-plugins/CMakeL10n.txt
  43. +3
    -0
      tdefile-plugins/ics/CMakeL10n.txt
  44. +3
    -0
      tdefile-plugins/palm-databases/CMakeL10n.txt
  45. +3
    -0
      tdefile-plugins/rfc822/CMakeL10n.txt
  46. +3
    -0
      tdefile-plugins/vcf/CMakeL10n.txt
  47. +3
    -0
      tdeioslave/CMakeL10n.txt
  48. +3
    -0
      tdeioslave/imap4/CMakeL10n.txt
  49. +3
    -0
      tdeioslave/sieve/CMakeL10n.txt
  50. +3
    -0
      tderesources/CMakeL10n.txt
  51. +3
    -0
      tderesources/birthdays/CMakeL10n.txt
  52. +3
    -0
      tderesources/blogging/CMakeL10n.txt
  53. +3
    -0
      tderesources/caldav/CMakeL10n.txt
  54. +3
    -0
      tderesources/carddav/CMakeL10n.txt
  55. +3
    -0
      tderesources/egroupware/CMakeL10n.txt
  56. +3
    -0
      tderesources/exchange/CMakeL10n.txt
  57. +3
    -0
      tderesources/featureplan/CMakeL10n.txt
  58. +3
    -0
      tderesources/groupdav/CMakeL10n.txt
  59. +3
    -0
      tderesources/groupware/CMakeL10n.txt
  60. +8
    -0
      tderesources/groupwise/CMakeL10n.txt
  61. +3
    -0
      tderesources/groupwise/tdeioslave/CMakeL10n.txt
  62. +3
    -0
      tderesources/kolab/CMakeL10n.txt
  63. +3
    -0
      tderesources/lib/CMakeL10n.txt
  64. +3
    -0
      tderesources/remote/CMakeL10n.txt
  65. +10
    -0
      tderesources/scalix/CMakeL10n.txt
  66. +3
    -0
      tderesources/scalix/scalixadmin/CMakeL10n.txt
  67. +3
    -0
      tderesources/scalix/tdeioslave/CMakeL10n.txt
  68. +3
    -0
      tderesources/slox/CMakeL10n.txt
  69. +3
    -0
      tderesources/tvanytime/CMakeL10n.txt
  70. +3
    -0
      wizards/CMakeL10n.txt

+ 28
- 0
CMakeL10n.txt View File

@@ -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/tdepim" )


##### create translation templates ##############

tde_l10n_auto_add_subdirectories()

+ 3
- 0
akregator/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
akregator/src/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "akregator" )

+ 10
- 0
certmanager/CMakeL10n.txt View File

@@ -0,0 +1,10 @@
##### create translation templates ##############

tde_l10n_create_template(
CATALOG "kleopatra"
EXCLUDES
"^kwatchgnupg/"
"^lib/"
)

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
certmanager/kwatchgnupg/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kwatchgnupg" )

+ 3
- 0
certmanager/lib/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "libkleopatra" )

+ 27
- 0
kaddressbook/CMakeL10n.txt View File

@@ -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( )

+ 3
- 0
kaddressbook/kcmconfigs/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kcmkabconfig" )

+ 3
- 0
kalarm/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kalarm" )

+ 3
- 0
kandy/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kandy" )

+ 3
- 0
karm/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "karm" )

+ 3
- 0
kdgantt/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kdgantt" )

+ 3
- 0
kgantt/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
kgantt/kgantt/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kgantt" )

+ 3
- 0
kitchensync/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
kitchensync/src/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kitchensync" )

+ 7
- 0
kmail/CMakeL10n.txt View File

@@ -0,0 +1,7 @@
##### create translation templates ##############

tde_l10n_create_template(
CATALOG "kmail"
SOURCES "." "tips"
KEYWORDS "translate"
)

+ 6
- 0
kmailcvt/CMakeL10n.txt View File

@@ -0,0 +1,6 @@
##### create translation templates ##############

tde_l10n_create_template(
CATALOG "kmailcvt"
SOURCES "." "*.cxx" "*.hxx"
)

+ 8
- 0
kmobile/CMakeL10n.txt View File

@@ -0,0 +1,8 @@
##### create translation templates ##############

tde_l10n_create_template(
CATALOG "kmobile"
EXCLUDES "^tdeioslave/"
)

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
kmobile/tdeioslave/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "tdeio_mobile" )

+ 3
- 0
knode/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "knode" )

+ 3
- 0
knotes/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "knotes" )

+ 3
- 0
konsolekalendar/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "konsolekalendar" )

+ 5
- 0
kontact/CMakeL10n.txt View File

@@ -0,0 +1,5 @@
##### create translation templates ##############

tde_l10n_create_template( "kontact" )

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
kontact/plugins/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
kontact/plugins/newsticker/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kcmkontactnt" )

+ 6
- 0
korganizer/CMakeL10n.txt View File

@@ -0,0 +1,6 @@
##### create translation templates ##############

tde_l10n_create_template(
CATALOG "korganizer"
SOURCES "." "tips"
)

+ 3
- 0
korn/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "korn" )

+ 3
- 0
ktnef/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "ktnef" )

+ 3
- 0
libkcal/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "libkcal" )

+ 3
- 0
libkholidays/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "libkholidays" )

+ 6
- 0
libkmime/CMakeL10n.txt View File

@@ -0,0 +1,6 @@
##### create translation templates ##############

tde_l10n_create_template(
CATALOG "libkmime"
EXCLUDES "^tests/"
)

+ 3
- 0
libkpgp/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "libkpgp" )

+ 3
- 0
libkpimexchange/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "libkpimexchange" )

+ 6
- 0
libksieve/CMakeL10n.txt View File

@@ -0,0 +1,6 @@
##### create translation templates ##############

tde_l10n_create_template(
CATALOG "libksieve"
EXCLUDES "^tests/"
)

+ 10
- 0
libtdepim/CMakeL10n.txt View File

@@ -0,0 +1,10 @@
##### create translation templates ##############

tde_l10n_create_template(
CATALOG "libtdepim"
SOURCES
"."
"../libemailfunctions"
"../libkpimidentities"
EXCLUDES "(^|/)tests/"
)

+ 3
- 0
plugins/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
plugins/kmail/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_auto_add_subdirectories( )

+ 15
- 0
plugins/kmail/bodypartformatter/CMakeL10n.txt View File

@@ -0,0 +1,15 @@
##### create translation templates ##############

tde_l10n_create_template(
CATALOG "kmail_text_calendar_plugin"
SOURCES
attendeeselector.cpp
delegateselector.cpp
text_calendar.cpp
ui_attendeeselector.ui
)

tde_l10n_create_template(
CATALOG "kmail_text_vcard_plugin"
SOURCES "text_vcard.cpp"
)

+ 3
- 0
tdeabc/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
tdeabc/tdeabc2mutt/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "tdeabc2mutt" )

+ 3
- 0
tdefile-plugins/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
tdefile-plugins/ics/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "tdefile_ics" )

+ 3
- 0
tdefile-plugins/palm-databases/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "tdefile_palm" )

+ 3
- 0
tdefile-plugins/rfc822/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "tdefile_rfc822" )

+ 3
- 0
tdefile-plugins/vcf/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "tdefile_vcf" )

+ 3
- 0
tdeioslave/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
tdeioslave/imap4/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "tdeio_imap4" )

+ 3
- 0
tdeioslave/sieve/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "tdeio_sieve" )

+ 3
- 0
tderesources/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
tderesources/birthdays/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kres_birthday" )

+ 3
- 0
tderesources/blogging/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kres_blogging" )

+ 3
- 0
tderesources/caldav/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kres_caldav" )

+ 3
- 0
tderesources/carddav/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kres_carddav" )

+ 3
- 0
tderesources/egroupware/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kres_xmlrpc" )

+ 3
- 0
tderesources/exchange/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kres_exchange" )

+ 3
- 0
tderesources/featureplan/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kres_featureplan" )

+ 3
- 0
tderesources/groupdav/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kres_groupdav" )

+ 3
- 0
tderesources/groupware/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kres_groupware" )

+ 8
- 0
tderesources/groupwise/CMakeL10n.txt View File

@@ -0,0 +1,8 @@
##### create translation templates ##############

tde_l10n_create_template(
CATALOG "kres_groupwise"
EXCLUDES "^tdeioslave/"
)

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
tderesources/groupwise/tdeioslave/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "tdeio_groupwise" )

+ 3
- 0
tderesources/kolab/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kres_kolab" )

+ 3
- 0
tderesources/lib/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "tdepimresources" )

+ 3
- 0
tderesources/remote/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kres_remote" )

+ 10
- 0
tderesources/scalix/CMakeL10n.txt View File

@@ -0,0 +1,10 @@
##### create translation templates ##############

tde_l10n_create_template(
CATALOG "kres_scalix"
EXCLUDES
"^scalixadmin/"
"^tdeioslave/"
)

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
tderesources/scalix/scalixadmin/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "scalixadmin" )

+ 3
- 0
tderesources/scalix/tdeioslave/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "tdeio_scalix" )

+ 3
- 0
tderesources/slox/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "tdeabc_slox" )

+ 3
- 0
tderesources/tvanytime/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kres_tvanytime" )

+ 3
- 0
wizards/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "tdepimwizards" )

Loading…
Cancel
Save