diff options
Diffstat (limited to 'src/gui/confirmdialog.cpp')
-rw-r--r-- | src/gui/confirmdialog.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/confirmdialog.cpp b/src/gui/confirmdialog.cpp index 66d7d1375..1351cd89c 100644 --- a/src/gui/confirmdialog.cpp +++ b/src/gui/confirmdialog.cpp @@ -46,12 +46,17 @@ ConfirmDialog::ConfirmDialog(const std::string &title, const std::string &msg, mTextBox->setOpaque(false); mTextBox->setTextWrapped(msg, 260); + // TRANSLATORS: confirm dialog button Button *const yesButton = new Button(this, _("Yes"), "yes", this); + // TRANSLATORS: confirm dialog button Button *const noButton = new Button(this, _("No"), "no", this); Button *ignoreButton = nullptr; if (ignore) + { + // TRANSLATORS: confirm dialog button ignoreButton = new Button(this, _("Ignore"), "ignore", this); + } const int numRows = mTextBox->getNumberOfRows(); int inWidth = yesButton->getWidth() + noButton->getWidth() + |