Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions Code/CombatEvents.lua
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,35 @@ function module:OnOptionsCreate()
desc = L["Break up number values with '%s' (26500 -> %s)"]:format(LARGE_NUMBER_SEPERATOR, BreakUpLargeNumbers(26500)),
disabled = function() return db.shortenAmount end,
order = 8,
},
includeAdditionalText = {
type = 'toggle',
name = L["Include text details after amounts"],
desc = L["Include additional text details after amounts ('overheal', 'resisted', etc.)"],
order = 9,

get = function()
for _, v in pairs(db.modifier) do
if type(v) == 'table' and v.tag ~= nil then
if v.tag == L[" ([Amount])"] then
return false
end
end
end
return true
end,

set = function(_, val)
for k, v in pairs(db.modifier) do
if type(v) == 'table' and v.tag ~= nil then
if val then
v.tag = L[" ([Amount] " .. string.lower(k) .. ")"]
else
v.tag = L[" ([Amount])"]
end
end
end
end,
}
},
},
Expand Down
7 changes: 5 additions & 2 deletions Locales/enUS.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local debug = true
--@debug@
--[==[@debug@
debug = nil
--@end-debug@
--@end-debug@]==]

local L = LibStub("AceLocale-3.0"):NewLocale("Parrot", "enUS", true, debug)

Expand All @@ -17,6 +17,7 @@ L[" (%d hit, %d crits)"] = true
L[" (%d hits)"] = true
L[" (%d hits, %d crit)"] = true
L[" (%d hits, %d crits)"] = true
L[" ([Amount])"] = true
L[" ([Amount] absorbed)"] = true
L[" ([Amount] blocked)"] = true
L[" ([Amount] overheal)"] = true
Expand Down Expand Up @@ -201,6 +202,8 @@ L["Ignore Cooldown"] = true
L["In a group"] = true
L["In combat"] = true
L["In vehicle"] = true
L["Include text details after amounts"] = true
L["Include additional text details after amounts ('overheal', 'resisted', etc.)"] = true
L["Incoming"] = true
L["Incoming cast"] = true
L["Incoming crit"] = true
Expand Down
3 changes: 3 additions & 0 deletions Locales/ruRU.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ L[" (%d hit, %d crits)"] = " (%d удар, %d криты)"
L[" (%d hits)"] = " (%d удары)"
L[" (%d hits, %d crit)"] = " (%d удары, %d крит)"
L[" (%d hits, %d crits)"] = " (%d удары, %d криты)"
L[" ([Amount])"] = true
L[" ([Amount] absorbed)"] = " ([Amount] поглощено)"
L[" ([Amount] blocked)"] = " ([Amount] заблокировано)"
L[" ([Amount] overheal)"] = " ([Amount] перелечено)"
Expand Down Expand Up @@ -197,6 +198,8 @@ L["Ignore Cooldown"] = "Кулдаун игнорирования"
L["In a group"] = "В группе"
L["In combat"] = "В бою"
L["In vehicle"] = "В машине (in vehicle)"
L["Include text details after amounts"] = "Добавлять уточняющий текст после значений"
L["Include additional text details after amounts ('overheal', 'resisted', etc.)"] = "Добавлять уточняющий текст после значений (перелечено, резист, и т.д.)"
L["Incoming"] = "Входящий"
L["Incoming cast"] = "Входящий каст"
L["Incoming crit"] = "Входящий крит"
Expand Down