summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-01-09 20:15:15 +0100
committerSlávek Banko <[email protected]>2019-01-11 14:31:48 +0100
commitfc2a264df5071a7febbd14ff5995c3c1d7776a9a (patch)
tree7890e8f7df47190bb0159e8cd6ecb03dce76f499 /docs
parent4638acbc784819a256941c8132cfb8f21024ecbd (diff)
downloadbibletime-fc2a264df5071a7febbd14ff5995c3c1d7776a9a.tar.gz
bibletime-fc2a264df5071a7febbd14ff5995c3c1d7776a9a.zip
Add CMakeL10n rules.
Update translation template. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit f195bc821512f91cb87780f0ff0d99641cf27274)
Diffstat (limited to 'docs')
-rw-r--r--docs/CMakeL10n.txt3
-rw-r--r--docs/handbook/CMakeL10n.txt3
-rw-r--r--docs/handbook/unicode/CMakeL10n.txt14
-rw-r--r--docs/howto/CMakeL10n.txt3
-rw-r--r--docs/howto/unicode/CMakeL10n.txt14
5 files changed, 37 insertions, 0 deletions
diff --git a/docs/CMakeL10n.txt b/docs/CMakeL10n.txt
new file mode 100644
index 0000000..b585ce4
--- /dev/null
+++ b/docs/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_auto_add_subdirectories( )
diff --git a/docs/handbook/CMakeL10n.txt b/docs/handbook/CMakeL10n.txt
new file mode 100644
index 0000000..b585ce4
--- /dev/null
+++ b/docs/handbook/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_auto_add_subdirectories( )
diff --git a/docs/handbook/unicode/CMakeL10n.txt b/docs/handbook/unicode/CMakeL10n.txt
new file mode 100644
index 0000000..03d866a
--- /dev/null
+++ b/docs/handbook/unicode/CMakeL10n.txt
@@ -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}
+)
diff --git a/docs/howto/CMakeL10n.txt b/docs/howto/CMakeL10n.txt
new file mode 100644
index 0000000..b585ce4
--- /dev/null
+++ b/docs/howto/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_auto_add_subdirectories( )
diff --git a/docs/howto/unicode/CMakeL10n.txt b/docs/howto/unicode/CMakeL10n.txt
new file mode 100644
index 0000000..4dfa67b
--- /dev/null
+++ b/docs/howto/unicode/CMakeL10n.txt
@@ -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}
+)