[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [gcompris/devel] src/activities/menu: dialog, download confirmation,  add qsTr for yes/no
From:       Johnny Jazeix <jazeix () gmail ! com>
Date:       2015-03-31 19:15:08
Message-ID: E1Yd1cy-0005Ae-U4 () scm ! kde ! org
[Download RAW message or body]

Git commit 4cffe262cd612b473bef6bb22841bd784a3106c2 by Johnny Jazeix.
Committed on 31/03/2015 at 19:15.
Pushed by jjazeix into branch 'devel'.

dialog, download confirmation, add qsTr for yes/no

M  +2    -2    src/activities/menu/ConfigurationItem.qml

http://commits.kde.org/gcompris/4cffe262cd612b473bef6bb22841bd784a3106c2

diff --git a/src/activities/menu/ConfigurationItem.qml b/src/activities/menu/ConfigurationItem.qml
index 0fb00d7..c0c8522 100644
--- a/src/activities/menu/ConfigurationItem.qml
+++ b/src/activities/menu/ConfigurationItem.qml
@@ -468,13 +468,13 @@ Item {
                 Core.showMessageDialog(main,
                 qsTr("You selected a new locale") + '\n'
                 + qsTr("Do you want to download the corresponding sound files now?"),
-                "YES", function() {
+                qsTr("Yes"), function() {
                     // yes -> start download
                     if (DownloadManager.downloadResource(
                     DownloadManager.getVoicesResourceForLocale(ApplicationSettings.locale)))
                     var downloadDialog = Core.showDownloadDialog(main, {});
                 },
-                "NO", null,
+                qsTr("No"), null,
                 null
                 );
             } else // check for udpates or/and register new voices
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic