Browse Source

Add CMakeL10n rules.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/7/head
Slávek Banko 1 year ago
parent
commit
4fe6ee9e7f
No known key found for this signature in database GPG Key ID: 608F5293A04BE668
36 changed files with 204 additions and 0 deletions
  1. +28
    -0
      CMakeL10n.txt
  2. +3
    -0
      ark/CMakeL10n.txt
  3. +3
    -0
      charselectapplet/CMakeL10n.txt
  4. +3
    -0
      kcalc/CMakeL10n.txt
  5. +3
    -0
      kcharselect/CMakeL10n.txt
  6. +6
    -0
      kdf/CMakeL10n.txt
  7. +3
    -0
      kedit/CMakeL10n.txt
  8. +3
    -0
      kfloppy/CMakeL10n.txt
  9. +6
    -0
      kgpg/CMakeL10n.txt
  10. +5
    -0
      khexedit/CMakeL10n.txt
  11. +3
    -0
      khexedit/parts/CMakeL10n.txt
  12. +3
    -0
      khexedit/parts/kpart/CMakeL10n.txt
  13. +3
    -0
      kjots/CMakeL10n.txt
  14. +30
    -0
      klaptopdaemon/CMakeL10n.txt
  15. +3
    -0
      kmilo/CMakeL10n.txt
  16. +3
    -0
      kmilo/asus/CMakeL10n.txt
  17. +3
    -0
      kmilo/delli8k/CMakeL10n.txt
  18. +3
    -0
      kmilo/generic/CMakeL10n.txt
  19. +8
    -0
      kmilo/kmilo_kvaio/CMakeL10n.txt
  20. +3
    -0
      kmilo/kmilo_kvaio/kcmkvaio/CMakeL10n.txt
  21. +3
    -0
      kmilo/kmilod/CMakeL10n.txt
  22. +3
    -0
      kmilo/powerbook2/CMakeL10n.txt
  23. +8
    -0
      kmilo/thinkpad/CMakeL10n.txt
  24. +3
    -0
      kmilo/thinkpad/kcmthinkpad/CMakeL10n.txt
  25. +24
    -0
      kregexpeditor/CMakeL10n.txt
  26. +3
    -0
      ksim/CMakeL10n.txt
  27. +3
    -0
      ktimer/CMakeL10n.txt
  28. +3
    -0
      superkaramba/CMakeL10n.txt
  29. +3
    -0
      tdefilereplace/CMakeL10n.txt
  30. +3
    -0
      tdelirc/CMakeL10n.txt
  31. +3
    -0
      tdelirc/irkick/CMakeL10n.txt
  32. +3
    -0
      tdelirc/kcmlirc/CMakeL10n.txt
  33. +3
    -0
      tdelirc/tdelirc/CMakeL10n.txt
  34. +3
    -0
      tdessh/CMakeL10n.txt
  35. +8
    -0
      tdewallet/CMakeL10n.txt
  36. +3
    -0
      tdewallet/konfigurator/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/tdeutils" )


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

tde_l10n_auto_add_subdirectories()

+ 3
- 0
ark/CMakeL10n.txt View File

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

tde_l10n_create_template( "ark" )

+ 3
- 0
charselectapplet/CMakeL10n.txt View File

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

tde_l10n_create_template( "kcharselectapplet" )

+ 3
- 0
kcalc/CMakeL10n.txt View File

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

tde_l10n_create_template( "kcalc" )

+ 3
- 0
kcharselect/CMakeL10n.txt View File

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

tde_l10n_create_template( "kcharselect" )

+ 6
- 0
kdf/CMakeL10n.txt View File

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

tde_l10n_create_template(
CATALOG "kdf"
EXCLUDES "tdeconftest.cpp"
)

+ 3
- 0
kedit/CMakeL10n.txt View File

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

tde_l10n_create_template( "kedit" )

+ 3
- 0
kfloppy/CMakeL10n.txt View File

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

tde_l10n_create_template( "kfloppy" )

+ 6
- 0
kgpg/CMakeL10n.txt View File

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

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

+ 5
- 0
khexedit/CMakeL10n.txt View File

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

tde_l10n_create_template( "khexedit" )

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
khexedit/parts/CMakeL10n.txt View File

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

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
khexedit/parts/kpart/CMakeL10n.txt View File

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

tde_l10n_create_template( "khexedit2part" )

+ 3
- 0
kjots/CMakeL10n.txt View File

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

tde_l10n_create_template( "kjots" )

+ 30
- 0
klaptopdaemon/CMakeL10n.txt View File

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

+ 3
- 0
kmilo/CMakeL10n.txt View File

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

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
kmilo/asus/CMakeL10n.txt View File

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

tde_l10n_create_template( "kmilo_asus" )

+ 3
- 0
kmilo/delli8k/CMakeL10n.txt View File

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

tde_l10n_create_template( "kmilo_delli8k" )

+ 3
- 0
kmilo/generic/CMakeL10n.txt View File

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

tde_l10n_create_template( "kmilo_generic" )

+ 8
- 0
kmilo/kmilo_kvaio/CMakeL10n.txt View File

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

tde_l10n_create_template(
CATALOG "kmilo_kvaio"
EXCLUDES "/"
)

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
kmilo/kmilo_kvaio/kcmkvaio/CMakeL10n.txt View File

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

tde_l10n_create_template( "kcmkvaio" )

+ 3
- 0
kmilo/kmilod/CMakeL10n.txt View File

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

tde_l10n_create_template( "kmilod" )

+ 3
- 0
kmilo/powerbook2/CMakeL10n.txt View File

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

tde_l10n_create_template( "kmilo_powerbook" )

+ 8
- 0
kmilo/thinkpad/CMakeL10n.txt View File

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

tde_l10n_create_template(
CATALOG "kmilo_thinkpad"
EXCLUDES "/"
)

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
kmilo/thinkpad/kcmthinkpad/CMakeL10n.txt View File

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

tde_l10n_create_template( "kcmthinkpad" )

+ 24
- 0
kregexpeditor/CMakeL10n.txt View File

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

+ 3
- 0
ksim/CMakeL10n.txt View File

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

tde_l10n_create_template( "ksim" )

+ 3
- 0
ktimer/CMakeL10n.txt View File

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

tde_l10n_create_template( "ktimer" )

+ 3
- 0
superkaramba/CMakeL10n.txt View File

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

tde_l10n_create_template( "superkaramba" )

+ 3
- 0
tdefilereplace/CMakeL10n.txt View File

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

tde_l10n_create_template( "tdefilereplace" )

+ 3
- 0
tdelirc/CMakeL10n.txt View File

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

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
tdelirc/irkick/CMakeL10n.txt View File

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

tde_l10n_create_template( "irkick" )

+ 3
- 0
tdelirc/kcmlirc/CMakeL10n.txt View File

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

tde_l10n_create_template( "kcmlirc" )

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

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

tde_l10n_create_template( "tdelirc" )

+ 3
- 0
tdessh/CMakeL10n.txt View File

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

tde_l10n_create_template( "tdessh" )

+ 8
- 0
tdewallet/CMakeL10n.txt View File

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

tde_l10n_create_template(
CATALOG "tdewalletmanager"
EXCLUDES "/"
)

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
tdewallet/konfigurator/CMakeL10n.txt View File

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

tde_l10n_create_template( "kcmtdewallet" )

Loading…
Cancel
Save