summaryrefslogtreecommitdiff
path: root/src/gui/updaterwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-03 12:35:22 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-03 12:51:43 +0300
commita7c723b681ddefdcaa84cb9b16681c65818d7110 (patch)
tree3c7100a90db00c3eacc41977cdb5bbae99e6ca40 /src/gui/updaterwindow.cpp
parent04fbf07c41bf78dea11aa9b7098c80f0da3801e3 (diff)
downloadplus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.gz
plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.bz2
plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.xz
plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.zip
add comments for translators
Diffstat (limited to 'src/gui/updaterwindow.cpp')
-rw-r--r--src/gui/updaterwindow.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/updaterwindow.cpp b/src/gui/updaterwindow.cpp
index 0542bf6eb..a614b7288 100644
--- a/src/gui/updaterwindow.cpp
+++ b/src/gui/updaterwindow.cpp
@@ -136,6 +136,7 @@ UpdaterWindow::UpdaterWindow(const std::string &updateHost,
const std::string &updatesDir,
const bool applyUpdates,
const int updateType):
+ // TRANSLATORS: updater window name
Window(_("Updating..."), false, nullptr, "update.xml"),
gcn::ActionListener(),
gcn::KeyListener(),
@@ -160,8 +161,11 @@ UpdaterWindow::UpdaterWindow(const std::string &updateHost,
mUpdateIndexOffset(0),
mLoadUpdates(applyUpdates),
mUpdateType(updateType),
+ // TRANSLATORS: updater window label
mLabel(new Label(this, _("Connecting..."))),
+ // TRANSLATORS: updater window button
mCancelButton(new Button(this, _("Cancel"), "cancel", this)),
+ // TRANSLATORS: updater window button
mPlayButton(new Button(this, _("Play"), "play", this)),
mProgressBar(new ProgressBar(this, 0.0, 310, 0)),
mBrowserBox(new BrowserBox(this)),
@@ -648,8 +652,9 @@ void UpdaterWindow::logic()
{
case UPDATE_ERROR:
mBrowserBox->addRow("");
+ // TRANSLATORS: update message
mBrowserBox->addRow(_("##1 The update process is incomplete."));
- // TRANSLATORS: Continues "you try again later.".
+ // TRANSLATORS: Continues "The update process is incomplete.".
mBrowserBox->addRow(_("##1 It is strongly recommended that"));
// TRANSLATORS: Begins "It is strongly recommended that".
mBrowserBox->addRow(_("##1 you try again later."));
@@ -830,6 +835,7 @@ void UpdaterWindow::logic()
case UPDATE_COMPLETE:
mUpdatesDir = mUpdatesDirReal;
enable();
+ // TRANSLATORS: updater window label
setLabel(_("Completed"));
break;
case UPDATE_IDLE: