浏览代码

Add CMakeL10n rules.

Update translation template.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
master
Slávek Banko 4 个月前
父节点
当前提交
f195bc8215
签署人:: Slávek Banko <slavek.banko@axis.cz> GPG 密钥 ID: 608F5293A04BE668

+ 23
- 0
CMakeL10n.txt 查看文件

@@ -0,0 +1,23 @@
1
+#################################################
2
+#
3
+#  (C) 2019 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
+##### create translation templates ##############
22
+
23
+tde_l10n_auto_add_subdirectories( )

+ 1
- 1
Makefile.am 查看文件

@@ -1,5 +1,5 @@
1 1
 KDE_OPTIONS = noautodist
2
-SUBDIRS = bibletime pot docs .
2
+SUBDIRS = bibletime translations docs .
3 3
 
4 4
 EXTRA_DIST = \
5 5
 BibleTime.tdevelop \

+ 6
- 0
bibletime/CMakeL10n.txt 查看文件

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

+ 3
- 0
docs/CMakeL10n.txt 查看文件

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

+ 3
- 0
docs/handbook/CMakeL10n.txt 查看文件

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

+ 14
- 0
docs/handbook/unicode/CMakeL10n.txt 查看文件

@@ -0,0 +1,14 @@
1
+##### create translation templates ##############
2
+
3
+file( GLOB _docs
4
+      RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
5
+      ${CMAKE_CURRENT_SOURCE_DIR}/*.docbook
6
+)
7
+list( SORT _docs )
8
+list( REMOVE_ITEM _docs "index.docbook" )
9
+list( INSERT _docs 0 "index.docbook" )
10
+
11
+tde_l10n_create_template(
12
+    CATALOG "handbook"
13
+    SOURCES ${_docs}
14
+)

+ 3
- 0
docs/howto/CMakeL10n.txt 查看文件

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

+ 14
- 0
docs/howto/unicode/CMakeL10n.txt 查看文件

@@ -0,0 +1,14 @@
1
+##### create translation templates ##############
2
+
3
+file( GLOB _docs
4
+      RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
5
+      ${CMAKE_CURRENT_SOURCE_DIR}/*.docbook
6
+)
7
+list( SORT _docs )
8
+list( REMOVE_ITEM _docs "index.docbook" )
9
+list( INSERT _docs 0 "index.docbook" )
10
+
11
+tde_l10n_create_template(
12
+    CATALOG "howto"
13
+    SOURCES ${_docs}
14
+)

+ 0
- 2823
pot/messages.pot
文件差异内容过多而无法显示
查看文件


pot/Makefile.am → translations/Makefile.am 查看文件


pot/extractrc → translations/extractrc 查看文件


translations/handbook.pot
文件差异内容过多而无法显示
查看文件


translations/howto.pot
文件差异内容过多而无法显示
查看文件


+ 2921
- 0
translations/messages.pot
文件差异内容过多而无法显示
查看文件


pot/preparetips → translations/preparetips 查看文件


正在加载...
取消
保存