aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp
diff options
context:
space:
mode:
authorZackaryWelch <welch.zackary@gmail.com>2017-08-15 16:28:16 -0400
committerZackaryWelch <welch.zackary@gmail.com>2017-08-15 16:29:21 -0400
commit9fe4993bdc8a166c60c1191292aa353d1937f109 (patch)
tree382c640cd1aca8dca592365de8fd14495f664c51 /src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp
parentMerge branch 'master' of github.com:trueos/lumina (diff)
downloadlumina-9fe4993bdc8a166c60c1191292aa353d1937f109.tar.gz
lumina-9fe4993bdc8a166c60c1191292aa353d1937f109.tar.bz2
lumina-9fe4993bdc8a166c60c1191292aa353d1937f109.zip
Added translations to menu buttons and the panel settings dialogue
Diffstat (limited to 'src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp')
-rw-r--r--src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp b/src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp
index 6557dbee..1992db0f 100644
--- a/src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp
+++ b/src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp
@@ -1,8 +1,6 @@
//===========================================
// Lumina-DE source code
-// Copyright (c) 2015, Ken Moore
-// Available under the 3-clause BSD license
-// See the LICENSE file for full details
+// Copyright (c) 2015, Ken Moore // Available under the 3-clause BSD license // See the LICENSE file for full details
//===========================================
#include "StartMenu.h"
#include "ui_StartMenu.h"
@@ -290,6 +288,9 @@ bool StartMenu::promptAboutUpdates(bool &skip){
if(pending.isEmpty()){ skip = false; } //continue without skip
else{
QMessageBox dlg(QMessageBox::Question, tr("Apply Updates?"), tr("You have system updates waiting to be applied! Do you wish to install them now?"), QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel, this);
+ dlg.setButtonText(QMessageBox::Yes, tr("Yes"));
+ dlg.setButtonText(QMessageBox::No, tr("No"));
+ dlg.setButtonText(QMessageBox::Cancel, tr("Cancel"));
dlg.setDetailedText(pending);
dlg.setDefaultButton(QMessageBox::Yes);
dlg.show();
bgstack15