summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/setup.cpp8
-rw-r--r--src/gui/status.cpp8
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;