From 7272851afd9e3a8fcdb531900a8e5c43af417a4b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Aug 2014 21:52:57 +0300 Subject: Add parameter for button name in okdialog. --- src/gui/windows/socialwindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gui/windows/socialwindow.cpp') diff --git a/src/gui/windows/socialwindow.cpp b/src/gui/windows/socialwindow.cpp index aa74ad200..790bad68d 100644 --- a/src/gui/windows/socialwindow.cpp +++ b/src/gui/windows/socialwindow.cpp @@ -496,7 +496,10 @@ void SocialWindow::showPartyCreate() // TRANSLATORS: party creation message new OkDialog(_("Create Party"), _("Cannot create party. You are already in a party"), - DialogType::ERROR, true, true, this, 260); + // TRANSLATORS: ok dialog button + _("OK"), + DialogType::ERROR, + true, true, this, 260); return; } -- cgit v1.2.3-60-g2f50