eliot-dev
[Top][All Lists]
Advanced

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

[Eliot-dev] eliot/qt main_window.cpp training_widget.cpp


From: Olivier Teulière
Subject: [Eliot-dev] eliot/qt main_window.cpp training_widget.cpp
Date: Sat, 28 Feb 2009 09:24:27 +0000

CVSROOT:        /cvsroot/eliot
Module name:    eliot
Changes by:     Olivier Teulière <ipkiss>       09/02/28 09:24:27

Modified files:
        qt             : main_window.cpp training_widget.cpp 

Log message:
         - Fixed an accelerator key in the English version
         - Added a reference to the web site in the About box
         - Fixed an encoding problem on an error message
         - Explained better the error message saying to select a dictionary

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/eliot/qt/main_window.cpp?cvsroot=eliot&r1=1.30&r2=1.31
http://cvs.savannah.gnu.org/viewcvs/eliot/qt/training_widget.cpp?cvsroot=eliot&r1=1.10&r2=1.11

Patches:
Index: main_window.cpp
===================================================================
RCS file: /cvsroot/eliot/eliot/qt/main_window.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- main_window.cpp     19 Feb 2009 18:25:18 -0000      1.30
+++ main_window.cpp     28 Feb 2009 09:24:27 -0000      1.31
@@ -449,7 +449,7 @@
 
     QMenu *menuHelp = new QMenu(m_ui.menubar);
     m_ui.menubar->addAction(menuHelp->menuAction());
-    menuHelp->setTitle(_q("&Help"));
+    menuHelp->setTitle(_q("Hel&p"));
     addMenuAction(menuHelp, _q("&About..."), QString(""),
                   _q("About Eliot"), SLOT(onHelpAbout()),
                   false, QIcon(":/images/info_16px.png"));
@@ -460,7 +460,10 @@
 {
     if (m_dic == NULL)
     {
-        displayErrorMsg(_q("You have to select a dictionary first!"));
+        displayErrorMsg(_q("You have to select a dictionary (.dawg file) "
+                           "before starting a game. This can be done in the "
+                           "\"Settings\" menu."
+                           "\n\nYou can download dictionary files on Eliot web 
site."));
         return;
     }
 
@@ -832,6 +835,8 @@
         "modify it under the terms of the GNU General Public License as " \
         "published by the Free Software Foundation; either version 2 of " \
         "the License, or (at your option) any later version.");
+    msg += "\n\n";
+    msg += _q("Web site: http://www.nongnu.org/eliot/en/";);
     // QMessageBox::about() doesn't add the nice information icon, so we create
     // the box manually (not much work...)
     QMessageBox aboutBox(QMessageBox::Information, _q("About Eliot"),

Index: training_widget.cpp
===================================================================
RCS file: /cvsroot/eliot/eliot/qt/training_widget.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- training_widget.cpp 19 Feb 2009 18:25:20 -0000      1.10
+++ training_widget.cpp 28 Feb 2009 09:24:27 -0000      1.11
@@ -221,7 +221,7 @@
     }
     catch (GameException &e)
     {
-        emit notifyProblem(e.what());
+        emit notifyProblem(_q(e.what()));
     }
 }
 
@@ -237,7 +237,7 @@
     }
     catch (GameException &e)
     {
-        emit notifyProblem(e.what());
+        emit notifyProblem(_q(e.what()));
     }
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]