Branch: master

b9d222d7 2018-12-26 01:30:50 Slávek Banko
Add CMakeL10n rules.
Create translation template.

Signed-off-by: Slávek Banko <slavek.banko@...>
A CMakeL10n.txt
A po/tdeio-sword.pot
A src/CMakeL10n.txt

CMakeL10n.txt

diff --git a/CMakeL10n.txt b/CMakeL10n.txt
new file mode 100644
index 0000000..a525b71
--- /dev/null
+++ b/CMakeL10n.txt
@@ -0,0 +1,23 @@
+#################################################
+#
+#  (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 )
+
+
+##### create translation templates ##############
+
+tde_l10n_auto_add_subdirectories( )

po/tdeio-sword.pot

diff --git a/po/tdeio-sword.pot b/po/tdeio-sword.pot
new file mode 100644
index 0000000..1e2ee6d
--- /dev/null
+++ b/po/tdeio-sword.pot
@@ -0,0 +1,466 @@
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2018-12-26 02:26+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@...>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: _translatorinfo:1
+msgid ""
+"_: NAME OF TRANSLATORS\n"
+"Your names"
+msgstr ""
+
+#: _translatorinfo:2
+msgid ""
+"_: EMAIL OF TRANSLATORS\n"
+"Your emails"
+msgstr ""
+
+#: renderer.cpp:117
+msgid "Bibles"
+msgstr ""
+
+#: renderer.cpp:118
+msgid "Commentaries"
+msgstr ""
+
+#: renderer.cpp:119
+msgid "Lexicons & Dictionaries"
+msgstr ""
+
+#: renderer.cpp:120
+msgid "Other Books"
+msgstr ""
+
+#: renderer.cpp:169
+msgid "No modules installed!"
+msgstr ""
+
+#: renderer.cpp:174
+msgid "Modules"
+msgstr ""
+
+#: renderer.cpp:340 renderer.cpp:396
+msgid "The module '%1' could not be found."
+msgstr ""
+
+#: renderer.cpp:344
+msgid "Module not found - Kio-Sword"
+msgstr ""
+
+#: renderer.cpp:364 renderer.cpp:417
+msgid "Module:"
+msgstr ""
+
+#: renderer.cpp:406
+msgid "Word"
+msgstr ""
+
+#: renderer.cpp:409 tdeio_sword.cpp:667
+msgid "Phrase"
+msgstr ""
+
+#: renderer.cpp:412 tdeio_sword.cpp:668
+msgid "Regular expression"
+msgstr ""
+
+#: renderer.cpp:415
+msgid "Search results:"
+msgstr ""
+
+#: renderer.cpp:419
+msgid "Query:"
+msgstr ""
+
+#: renderer.cpp:421
+msgid "Search type:"
+msgstr ""
+
+#: renderer.cpp:427
+msgid "No matches returned."
+msgstr ""
+
+#: renderer.cpp:429
+msgid ""
+"_n: 1 match returned:\n"
+"%1 matches returned:"
+msgstr ""
+
+#: renderer.cpp:486 renderer.cpp:774
+msgid "Couldn't find reference '%1'."
+msgstr ""
+
+#: renderer.cpp:512
+msgid "Chapters:"
+msgstr ""
+
+#: renderer.cpp:515
+msgid "View entire book."
+msgstr ""
+
+#: renderer.cpp:519
+msgid "Books"
+msgstr ""
+
+#: renderer.cpp:571
+#, c-format
+msgid "Chapter %1"
+msgstr ""
+
+#: renderer.cpp:665
+msgid "Books:"
+msgstr ""
+
+#: renderer.cpp:671
+msgid "Index of books"
+msgstr ""
+
+#: renderer.cpp:696
+msgid "Couldn't find section '%1'."
+msgstr ""
+
+#: renderer.cpp:711
+msgid "Up:"
+msgstr ""
+
+#: renderer.cpp:732
+msgid "Contents:"
+msgstr ""
+
+#: renderer.cpp:738
+msgid "View simple index"
+msgstr ""
+
+#: renderer.cpp:744
+msgid "View full index"
+msgstr ""
+
+#: renderer.cpp:799
+msgid "Index:"
+msgstr ""
+
+#: renderer.cpp:806
+msgid "Enter query term: "
+msgstr ""
+
+#: renderer.cpp:813
+msgid "View complete index"
+msgstr ""
+
+#: tdeio_sword.cpp:129 tdeio_sword.cpp:160
+msgid "No default Bible has been specified."
+msgstr ""
+
+#: tdeio_sword.cpp:164
+msgid "No default Greek Strongs module has been specified."
+msgstr ""
+
+#: tdeio_sword.cpp:168
+msgid "No default Hebrew Strongs module has been specified."
+msgstr ""
+
+#: tdeio_sword.cpp:172
+msgid "No default Greek morphological module has been specified."
+msgstr ""
+
+#: tdeio_sword.cpp:176
+msgid "No default Hebrew morphological module has been specified."
+msgstr ""
+
+#: tdeio_sword.cpp:179
+msgid "No module specified."
+msgstr ""
+
+#: tdeio_sword.cpp:210
+msgid "Modules - Kio-Sword"
+msgstr ""
+
+#: tdeio_sword.cpp:220
+msgid "Search - Kio-Sword"
+msgstr ""
+
+#: tdeio_sword.cpp:225
+msgid "Search Results - Kio-Sword"
+msgstr ""
+
+#: tdeio_sword.cpp:230
+msgid "Settings - Kio-Sword"
+msgstr ""
+
+#: tdeio_sword.cpp:235
+msgid "Settings saved - Kio-Sword"
+msgstr ""
+
+#: tdeio_sword.cpp:240
+msgid "Kio-Sword Help"
+msgstr ""
+
+#: tdeio_sword.cpp:283
+msgid "Settings saved."
+msgstr ""
+
+#: tdeio_sword.cpp:421
+msgid "On"
+msgstr ""
+
+#: tdeio_sword.cpp:423
** Diff limit reached (max: 250 lines) **