summaryrefslogtreecommitdiff
path: root/src/playerrelations.cpp
diff options
context:
space:
mode:
authorKess Vargavind <vargavind@gmail.com>2009-08-07 13:33:14 +0200
committerKess Vargavind <vargavind@gmail.com>2009-08-07 14:18:45 +0200
commit6460413ee2f50be561fd0824e3eaa9c2c09415b1 (patch)
tree86691035f8d0d3bfac86249b63a160fab924c43c /src/playerrelations.cpp
parent6ab1e52df06baea2ad00d4e87378f220534795c8 (diff)
downloadmana-6460413ee2f50be561fd0824e3eaa9c2c09415b1.tar.gz
mana-6460413ee2f50be561fd0824e3eaa9c2c09415b1.tar.bz2
mana-6460413ee2f50be561fd0824e3eaa9c2c09415b1.tar.xz
mana-6460413ee2f50be561fd0824e3eaa9c2c09415b1.zip
Gettext fixes
Trying to use the same kind of capitalization and interpunctuation for various parts of the gui, melding a few split strings, updating POTFILES.in and adding translators' notes.
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());