[dasher: 51/61] Completed issue #40: Dasher should fail for unrecognized command-line… (#110)



commit 3bb9ef9fb601cf798bca5144aee8f5e91727cd61
Author: miroslavca <murselca gmail com>
Date:   Thu Mar 30 09:25:12 2017 +0300

    Completed issue #40: Dasher should fail for unrecognized command-line… (#110)
    
    * Completed issue #40: Dasher should fail for unrecognized command-line args
    * Added some comment line for translators. issue #40
    * Turkish translation related to issue #40 added

 Src/main.cc |    2 ++
 po/tr.po    |   12 +++++++++---
 2 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/Src/main.cc b/Src/main.cc
index 3ca9c3f..6020fcc 100644
--- a/Src/main.cc
+++ b/Src/main.cc
@@ -178,6 +178,8 @@ int main(int argc, char *argv[]) {
   GError *error = nullptr;
   if (!g_option_context_parse(goptcontext, &argc, &argv, &error)) {
     g_print("option parsing failed: %s\n", error->message);
+    // Note to translators: This is the help string for unrecognized command line options. Do not translate 
'dasher --help' part.
+    g_print("%s\n", _("Try 'dasher --help' for more information.")); 
     exit (1);
   }
 
diff --git a/po/tr.po b/po/tr.po
index e619407..4d3b734 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -10,6 +10,7 @@
 # Kaan Özdinçer <kaanozdincer gmail com>, 2015.
 # Muhammet Kara <muhammetk gmail com>, 2011, 2014, 2016.
 # Melike Burakgazi Bilgen <kimmiskim hotmail com>, 2017.
+# Mursel Caglar <murselca gmail com>, 2017.
 #
 msgid ""
 msgstr ""
@@ -17,9 +18,9 @@ msgstr ""
 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?";
 "product=dasher&keywords=I18N+L10N&component=general\n"
 "POT-Creation-Date: 2016-09-01 16:47+0000\n"
-"PO-Revision-Date: 2017-03-20 23:22+0300\n"
-"Last-Translator: Melike Burakgazi Bilgen <kimmiskim hotmail com>\n"
-"Language-Team: Türkçe <kimmiskim hotmail com>\n"
+"PO-Revision-Date: 2017-03-29 23:10+0300\n"
+"Last-Translator: Mursel Caglar <murselca gmail com>\n"
+"Language-Team: Türkçe <gnome-turk gnome org>\n"
 "Language: tr\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -1284,6 +1285,11 @@ msgstr "\"--options\" tanımla."
 msgid "- A text input application honouring accessibility"
 msgstr "- Erişilebilirliği yücelden bir metin giriş uygulaması"
 
+#. Note to translators: This is the help string for unrecognized command line options. Do not translate 
'dasher --help' part.
+#: Src/main.cc:182
+msgid "Try 'dasher --help' for more information."
+msgstr "Daha fazla bilgi için \"dasher --help\" komutunu deneyin."
+
 #~ msgid "Include Clipboard commands"
 #~ msgstr "Pano komutlarını dahil et"
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]