From 9fe4993bdc8a166c60c1191292aa353d1937f109 Mon Sep 17 00:00:00 2001 From: ZackaryWelch Date: Tue, 15 Aug 2017 16:28:16 -0400 Subject: Added translations to menu buttons and the panel settings dialogue --- src-qt5/core/lumina-desktop/SystemWindow.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src-qt5/core/lumina-desktop/SystemWindow.cpp') diff --git a/src-qt5/core/lumina-desktop/SystemWindow.cpp b/src-qt5/core/lumina-desktop/SystemWindow.cpp index 1c0b59a5..cd09c9bd 100644 --- a/src-qt5/core/lumina-desktop/SystemWindow.cpp +++ b/src-qt5/core/lumina-desktop/SystemWindow.cpp @@ -55,6 +55,9 @@ bool SystemWindow::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(); -- cgit