summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2018-12-11 17:50:36 +0100
committerSlávek Banko <[email protected]>2018-12-11 17:50:50 +0100
commit3a8a879ebc4f00d08522665d9f4afb40ad9ca363 (patch)
tree84665e73004ea126a495afef531dd6fd36412cb9 /po
parent9d8c20e16779c1434701dfe93ac975585a20cf88 (diff)
downloadkvkbd-3a8a879ebc4f00d08522665d9f4afb40ad9ca363.tar.gz
kvkbd-3a8a879ebc4f00d08522665d9f4afb40ad9ca363.zip
Add CMakeL10n rules.
Create translation template. Add CMake rules to build translations. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 623026caa857e5cdcf316ec51403282f29ed1879)
Diffstat (limited to 'po')
-rw-r--r--po/CMakeLists.txt6
-rw-r--r--po/kvkbd.pot40
2 files changed, 46 insertions, 0 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
new file mode 100644
index 0000000..46fba83
--- /dev/null
+++ b/po/CMakeLists.txt
@@ -0,0 +1,6 @@
+# build translations if some are already available
+
+file( GLOB _srcs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po )
+if( _srcs )
+ tde_create_translation( LANG auto OUTPUT_NAME ${PROJECT_NAME} )
+endif( )
diff --git a/po/kvkbd.pot b/po/kvkbd.pot
new file mode 100644
index 0000000..ed74e1c
--- /dev/null
+++ b/po/kvkbd.pot
@@ -0,0 +1,40 @@
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2018-12-11 17:49+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <[email protected]>\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 ""
+
+#: main.cpp:36
+msgid "A virtual keyboard for TDE"
+msgstr ""
+
+#: main.cpp:42
+msgid ""
+"Stand alone version for use with TDM or XDM. \n"
+"You should Add : HOME=/root kvkbd --loginhelper & to Xsetup to run in xdm/tdm"
+msgstr ""
+
+#: main.cpp:186
+msgid "kvkbd"
+msgstr ""