diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-25 19:51:39 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-25 19:51:39 -0700 |
commit | 0221a7bacfbf3246028a5d4f7ffd31ab968a22a1 (patch) | |
tree | 2a28948ac917819dd08f3cd0dc33140ca58fea7b /src | |
parent | f75f2025025cc651dabf25403111156b8b908ee4 (diff) | |
download | mana-0221a7bacfbf3246028a5d4f7ffd31ab968a22a1.tar.gz mana-0221a7bacfbf3246028a5d4f7ffd31ab968a22a1.tar.bz2 mana-0221a7bacfbf3246028a5d4f7ffd31ab968a22a1.tar.xz mana-0221a7bacfbf3246028a5d4f7ffd31ab968a22a1.zip |
Fixed a few translatable strings.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/setup.cpp | 8 | ||||
-rw-r--r-- | src/gui/status.cpp | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp index dd0f94e5..d18f365c 100644 --- a/src/gui/setup.cpp +++ b/src/gui/setup.cpp @@ -68,7 +68,7 @@ Setup::Setup(): add(btn); // Disable this button when the windows aren't created yet - if (!strcmp(*curBtn, _("Reset Windows"))) + if (!strcmp(*curBtn, "Reset Windows")) btn->setEnabled(statusWindow != NULL); } @@ -113,17 +113,17 @@ Setup::~Setup() void Setup::action(const gcn::ActionEvent &event) { - if (event.getId() == _("Apply")) + if (event.getId() == "Apply") { setVisible(false); for_each(mTabs.begin(), mTabs.end(), std::mem_fun(&SetupTab::apply)); } - else if (event.getId() == _("Cancel")) + else if (event.getId() == "Cancel") { setVisible(false); for_each(mTabs.begin(), mTabs.end(), std::mem_fun(&SetupTab::cancel)); } - else if (event.getId() == _("Reset Windows")) + else if (event.getId() == "Reset Windows") { // Bail out if this action happens to be activated before the windows // are created (though it should be disabled then) diff --git a/src/gui/status.cpp b/src/gui/status.cpp index 5cc0e80b..bd6048f3 100644 --- a/src/gui/status.cpp +++ b/src/gui/status.cpp @@ -50,19 +50,19 @@ StatusWindow::StatusWindow(LocalPlayer *player): mGpLabel = new gcn::Label(strprintf(_("Job: %d"), 0)); mJobLvlLabel = new gcn::Label(strprintf(_("Money: %d GP"), 0)); - mHpLabel = new gcn::Label("HP:"); + mHpLabel = new gcn::Label(_("HP:")); mHpBar = new ProgressBar(1.0f, 80, 15, 0, 171, 34); mHpValueLabel = new gcn::Label; - mXpLabel = new gcn::Label("Exp:"); + mXpLabel = new gcn::Label(_("Exp:")); mXpBar = new ProgressBar(1.0f, 80, 15, 143, 192, 211); mXpValueLabel = new gcn::Label; - mMpLabel = new gcn::Label("MP:"); + mMpLabel = new gcn::Label(_("MP:")); mMpBar = new ProgressBar(1.0f, 80, 15, 26, 102, 230); mMpValueLabel = new gcn::Label; - mJobXpLabel = new gcn::Label("Job:"); + mJobXpLabel = new gcn::Label(_("Job:")); mJobXpBar = new ProgressBar(1.0f, 80, 15, 220, 135, 203); mJobValueLabel = new gcn::Label; |