summaryrefslogtreecommitdiff
path: root/src/gui/didyouknowwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/didyouknowwindow.cpp')
-rw-r--r--src/gui/didyouknowwindow.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/didyouknowwindow.cpp b/src/gui/didyouknowwindow.cpp
index 6227afd7f..56aeb6129 100644
--- a/src/gui/didyouknowwindow.cpp
+++ b/src/gui/didyouknowwindow.cpp
@@ -47,14 +47,18 @@
static const int minTip = 1;
static const int maxTip = 18;
-DidYouKnowWindow::DidYouKnowWindow():
+DidYouKnowWindow::DidYouKnowWindow() :
+ // TRANSLATORS: did you know window name
Window(_("Did You Know?"), false, nullptr, "didyouknow.xml"),
gcn::ActionListener(),
mBrowserBox(new BrowserBox(this)),
mScrollArea(new ScrollArea(mBrowserBox,
true, "didyouknow_background.xml")),
+ // TRANSLATORS: did you know window button
mButtonPrev(new Button(this, _("< Previous"), "prev", this)),
+ // TRANSLATORS: did you know window button
mButtonNext(new Button(this, _("Next >"), "next", this)),
+ // TRANSLATORS: did you know window checkbox
mOpenAgainCheckBox(new CheckBox(this, _("Auto open this window"),
config.getBoolValue("showDidYouKnow"), this, "openagain"))
{
@@ -70,6 +74,7 @@ DidYouKnowWindow::DidYouKnowWindow():
setDefaultSize(500, 400, ImageRect::CENTER);
mBrowserBox->setOpaque(false);
+ // TRANSLATORS: did you know window button
Button *const okButton = new Button(this, _("Close"), "close", this);
mBrowserBox->setLinkHandler(this);