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/updaterwindow.cpp | |
parent | 04fbf07c41bf78dea11aa9b7098c80f0da3801e3 (diff) | |
download | manaplus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.gz manaplus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.bz2 manaplus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.xz manaplus-a7c723b681ddefdcaa84cb9b16681c65818d7110.zip |
add comments for translators
Diffstat (limited to 'src/gui/updaterwindow.cpp')
-rw-r--r-- | src/gui/updaterwindow.cpp | 8 |
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: |