changeset 25163:3aed4f0ba3cd

Update some GUI strings identified as unclear by translators. * documentation.cc, shortcut-manager.cc: Update some GUI strings identified as unclear by translators.
author Rik <rik@octave.org>
date Sun, 08 Apr 2018 18:04:48 -0700
parents baadbf803b10
children 512b68611097
files libgui/src/documentation.cc libgui/src/shortcut-manager.cc
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/documentation.cc	Sat Apr 07 15:14:20 2018 -0400
+++ b/libgui/src/documentation.cc	Sun Apr 08 18:04:48 2018 -0700
@@ -88,7 +88,7 @@
         QMessageBox::warning (this, tr ("Octave Documentation"),
                               tr ("Could not setup the data required for the\n"
                                   "documentation viewer. Only help texts in\n"
-                                  "the Console Widget will be available."));
+                                  "the Command Window will be available."));
         if (m_help_engine)
           delete m_help_engine;
         m_help_engine = 0;
--- a/libgui/src/shortcut-manager.cc	Sat Apr 07 15:14:20 2018 -0400
+++ b/libgui/src/shortcut-manager.cc	Sun Apr 08 18:04:48 2018 -0700
@@ -627,12 +627,12 @@
 
         if (action == OSC_IMPORT)
           file = QFileDialog::getOpenFileName (this,
-                                               tr ("Import shortcuts from file ..."), QString (),
+                                               tr ("Import shortcuts from file"), QString (),
                                                tr ("Octave Shortcut Files (*.osc);;All Files (*)"),
                                                nullptr, QFileDialog::DontUseNativeDialog);
         else if (action == OSC_EXPORT)
           file = QFileDialog::getSaveFileName (this,
-                                               tr ("Export shortcuts into file ..."), QString (),
+                                               tr ("Export shortcuts to file"), QString (),
                                                tr ("Octave Shortcut Files (*.osc);;All Files (*)"),
                                                nullptr, QFileDialog::DontUseNativeDialog);
 
@@ -643,7 +643,7 @@
 
         if (! osc_settings)
           {
-            qWarning () << tr ("Failed to open %1 as octave shortcut file")
+            qWarning () << tr ("Failed to open %1 as Octave shortcut file")
                         .arg (file);
             return false;
           }