Browse Source

Add CMakeL10n rules.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Slávek Banko 4 months ago
parent
commit
72b5adf49c
Signed by: Slávek Banko <slavek.banko@axis.cz> 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 @@
1
+#################################################
2
+#
3
+#  (C) 2018 Slávek Banko
4
+#  slavek.banko (AT) axis.cz
5
+#
6
+#  Improvements and feedback are welcome
7
+#
8
+#  This file is released under GPL >= 2
9
+#
10
+#################################################
11
+
12
+cmake_minimum_required( VERSION 2.8 )
13
+
14
+
15
+##### include our cmake modules #################
16
+
17
+set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
18
+include( TDEL10n )
19
+
20
+
21
+##### set directory for POT files ###############
22
+
23
+set( POT_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../tde-i18n/template/messages/tdepim" )
24
+
25
+
26
+##### create translation templates ##############
27
+
28
+tde_l10n_auto_add_subdirectories()

+ 3
- 0
akregator/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_auto_add_subdirectories( )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "akregator" )

+ 10
- 0
certmanager/CMakeL10n.txt View File

@@ -0,0 +1,10 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template(
4
+    CATALOG "kleopatra"
5
+    EXCLUDES
6
+        "^kwatchgnupg/"
7
+        "^lib/"
8
+)
9
+
10
+tde_l10n_auto_add_subdirectories( )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kwatchgnupg" )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "libkleopatra" )

+ 27
- 0
kaddressbook/CMakeL10n.txt View File

@@ -0,0 +1,27 @@
1
+##### prepare editors UI files ##################
2
+
3
+file( GLOB_RECURSE _editors_ui
4
+      RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
5
+      ${CMAKE_CURRENT_SOURCE_DIR}/editors/*.ui
6
+)
7
+foreach( _editor_ui ${_editors_ui} )
8
+    tde_l10n_prepare_xml(
9
+        SOURCE ${_editor_ui}
10
+        CONTEXT "Instant messaging"
11
+    )
12
+    list( REMOVE_ITEM _editors_ui "${_editor_ui}" )
13
+    list( APPEND _editors_ui "${_editor_ui}.tde_l10n" )
14
+endforeach( )
15
+
16
+
17
+##### create translation templates ##############
18
+
19
+tde_l10n_create_template(
20
+    CATALOG "kaddressbook"
21
+    SOURCES "." ${_editors_ui}
22
+    EXCLUDES
23
+        "^editors/.*\\\\.ui$"
24
+        "^kcmconfigs/"
25
+)
26
+
27
+tde_l10n_auto_add_subdirectories( )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kcmkabconfig" )

+ 3
- 0
kalarm/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kalarm" )

+ 3
- 0
kandy/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kandy" )

+ 3
- 0
karm/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "karm" )

+ 3
- 0
kdgantt/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kdgantt" )

+ 3
- 0
kgantt/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_auto_add_subdirectories( )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kgantt" )

+ 3
- 0
kitchensync/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_auto_add_subdirectories( )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kitchensync" )

+ 7
- 0
kmail/CMakeL10n.txt View File

@@ -0,0 +1,7 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template(
4
+    CATALOG "kmail"
5
+    SOURCES "." "tips"
6
+    KEYWORDS "translate"
7
+)

+ 6
- 0
kmailcvt/CMakeL10n.txt View File

@@ -0,0 +1,6 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template(
4
+    CATALOG "kmailcvt"
5
+    SOURCES "." "*.cxx" "*.hxx"
6
+)

+ 8
- 0
kmobile/CMakeL10n.txt View File

@@ -0,0 +1,8 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template(
4
+    CATALOG "kmobile"
5
+    EXCLUDES "^tdeioslave/"
6
+)
7
+
8
+tde_l10n_auto_add_subdirectories( )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "tdeio_mobile" )

+ 3
- 0
knode/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "knode" )

+ 3
- 0
knotes/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "knotes" )

+ 3
- 0
konsolekalendar/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "konsolekalendar" )

+ 5
- 0
kontact/CMakeL10n.txt View File

@@ -0,0 +1,5 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kontact" )
4
+
5
+tde_l10n_auto_add_subdirectories( )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_auto_add_subdirectories( )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kcmkontactnt" )

+ 6
- 0
korganizer/CMakeL10n.txt View File

@@ -0,0 +1,6 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template(
4
+    CATALOG "korganizer"
5
+    SOURCES "." "tips"
6
+)

+ 3
- 0
korn/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "korn" )

+ 3
- 0
ktnef/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "ktnef" )

+ 3
- 0
libkcal/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "libkcal" )

+ 3
- 0
libkholidays/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "libkholidays" )

+ 6
- 0
libkmime/CMakeL10n.txt View File

@@ -0,0 +1,6 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template(
4
+    CATALOG "libkmime"
5
+    EXCLUDES "^tests/"
6
+)

+ 3
- 0
libkpgp/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "libkpgp" )

+ 3
- 0
libkpimexchange/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "libkpimexchange" )

+ 6
- 0
libksieve/CMakeL10n.txt View File

@@ -0,0 +1,6 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template(
4
+    CATALOG "libksieve"
5
+    EXCLUDES "^tests/"
6
+)

+ 10
- 0
libtdepim/CMakeL10n.txt View File

@@ -0,0 +1,10 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template(
4
+    CATALOG "libtdepim"
5
+    SOURCES
6
+        "."
7
+        "../libemailfunctions"
8
+        "../libkpimidentities"
9
+    EXCLUDES "(^|/)tests/"
10
+)

+ 3
- 0
plugins/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_auto_add_subdirectories( )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_auto_add_subdirectories( )

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

@@ -0,0 +1,15 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template(
4
+    CATALOG "kmail_text_calendar_plugin"
5
+    SOURCES
6
+        attendeeselector.cpp
7
+        delegateselector.cpp
8
+        text_calendar.cpp
9
+        ui_attendeeselector.ui
10
+)
11
+
12
+tde_l10n_create_template(
13
+    CATALOG "kmail_text_vcard_plugin"
14
+    SOURCES "text_vcard.cpp"
15
+)

+ 3
- 0
tdeabc/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_auto_add_subdirectories( )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "tdeabc2mutt" )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_auto_add_subdirectories( )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "tdefile_ics" )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "tdefile_palm" )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "tdefile_rfc822" )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "tdefile_vcf" )

+ 3
- 0
tdeioslave/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_auto_add_subdirectories( )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "tdeio_imap4" )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "tdeio_sieve" )

+ 3
- 0
tderesources/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_auto_add_subdirectories( )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kres_birthday" )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kres_blogging" )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kres_caldav" )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kres_carddav" )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kres_xmlrpc" )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kres_exchange" )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kres_featureplan" )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kres_groupdav" )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kres_groupware" )

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

@@ -0,0 +1,8 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template(
4
+    CATALOG "kres_groupwise"
5
+    EXCLUDES "^tdeioslave/"
6
+)
7
+
8
+tde_l10n_auto_add_subdirectories( )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "tdeio_groupwise" )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kres_kolab" )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "tdepimresources" )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kres_remote" )

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

@@ -0,0 +1,10 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template(
4
+    CATALOG "kres_scalix"
5
+    EXCLUDES
6
+        "^scalixadmin/"
7
+        "^tdeioslave/"
8
+)
9
+
10
+tde_l10n_auto_add_subdirectories( )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "scalixadmin" )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "tdeio_scalix" )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "tdeabc_slox" )

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

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "kres_tvanytime" )

+ 3
- 0
wizards/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "tdepimwizards" )

Loading…
Cancel
Save