Browse Source

Add CMakeL10n rules.

Update translation template.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
master
Slávek Banko 7 months ago
parent
commit
f195bc8215
Signed by: Slávek Banko <slavek.banko@axis.cz> GPG Key ID: 608F5293A04BE668

+ 23
- 0
CMakeL10n.txt View File

@@ -0,0 +1,23 @@
#################################################
#
# (C) 2019 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 )


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

tde_l10n_auto_add_subdirectories( )

+ 1
- 1
Makefile.am View File

@@ -1,5 +1,5 @@
KDE_OPTIONS = noautodist
SUBDIRS = bibletime pot docs .
SUBDIRS = bibletime translations docs .

EXTRA_DIST = \
BibleTime.tdevelop \

+ 6
- 0
bibletime/CMakeL10n.txt View File

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

tde_l10n_create_template(
CATALOG "messages"
SOURCES "." "../docs/tips"
)

+ 3
- 0
docs/CMakeL10n.txt View File

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

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
docs/handbook/CMakeL10n.txt View File

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

tde_l10n_auto_add_subdirectories( )

+ 14
- 0
docs/handbook/unicode/CMakeL10n.txt View File

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

file( GLOB _docs
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.docbook
)
list( SORT _docs )
list( REMOVE_ITEM _docs "index.docbook" )
list( INSERT _docs 0 "index.docbook" )

tde_l10n_create_template(
CATALOG "handbook"
SOURCES ${_docs}
)

+ 3
- 0
docs/howto/CMakeL10n.txt View File

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

tde_l10n_auto_add_subdirectories( )

+ 14
- 0
docs/howto/unicode/CMakeL10n.txt View File

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

file( GLOB _docs
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.docbook
)
list( SORT _docs )
list( REMOVE_ITEM _docs "index.docbook" )
list( INSERT _docs 0 "index.docbook" )

tde_l10n_create_template(
CATALOG "howto"
SOURCES ${_docs}
)

+ 0
- 2823
pot/messages.pot
File diff suppressed because it is too large
View File


pot/Makefile.am → translations/Makefile.am View File


pot/extractrc → translations/extractrc View File


translations/handbook.pot
File diff suppressed because it is too large
View File


translations/howto.pot
File diff suppressed because it is too large
View File


+ 2921
- 0
translations/messages.pot
File diff suppressed because it is too large
View File


pot/preparetips → translations/preparetips View File


Loading…
Cancel
Save