summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp7
-rw-r--r--src/actions/chat.cpp3
-rw-r--r--src/actions/pets.cpp1
-rw-r--r--src/actions/windows.cpp1
4 files changed, 11 insertions, 1 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index ba5bb9226..d8fa1c165 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -1111,6 +1111,7 @@ impHandler0(cacheInfo)
return;
unsigned int all = 0;
+ // TRANSLATORS: chat fonts message
debugChatTab->chatLog(_("font cache size"), ChatMsgType::BY_SERVER);
std::string str;
for (int f = 0; f < 256; f ++)
@@ -1123,14 +1124,17 @@ impHandler0(cacheInfo)
}
}
debugChatTab->chatLog(str, ChatMsgType::BY_SERVER);
+ // TRANSLATORS: chat fonts message
debugChatTab->chatLog(strprintf("%s %d", _("Cache size:"), all),
ChatMsgType::BY_SERVER);
#ifdef DEBUG_FONT_COUNTERS
debugChatTab->chatLog("", ChatMsgType::BY_SERVER);
debugChatTab->chatLog(strprintf("%s %d",
+ // TRANSLATORS: chat fonts message
_("Created:"), font->getCreateCounter()),
ChatMsgType::BY_SERVER);
debugChatTab->chatLog(strprintf("%s %d",
+ // TRANSLATORS: chat fonts message
_("Deleted:"), font->getDeleteCounter()),
ChatMsgType::BY_SERVER);
#endif
@@ -1467,6 +1471,7 @@ impHandler0(createItems)
impHandler(uploadConfig)
{
+ // TRANSLATORS: upload config chat message
uploadFile(_("Uploaded config into:"),
config.getFileName(),
"?xml",
@@ -1476,6 +1481,7 @@ impHandler(uploadConfig)
impHandler(uploadServerConfig)
{
+ // TRANSLATORS: upload config chat message
uploadFile(_("Uploaded server config into:"),
serverConfig.getFileName(),
"?xml",
@@ -1485,6 +1491,7 @@ impHandler(uploadServerConfig)
impHandler(uploadLog)
{
+ // TRANSLATORS: upload log chat message
uploadFile(_("Uploaded log into:"),
settings.logFileName,
"?txt",
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp
index e44b3a259..9d9be4279 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -423,8 +423,8 @@ impHandler(toggle)
{
if (chatWindow && event.tab)
{
- // TRANSLATORS: message from toggle chat command
event.tab->chatLog(chatWindow->getReturnTogglesChat() ?
+ // TRANSLATORS: message from toggle chat command
_("Return toggles chat.") : _("Message closes chat."),
ChatMsgType::BY_SERVER);
}
@@ -597,6 +597,7 @@ impHandler(hat)
const int sprite = localPlayer->getSpriteID(
charServerHandler->hatSprite());
const ItemInfo &info = ItemDB::get(sprite);
+ // TRANSLATORS: equipped hat chat message
const std::string str = strprintf(_("equipped hat %s."),
info.getName().c_str());
outString(event.tab, str, str);
diff --git a/src/actions/pets.cpp b/src/actions/pets.cpp
index bf06b3a75..d69618356 100644
--- a/src/actions/pets.cpp
+++ b/src/actions/pets.cpp
@@ -107,6 +107,7 @@ impHandler(setPetName)
const Being *const pet = getPet();
if (!pet)
return false;
+ // TRANSLATORS: dialog header
inputActionReplayListener.openDialog(_("Rename your pet"),
pet->getName(),
InputAction::PET_SET_NAME);
diff --git a/src/actions/windows.cpp b/src/actions/windows.cpp
index c4aff5b19..508f17105 100644
--- a/src/actions/windows.cpp
+++ b/src/actions/windows.cpp
@@ -319,6 +319,7 @@ impHandler0(quickWindowShow)
if (setupWindow->isWindowVisible())
setupWindow->doCancel();
setupWindow->setVisible(Visible_true);
+ // TRANSLATORS: settings tab name
setupWindow->activateTab(_("Quick"));
setupWindow->requestMoveToTop();
return true;