diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-03 12:35:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-03 12:51:43 +0300 |
commit | a7c723b681ddefdcaa84cb9b16681c65818d7110 (patch) | |
tree | 3c7100a90db00c3eacc41977cdb5bbae99e6ca40 /src/gui/didyouknowwindow.cpp | |
parent | 04fbf07c41bf78dea11aa9b7098c80f0da3801e3 (diff) | |
download | plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.gz plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.bz2 plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.xz plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.zip |
add comments for translators
Diffstat (limited to 'src/gui/didyouknowwindow.cpp')
-rw-r--r-- | src/gui/didyouknowwindow.cpp | 7 |
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); |