summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-15 22:55:57 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-15 22:55:57 +0100
commit968f06bb452449869532250b5ea722e29cb22991 (patch)
treee398c3b09ba484e65a90938334e76d34e2ad6fb2
parente4d63db096901c1d67d0feb72d77bc5d0c8ba1b3 (diff)
downloadmana-968f06bb452449869532250b5ea722e29cb22991.tar.gz
mana-968f06bb452449869532250b5ea722e29cb22991.tar.bz2
mana-968f06bb452449869532250b5ea722e29cb22991.tar.xz
mana-968f06bb452449869532250b5ea722e29cb22991.zip
Don't make window name translatable
The window name is used in the configuration file, in contrast to the window title.
-rw-r--r--src/gui/buy.cpp2
-rw-r--r--src/gui/chat.cpp2
-rw-r--r--src/gui/emotewindow.cpp2
-rw-r--r--src/gui/help.cpp2
-rw-r--r--src/gui/inventorywindow.cpp2
-rw-r--r--src/gui/minimap.cpp2
-rw-r--r--src/gui/recorder.cpp2
-rw-r--r--src/gui/skill.cpp2
-rw-r--r--src/gui/status.cpp2
-rw-r--r--src/gui/trade.cpp2
-rw-r--r--src/gui/updatewindow.cpp2
11 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/buy.cpp b/src/gui/buy.cpp
index 23bf89f5..27f738c7 100644
--- a/src/gui/buy.cpp
+++ b/src/gui/buy.cpp
@@ -43,7 +43,7 @@ BuyDialog::BuyDialog(Network *network):
Window(_("Buy")), mNetwork(network),
mMoney(0), mAmountItems(0), mMaxItems(0)
{
- setWindowName(_("Buy"));
+ setWindowName("Buy");
setResizable(true);
setMinWidth(260);
setMinHeight(230);
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index 19d386cf..ba4885fe 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -52,7 +52,7 @@
ChatWindow::ChatWindow(Network * network):
Window(""), mNetwork(network), mTmpVisible(false)
{
- setWindowName(_("Chat"));
+ setWindowName("Chat");
setResizable(true);
setDefaultSize(0, windowContainer->getHeight() - 123, 600, 123);
diff --git a/src/gui/emotewindow.cpp b/src/gui/emotewindow.cpp
index 30ee3cd3..745d10a9 100644
--- a/src/gui/emotewindow.cpp
+++ b/src/gui/emotewindow.cpp
@@ -35,7 +35,7 @@
EmoteWindow::EmoteWindow():
Window(_("Emote"))
{
- setWindowName(_("Emote"));
+ setWindowName("Emote");
setResizable(true);
setCloseButton(true);
setMinWidth(80);
diff --git a/src/gui/help.cpp b/src/gui/help.cpp
index c7f95001..30c6a9c4 100644
--- a/src/gui/help.cpp
+++ b/src/gui/help.cpp
@@ -36,7 +36,7 @@ HelpWindow::HelpWindow():
setMinWidth(300);
setMinHeight(250);
setContentSize(455, 350);
- setWindowName(_("Help"));
+ setWindowName("Help");
setResizable(true);
mBrowserBox = new BrowserBox;
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index 4f3ef6b3..471ebf3a 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -51,7 +51,7 @@ InventoryWindow::InventoryWindow(int invSize):
mMaxSlots(invSize),
mItemDesc(false)
{
- setWindowName(_("Inventory"));
+ setWindowName("Inventory");
setResizable(true);
setCloseButton(true);
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp
index ccadf3e1..55c6b3c5 100644
--- a/src/gui/minimap.cpp
+++ b/src/gui/minimap.cpp
@@ -40,7 +40,7 @@ Minimap::Minimap():
mMapImage(NULL),
mProportion(0.5)
{
- setWindowName(_("MiniMap"));
+ setWindowName("MiniMap");
mShow = config.getValue(getWindowName() + "Show", true);
setDefaultSize(5, 25, 100, 100);
setResizable(true);
diff --git a/src/gui/recorder.cpp b/src/gui/recorder.cpp
index 40ef974b..8177f108 100644
--- a/src/gui/recorder.cpp
+++ b/src/gui/recorder.cpp
@@ -34,7 +34,7 @@ Recorder::Recorder(ChatWindow *chat, const std::string &title,
const std::string &buttonTxt) :
Window(title)
{
- setWindowName(_("Recorder"));
+ setWindowName("Recorder");
const int offsetX = 2 * getPadding() + 10;
const int offsetY = getTitleBarHeight() + getPadding() + 10;
diff --git a/src/gui/skill.cpp b/src/gui/skill.cpp
index c3532072..61bb9ce9 100644
--- a/src/gui/skill.cpp
+++ b/src/gui/skill.cpp
@@ -134,7 +134,7 @@ SkillDialog::SkillDialog():
mTable->setActionEventId("skill");
mTable->addActionListener(this);
- setWindowName(_("Skills"));
+ setWindowName("Skills");
setCloseButton(true);
setDefaultSize(windowContainer->getWidth() - 260, 25, 255, 260);
diff --git a/src/gui/status.cpp b/src/gui/status.cpp
index 2c665c7c..f6ca9698 100644
--- a/src/gui/status.cpp
+++ b/src/gui/status.cpp
@@ -40,7 +40,7 @@ StatusWindow::StatusWindow(LocalPlayer *player):
mPlayer(player),
mCurrency(0)
{
- setWindowName(_("Status"));
+ setWindowName("Status");
setCloseButton(true);
setDefaultSize((windowContainer->getWidth() - 365) / 2,
(windowContainer->getHeight() - 255) / 2, 400, 345);
diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp
index 9c11afd4..529d06b0 100644
--- a/src/gui/trade.cpp
+++ b/src/gui/trade.cpp
@@ -52,7 +52,7 @@ TradeWindow::TradeWindow(Network *network):
mMyInventory(new Inventory(INVENTORY_SIZE)),
mPartnerInventory(new Inventory(INVENTORY_SIZE))
{
- setWindowName(_("Trade"));
+ setWindowName("Trade");
setDefaultSize(115, 227, 342, 209);
setResizable(true);
diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp
index 31d37e16..76a2d626 100644
--- a/src/gui/updatewindow.cpp
+++ b/src/gui/updatewindow.cpp
@@ -360,7 +360,7 @@ int UpdaterWindow::downloadThread(void *ptr)
// Remove the corrupted file
::remove(outFilename.c_str());
logger->log(
- _("Checksum for file %s failed: (%lx/%lx)"),
+ "Checksum for file %s failed: (%lx/%lx)",
uw->mCurrentFile.c_str(),
adler, uw->mCurrentChecksum);
attempts++;