Standardize whoer messages a little
This commit is contained in:
@@ -259,7 +259,7 @@ function shared.Whoer.Init()
|
|||||||
player.name,
|
player.name,
|
||||||
player.stinky and "(!!!!)" or "",
|
player.stinky and "(!!!!)" or "",
|
||||||
shared._L(player.class, locale),
|
shared._L(player.class, locale),
|
||||||
shared._L(player.race, locale),
|
--shared._L(player.race, locale),
|
||||||
shared._L(shared.raceMap[player.race] or "unknown", locale),
|
shared._L(shared.raceMap[player.race] or "unknown", locale),
|
||||||
player.guild,
|
player.guild,
|
||||||
shared._L(player.zone, locale))
|
shared._L(player.zone, locale))
|
||||||
@@ -313,8 +313,9 @@ function shared.Whoer.Init()
|
|||||||
local locale = shared.GetLocaleForChannel(channel)
|
local locale = shared.GetLocaleForChannel(channel)
|
||||||
local text = string.format(shared._L("whoerMoved", locale),
|
local text = string.format(shared._L("whoerMoved", locale),
|
||||||
player.name,
|
player.name,
|
||||||
|
player.stinky and "(!!!!)" or "",
|
||||||
shared._L(player.class, locale),
|
shared._L(player.class, locale),
|
||||||
shared._L(player.race, locale),
|
--shared._L(player.race, locale),
|
||||||
shared._L(shared.raceMap[player.race] or "unknown", locale),
|
shared._L(shared.raceMap[player.race] or "unknown", locale),
|
||||||
player.guild,
|
player.guild,
|
||||||
shared._L(zone, locale))
|
shared._L(zone, locale))
|
||||||
@@ -361,7 +362,10 @@ function shared.Whoer.Init()
|
|||||||
local locale = shared.GetLocaleForChannel(channel)
|
local locale = shared.GetLocaleForChannel(channel)
|
||||||
local text = string.format(shared._L("whoerGone", locale),
|
local text = string.format(shared._L("whoerGone", locale),
|
||||||
player.name,
|
player.name,
|
||||||
|
player.stinky and "(!!!!)" or "",
|
||||||
shared._L(player.class, locale),
|
shared._L(player.class, locale),
|
||||||
|
--shared._L(player.race, locale),
|
||||||
|
shared._L(shared.raceMap[player.race] or "unknown", locale),
|
||||||
player.guild,
|
player.guild,
|
||||||
shared._L(player.zone, locale))
|
shared._L(player.zone, locale))
|
||||||
|
|
||||||
|
|||||||
24
_L.lua
24
_L.lua
@@ -10,10 +10,13 @@ shared._Locale = {
|
|||||||
bonkDetected = "%s hit %s (%s)",
|
bonkDetected = "%s hit %s (%s)",
|
||||||
combatAlerterInCombat = "I am in combat with %s at %s (%s) at [%s](%2.2f, %2.2f)",
|
combatAlerterInCombat = "I am in combat with %s at %s (%s) at [%s](%2.2f, %2.2f)",
|
||||||
snifferStinky = "I smell a stinky %s",
|
snifferStinky = "I smell a stinky %s",
|
||||||
spotterSpotted = "I see (%s) %s/%s %s of race %s (%s) with pvp %s and health %s/%s at %s (%s) [%s](%2.2f, %2.2f)",
|
spotterSpotted = "I see (%s) %s/%s %s r:%s (%s) pvp %s health %s/%s at %s (%s) [%s](%2.2f, %2.2f)",
|
||||||
whoerNew = "%s %s c:%s r:%s (%s) g:%s - %s",
|
--whoerNew = "%s %s c:%s (r:%s f:%s) g:%s arrived to %s",
|
||||||
whoerMoved = "%s c:%s (%s - %s) g:%s moved to %s",
|
--whoerMoved = "%s %s c:%s (r:%s - f:%s) g:%s moved to %s",
|
||||||
whoerGone = "%s c:%s g:%s left %s",
|
--whoerGone = "%s %s c:%s (r:%s - f:%s) g:%s left %s",
|
||||||
|
whoerNew = "%s%s; c:%s; f:%s; g:%s; arrived to %s",
|
||||||
|
whoerMoved = "%s%s; c:%s; f:%s; g:%s; moved to %s",
|
||||||
|
whoerGone = "%s%s; c:%s; f:%s; g:%s; left %s",
|
||||||
killed = "%s killed %s with %s in %s (%s) at [%s](%2.2f, %2.2f)",
|
killed = "%s killed %s with %s in %s (%s) at [%s](%2.2f, %2.2f)",
|
||||||
friendly = "friendly",
|
friendly = "friendly",
|
||||||
unknown = "unknown",
|
unknown = "unknown",
|
||||||
@@ -90,11 +93,13 @@ shared._Locale = {
|
|||||||
bonkDetected = "%s ударил %s (%s)",
|
bonkDetected = "%s ударил %s (%s)",
|
||||||
combatAlerterInCombat = "Я в бою с %s на %s (%s) на [%s](%2.2f, %2.2f)",
|
combatAlerterInCombat = "Я в бою с %s на %s (%s) на [%s](%2.2f, %2.2f)",
|
||||||
snifferStinky = "Я чувствую запах %s",
|
snifferStinky = "Я чувствую запах %s",
|
||||||
spotterSpotted = "Я вижу (%s) %s/%s %s расы %s (%s) с pvp %s и здоровьем %s/%s на %s [%s](%2.2f, %2.2f)",
|
spotterSpotted = "Я вижу (%s) %s/%s %s r:%s (%s) pvp %s здоровье %s/%s на %s [%s](%2.2f, %2.2f)",
|
||||||
whoerNew =
|
--whoerNew = "%s %s к:%s (r:%s f:%s) g:%s прибыл в %s",
|
||||||
"%s %s класса %s, расы %s (%s) гильдии %s в %s",
|
--whoerMoved = "%s %s к:%s (r:%s - f:%s) переместился в %s",
|
||||||
whoerMoved = "%s класса %s (%s - %s) и гильдии %s переместился в %s",
|
--whoerGone = "%s %s к:%s (r:%s - f:%s) покинул %s",
|
||||||
whoerGone = "%s класса %s и гильдии %s покинул %s",
|
whoerNew = "%s%s; к:%s; f:%s; g:%s; прибыл в %s",
|
||||||
|
whoerMoved = "%s%s; к:%s; f:%s; g:%s; переместился в %s",
|
||||||
|
whoerGone = "%s%s; к:%s; f:%s; g:%s; покинул %s",
|
||||||
killed = "%s убил %s с %s в %s (%s) на [%s](%2.2f, %2.2f)",
|
killed = "%s убил %s с %s в %s (%s) на [%s](%2.2f, %2.2f)",
|
||||||
friendly = "дружественный",
|
friendly = "дружественный",
|
||||||
unknown = "неизвестный",
|
unknown = "неизвестный",
|
||||||
@@ -202,5 +207,6 @@ shared._Locale = {
|
|||||||
["Undead"] = "Нежить",
|
["Undead"] = "Нежить",
|
||||||
["Alliance"] = "Альянс",
|
["Alliance"] = "Альянс",
|
||||||
["Horde"] = "Орда",
|
["Horde"] = "Орда",
|
||||||
|
["Suramar"] = "Сурамар",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user