summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/actions/commands.cpp2
-rw-r--r--src/gui/userpalette.cpp24
2 files changed, 14 insertions, 12 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 2de80b1f2..d15402b25 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -944,6 +944,7 @@ impHandler(confGet)
if (args.empty())
return false;
+ // TRANSLATORS: result from command /confget
const std::string str = strprintf(_("Config value: %s"),
config.getStringValue(args).c_str());
outStringNormal(event.tab, str, str);
@@ -956,6 +957,7 @@ impHandler(serverConfGet)
if (args.empty())
return false;
+ // TRANSLATORS: result from command /serverconfget
const std::string str = strprintf(_("Server config value: %s"),
serverConfig.getStringValue(args).c_str());
outStringNormal(event.tab, str, str);
diff --git a/src/gui/userpalette.cpp b/src/gui/userpalette.cpp
index 74e98ae27..d9469b78d 100644
--- a/src/gui/userpalette.cpp
+++ b/src/gui/userpalette.cpp
@@ -209,44 +209,44 @@ UserPalette::UserPalette() :
_("Guild members"));
addColor(UserColorId::TEAM1,
0x0000ff,
- // TRANSLATORS: palette color
GradientType::STATIC,
+ // TRANSLATORS: palette color
strprintf(_("Team %d"), 1));
addColor(UserColorId::TEAM2,
0x00a020,
- // TRANSLATORS: palette color
GradientType::STATIC,
+ // TRANSLATORS: palette color
strprintf(_("Team %d"), 2));
addColor(UserColorId::TEAM3,
0xffff20,
- // TRANSLATORS: palette color
GradientType::STATIC,
+ // TRANSLATORS: palette color
strprintf(_("Team %d"), 3));
addLabel(UserColorId::LABEL_PARTICLES,
// TRANSLATORS: palette label
_("Particles"));
addColor(UserColorId::PARTICLE,
0xffffff,
- // TRANSLATORS: palette color
GradientType::STATIC,
+ // TRANSLATORS: palette color
_("Particle effects"));
addColor(UserColorId::PICKUP_INFO,
0x28dc28,
- // TRANSLATORS: palette color
GradientType::STATIC,
+ // TRANSLATORS: palette color
_("Pickup notification"));
addColor(UserColorId::EXP_INFO,
0xffff00,
- // TRANSLATORS: palette color
GradientType::STATIC,
+ // TRANSLATORS: palette color
_("Exp notification"));
addLabel(UserColorId::LABEL_HP,
// TRANSLATORS: palette label
_("Hp bars"));
addColor(UserColorId::PLAYER_HP,
0x00ff00,
- // TRANSLATORS: palette color
GradientType::STATIC,
+ // TRANSLATORS: palette color
_("Player HP bar"), 50);
addColor(UserColorId::PLAYER_HP2,
0xff0000,
@@ -271,13 +271,13 @@ UserPalette::UserPalette() :
_("Hits"));
addColor(UserColorId::HIT_PLAYER_MONSTER,
0x0064ff,
- // TRANSLATORS: palette color
GradientType::STATIC,
+ // TRANSLATORS: palette color
_("Player hits monster"));
addColor(UserColorId::HIT_MONSTER_PLAYER,
0xff3232,
- // TRANSLATORS: palette color
GradientType::STATIC,
+ // TRANSLATORS: palette color
_("Monster hits player"));
addColor(UserColorId::HIT_PLAYER_PLAYER,
0xff5050,
@@ -286,8 +286,8 @@ UserPalette::UserPalette() :
_("Other player hits local player"));
addColor(UserColorId::HIT_CRITICAL,
0xff0000,
- // TRANSLATORS: palette color
GradientType::RAINBOW,
+ // TRANSLATORS: palette color
_("Critical Hit"));
addColor(UserColorId::HIT_LOCAL_PLAYER_MONSTER,
0x00ff00,
@@ -305,16 +305,16 @@ UserPalette::UserPalette() :
// TRANSLATORS: palette color
_("Local player miss"));
addColor(UserColorId::MISS, 0xffff00,
- // TRANSLATORS: palette color
GradientType::STATIC,
+ // TRANSLATORS: palette color
_("Misses"));
addLabel(UserColorId::LABEL_TILES,
// TRANSLATORS: palette label
_("Tiles"));
addColor(UserColorId::PORTAL_HIGHLIGHT,
0xC80000,
- // TRANSLATORS: palette color
GradientType::STATIC,
+ // TRANSLATORS: palette color
_("Portal highlight"));
addColor(UserColorId::COLLISION_HIGHLIGHT,
0x0000C8,