From 10e6403739611bdc0ea06cf0ed55a0674f111100 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 22 May 2011 15:48:23 +0300 Subject: Some typo fixes and add comments for translators. --- src/gui/debugwindow.cpp | 9 +++++---- src/gui/npcdialog.cpp | 1 - src/gui/popupmenu.cpp | 2 ++ src/gui/shopwindow.cpp | 4 ++-- src/gui/windowmenu.cpp | 2 +- 5 files changed, 10 insertions(+), 8 deletions(-) (limited to 'src/gui') diff --git a/src/gui/debugwindow.cpp b/src/gui/debugwindow.cpp index ddd2bc7db..b3e19e3e5 100644 --- a/src/gui/debugwindow.cpp +++ b/src/gui/debugwindow.cpp @@ -133,12 +133,13 @@ MapDebugTab::MapDebugTab() : mMusicFileLabel = new Label(strprintf(_("Music:"))); mMapLabel = new Label(strprintf(_("Map:"))); mMinimapLabel = new Label(strprintf(_("Minimap:"))); - mTileMouseLabel = new Label(strprintf(_("Cursor: (%d, %d)"), 0, 0)); + mTileMouseLabel = new Label(strprintf("%s (%d, %d)", _("Cursor:"), 0, 0)); mXYLabel = new Label(strprintf("%s (?,?)", _("Player Position:"))); - mParticleCountLabel = new Label(strprintf(_("Particle count: %d"), 88888)); - mMapActorCountLabel = new Label(strprintf( - _("Map actors count: %d"), 88888)); + mParticleCountLabel = new Label(strprintf("%s %d", + _("Particle count:"), 88888)); + mMapActorCountLabel = new Label(strprintf("%s %d", + _("Map actors count:"), 88888)); mUpdateTime = 0; diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp index af89a6881..a6a3f085e 100644 --- a/src/gui/npcdialog.cpp +++ b/src/gui/npcdialog.cpp @@ -205,7 +205,6 @@ void NpcDialog::action(const gcn::ActionEvent &event) return; nextDialog(); - // TRANSLATORS: Please leave the \n sequences intact. addText(_("> Next"), false); } else if (mActionState == NPC_ACTION_CLOSE) diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index 7063d9ce4..88ae0e376 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -1112,7 +1112,9 @@ void PopupMenu::handleLink(const std::string &link, else if (link == "rename map" && mMapItem) { mRenameListener.setMapItem(mMapItem); + // TRANSLATORS: number of chars in string should be near original mDialog = new TextDialog(_("Rename map sign "), + // TRANSLATORS: number of chars in string should be near original _("Name: ")); mRenameListener.setDialog(mDialog); mDialog->setText(mMapItem->getComment()); diff --git a/src/gui/shopwindow.cpp b/src/gui/shopwindow.cpp index 72553ea01..81710dda3 100644 --- a/src/gui/shopwindow.cpp +++ b/src/gui/shopwindow.cpp @@ -683,7 +683,7 @@ void ShopWindow::processRequest(std::string nick, std::string data, int mode) if (!item2 || item2->getQuantity() < amount || !findShopItem(mTradeItem, SELL)) { - sendMessage(nick, "error: Cant sell this item ", true); + sendMessage(nick, "error: Can't sell this item ", true); return; } msg = "buy"; @@ -693,7 +693,7 @@ void ShopWindow::processRequest(std::string nick, std::string data, int mode) { if (!findShopItem(mTradeItem, BUY)) { - sendMessage(nick, "error: Cant buy this item ", true); + sendMessage(nick, "error: Can't buy this item ", true); return; } msg = "sell"; diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp index 5a7b700d7..5e93d5c69 100644 --- a/src/gui/windowmenu.cpp +++ b/src/gui/windowmenu.cpp @@ -65,7 +65,7 @@ WindowMenu::WindowMenu(): KeyboardConfig::KEY_NO_VALUE); addButton(N_("KS"), _("Kill stats"), x, h, KeyboardConfig::KEY_WINDOW_KILLS); - addButton(":-)", _("Smiles"), x, h, + addButton(":-)", _("Smilies"), x, h, KeyboardConfig::KEY_WINDOW_EMOTE_SHORTCUT); addButton(N_("STA"), _("Status"), x, h, KeyboardConfig::KEY_WINDOW_STATUS); addButton(N_("EQU"), _("Equipment"), x, h, -- cgit v1.2.3-60-g2f50