Skip to content
24 changes: 12 additions & 12 deletions Modules/Config/Config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ _GeneralTab = function()
generalHeader = {
type = "header",
order = 1,
name = function() return i18n("General Settings") end,
name = function() return i18n("General settings") end,
},
statsWindowClosedOnOpen = {
type = "toggle",
order = 1.1,
name = function() return i18n("Hide ECS when opening character tab") end,
name = function() return i18n("Hide ECS when opening character tab.") end,
desc = function() return i18n("Hides the stats windows when opening the character tab.") end,
width = "full",
get = function () return ExtendedCharacterStats.general.statsWindowClosedOnOpen; end,
Expand All @@ -76,7 +76,7 @@ _GeneralTab = function()
addColorsToStatTexts = {
type = "toggle",
order = 2,
name = function() return i18n("Colorize Stats") end,
name = function() return i18n("Colorize stats") end,
desc = function() return i18n("Adds colors to the stats overview.") end,
width = "full",
get = function () return ExtendedCharacterStats.general.addColorsToStatTexts; end,
Expand Down Expand Up @@ -111,7 +111,7 @@ _GeneralTab = function()
showQualityColors = {
type = "toggle",
order = 3,
name = function() return i18n("Show Item Quality Colors") end,
name = function() return i18n("Show item quality colors.") end,
desc = function() return i18n("Shows/Hides the colored frames around equipped items.") end,
width = "full",
get = function () return ExtendedCharacterStats.general.showQualityColors; end,
Expand All @@ -123,7 +123,7 @@ _GeneralTab = function()
qualityColorsIntensity = {
type = "range",
order = 4,
name = function() return i18n("Quality Colors' Intensity") end,
name = function() return i18n("Quality colors' intensity") end,
desc = function() return i18n("Changes the intensity of the colored frames' glow.") end,
width = "double",
min = 0.10,
Expand All @@ -138,8 +138,8 @@ _GeneralTab = function()
headerFontSize = {
type = "range",
order = 5,
name = function() return i18n("Header Font Size") end,
desc = function() return i18n("Changes the font size of the headers (e.g. Melee)") end,
name = function() return i18n("Header font size") end,
desc = function() return i18n("Changes the font size of the headers (e.g. Melee).") end,
width = "double",
min = 8,
max = 18,
Expand All @@ -153,8 +153,8 @@ _GeneralTab = function()
statFontSize = {
type = "range",
order = 6,
name = function() return i18n("Stat Font Size") end,
desc = function() return i18n("Changes the font size of the stat lines (e.g. Crit)") end,
name = function() return i18n("Stat font size") end,
desc = function() return i18n("Changes the font size of the stat lines (e.g. Crit.).") end,
width = "double",
min = 8,
max = 18,
Expand All @@ -168,8 +168,8 @@ _GeneralTab = function()
windowWidth = {
type = "range",
order = 7,
name = function() return i18n("Window Width") end,
desc = function() return i18n("Changes the width of the stats window") end,
name = function() return i18n("Window width") end,
desc = function() return i18n("Changes the width of the stats window.") end,
width = "double",
min = 12,
max = 25,
Expand Down Expand Up @@ -241,7 +241,7 @@ _StatsTab = function ()
statsHeader = {
type = "header",
order = 1,
name = function() return i18n("Stats Settings") end,
name = function() return i18n("Stats settings") end,
},
generalGroup = _Config:LoadGeneralSection(),
meleeGroup = _Config:LoadMeleeSection(),
Expand Down
18 changes: 9 additions & 9 deletions Modules/Config/DefenseSection.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function _Config:LoadDefenseSection()
showDefenseStats = {
type = "toggle",
order = 0,
name = function() return i18n("Show Defense Stats") end,
name = function() return i18n("Show defense stats.") end,
desc = function() return i18n("Shows/Hides all defense stats.") end,
width = 1.5,
get = function () return ExtendedCharacterStats.profile.defense.display; end,
Expand All @@ -45,7 +45,7 @@ function _Config:LoadDefenseSection()
meleeCritReduction = {
type = "toggle",
order = 1.81,
name = function() return i18n("Melee Crit Reduction") end,
name = function() return i18n("Melee crit. reduction") end,
desc = function() return i18n("Shows/Hides the reduction percentage of being critically hit by melee attacks.") end,
width = 1.5,
disabled = function() return (not ExtendedCharacterStats.profile.defense.display); end,
Expand All @@ -58,7 +58,7 @@ function _Config:LoadDefenseSection()
rangedCritReduction = {
type = "toggle",
order = 1.82,
name = function() return i18n("Ranged Crit Reduction") end,
name = function() return i18n("Ranged crit. reduction") end,
desc = function() return i18n("Shows/Hides the reduction percentage of being critically hit by ranged attacks.") end,
width = 1.5,
disabled = function() return (not ExtendedCharacterStats.profile.defense.display); end,
Expand All @@ -71,7 +71,7 @@ function _Config:LoadDefenseSection()
spellCritReduction = {
type = "toggle",
order = 1.83,
name = function() return i18n("Spell Crit Reduction") end,
name = function() return i18n("Spell crit. reduction") end,
desc = function() return i18n("Shows/Hides the reduction percentage of being critically hit by spells.") end,
width = 1.5,
disabled = function() return (not ExtendedCharacterStats.profile.defense.display); end,
Expand Down Expand Up @@ -110,7 +110,7 @@ function _Config:LoadDefenseSection()
defenseRating = {
type = "toggle",
order = 1.9,
name = function() return i18n("Defense Rating") end,
name = function() return i18n("Defense rating") end,
desc = function() return i18n("Shows/Hides the defense rating.") end,
width = 1.5,
hidden = function() return ECS.IsClassic end,
Expand All @@ -137,7 +137,7 @@ function _Config:LoadDefenseSection()
blockChance = {
type = "toggle",
order = 3,
name = function() return i18n("Block Chance") end,
name = function() return i18n("Block chance") end,
desc = function() return i18n("Shows/Hides the block chance.") end,
width = 1.5,
hidden = function() return not IsSpellKnown(107) end,
Expand All @@ -151,7 +151,7 @@ function _Config:LoadDefenseSection()
blockValue = {
type = "toggle",
order = 4,
name = function() return i18n("Block Value") end,
name = function() return i18n("Block value") end,
desc = function() return i18n("Shows/Hides the block value.") end,
width = 1.5,
hidden = function() return not DataUtils:CanBlock() end,
Expand All @@ -165,7 +165,7 @@ function _Config:LoadDefenseSection()
parry = {
type = "toggle",
order = 5,
name = function() return i18n("Parry Chance") end,
name = function() return i18n("Parry chance") end,
desc = function() return i18n("Shows/Hides the parry chance.") end,
width = 1.5,
hidden = function() return not DataUtils:CanParry() end,
Expand All @@ -179,7 +179,7 @@ function _Config:LoadDefenseSection()
dodge = {
type = "toggle",
order = 6,
name = function() return i18n("Dodge Chance") end,
name = function() return i18n("Dodge chance") end,
desc = function() return i18n("Shows/Hides the dodge chance.") end,
width = 1.5,
disabled = function() return (not ExtendedCharacterStats.profile.defense.display); end,
Expand Down
4 changes: 2 additions & 2 deletions Modules/Config/GeneralSection.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function _Config:LoadGeneralSection()
showGeneralStats = {
type = "toggle",
order = 0,
name = function() return i18n("Show General Stats") end,
name = function() return i18n("Show general stats.") end,
desc = function() return i18n("Shows/Hides all general stats.") end,
width = 1.5,
get = function () return ExtendedCharacterStats.profile.general.display; end,
Expand All @@ -30,7 +30,7 @@ function _Config:LoadGeneralSection()
movementSpeed = {
type = "toggle",
order = 1,
name = function() return i18n("Show Movement Speed") end,
name = function() return i18n("Show movement speed.") end,
desc = function() return i18n("Shows/Hides the movement speed value.") end,
width = 1.5,
disabled = function() return (not ExtendedCharacterStats.profile.general.display); end,
Expand Down
2 changes: 1 addition & 1 deletion Modules/Config/ManaSection.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function _Config:LoadManaSection()
showManaStats = {
type = "toggle",
order = 0,
name = function() return i18n("Show Mana Stats") end,
name = function() return i18n("Show mana stats") end,
desc = function() return i18n("Shows/Hides all mana stats.") end,
width = 1.5,
get = function () return ExtendedCharacterStats.profile.regen.display; end,
Expand Down
Loading
Loading