summaryrefslogtreecommitdiff
path: root/src/playerrelations.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/playerrelations.cpp')
-rw-r--r--src/playerrelations.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/playerrelations.cpp b/src/playerrelations.cpp
index 316bd9ed..7bc1b14d 100644
--- a/src/playerrelations.cpp
+++ b/src/playerrelations.cpp
@@ -29,6 +29,7 @@
#include "playerrelations.h"
#include "utils/dtor.h"
+#include "utils/gettext.h"
#define PLAYER_IGNORE_STRATEGY_NOP "nop"
#define PLAYER_IGNORE_STRATEGY_EMOTE0 "emote0"
@@ -292,7 +293,7 @@ class PIS_nothing : public PlayerIgnoreStrategy
public:
PIS_nothing()
{
- mDescription = "completely ignore";
+ mDescription = _("Completely ignore");
mShortName = PLAYER_IGNORE_STRATEGY_NOP;
}
@@ -306,7 +307,7 @@ class PIS_dotdotdot : public PlayerIgnoreStrategy
public:
PIS_dotdotdot()
{
- mDescription = "print '...'";
+ mDescription = _("Print '...'");
mShortName = "dotdotdot";
}
@@ -322,7 +323,7 @@ class PIS_blinkname : public PlayerIgnoreStrategy
public:
PIS_blinkname()
{
- mDescription = "blink name";
+ mDescription = _("Blink name");
mShortName = "blinkname";
}
@@ -359,10 +360,10 @@ PlayerRelationsManager::getPlayerIgnoreStrategies()
{
// not initialised yet?
mIgnoreStrategies.push_back(new PIS_emote(FIRST_IGNORE_EMOTE,
- "floating '...' bubble",
+ _("Floating '...' bubble"),
PLAYER_IGNORE_STRATEGY_EMOTE0));
mIgnoreStrategies.push_back(new PIS_emote(FIRST_IGNORE_EMOTE + 1,
- "floating bubble",
+ _("Floating bubble"),
"emote1"));
mIgnoreStrategies.push_back(new PIS_nothing());
mIgnoreStrategies.push_back(new PIS_dotdotdot());