summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-08-26 03:29:42 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-08-26 14:18:18 +0200
commitaf07d98a53810517eedc97f3ef6bc42670635c4d (patch)
treedb0651c108529552df8b8ea2d0dd40e805827905
parent39ec936b1fc1565b0fa34bf6421c4b1fa93cba03 (diff)
downloadtdesshaskpass-af07d98a53810517eedc97f3ef6bc42670635c4d.tar.gz
tdesshaskpass-af07d98a53810517eedc97f3ef6bc42670635c4d.zip
Add CMakeL10n rules.v3.5.13-sru
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--CMakeL10n.txt23
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/CMakeL10n.txt3
-rw-r--r--translations/messages/ksshaskpass.pot50
4 files changed, 77 insertions, 1 deletions
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( )
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 942f88e..73bda65 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -64,7 +64,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
add_subdirectory( src )
tde_conditional_add_project_docs( BUILD_DOC )
-#tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
+tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
##### write configure files #####################
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
new file mode 100644
index 0000000..fefbe5b
--- /dev/null
+++ b/src/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_create_template( "messages/ksshaskpass" )
diff --git a/translations/messages/ksshaskpass.pot b/translations/messages/ksshaskpass.pot
new file mode 100644
index 0000000..beac6b7
--- /dev/null
+++ b/translations/messages/ksshaskpass.pot
@@ -0,0 +1,50 @@
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2021-08-26 03:28+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
+#, ignore-inconsistent
+msgid ""
+"_: NAME OF TRANSLATORS\n"
+"Your names"
+msgstr ""
+
+#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
+#, ignore-inconsistent
+msgid ""
+"_: EMAIL OF TRANSLATORS\n"
+"Your emails"
+msgstr ""
+
+#: ksshaskpass.cpp:31
+msgid "Dialog message. Leave undefined for default message"
+msgstr ""
+
+#: ksshaskpass.cpp:40 ksshaskpass.cpp:102
+msgid "Ksshaskpass"
+msgstr ""
+
+#: ksshaskpass.cpp:42
+msgid "KDE version of ssh-askpass"
+msgstr ""
+
+#: ksshaskpass.cpp:45
+msgid ""
+"Ksshaskpass allows you to interactively prompt users for a passphrase for "
+"ssh-add"
+msgstr ""
+
+#: ksshaskpass.cpp:66
+msgid "Please enter password"
+msgstr ""