diff --git a/Content.Client/HealthAnalyzer/UI/HealthAnalyzerWindow.xaml.cs b/Content.Client/HealthAnalyzer/UI/HealthAnalyzerWindow.xaml.cs index 35c6aa511d..61a281cb42 100644 --- a/Content.Client/HealthAnalyzer/UI/HealthAnalyzerWindow.xaml.cs +++ b/Content.Client/HealthAnalyzer/UI/HealthAnalyzerWindow.xaml.cs @@ -56,7 +56,7 @@ namespace Content.Client.HealthAnalyzer.UI // Show the total damage and type breakdown for each damage group. foreach (var (damageGroupId, damageAmount) in DamagePerGroup) { - text.Append($"\n{Loc.GetString("health-analyzer-window-damage-group-text", ("damageGroup", damageGroupId), ("amount", damageAmount))}"); + text.Append($"\n{Loc.GetString("health-analyzer-window-damage-group-text", ("damageGroup", Loc.GetString("health-analyzer-window-damage-group-" + damageGroupId)), ("amount", damageAmount))}"); // Show the damage for each type in that group. var group = protos.Index(damageGroupId); foreach (var type in group.DamageTypes) @@ -67,7 +67,7 @@ namespace Content.Client.HealthAnalyzer.UI if (!shownTypes.Contains(type)) { shownTypes.Add(type); - text.Append($"\n- {Loc.GetString("health-analyzer-window-damage-type-text", ("damageType", type), ("amount", typeAmount))}"); + text.Append($"\n- {Loc.GetString("health-analyzer-window-damage-type-text", ("damageType", Loc.GetString("health-analyzer-window-damage-type-" + type)), ("amount", typeAmount))}"); } } } diff --git a/Resources/Locale/en-US/medical/components/health-analyzer-component.ftl b/Resources/Locale/en-US/medical/components/health-analyzer-component.ftl index 24fa303181..6602c7b370 100644 --- a/Resources/Locale/en-US/medical/components/health-analyzer-component.ftl +++ b/Resources/Locale/en-US/medical/components/health-analyzer-component.ftl @@ -4,3 +4,26 @@ health-analyzer-window-entity-damage-total-text = Total Damage: {$amount} health-analyzer-window-damage-group-text = {$damageGroup}: {$amount} health-analyzer-window-damage-type-text = {$damageType}: {$amount} health-analyzer-window-damage-type-duplicate-text = {$damageType}: {$amount} (duplicate) + +health-analyzer-window-damage-group-Brute = Brute +health-analyzer-window-damage-type-Blunt = Blunt +health-analyzer-window-damage-type-Slash = Slash +health-analyzer-window-damage-type-Piercing = Piercing + +health-analyzer-window-damage-group-Burn = Burn +health-analyzer-window-damage-type-Heat = Heat +health-analyzer-window-damage-type-Shock = Shock +health-analyzer-window-damage-type-Cold = Cold + +health-analyzer-window-damage-group-Airloss = Airloss +health-analyzer-window-damage-type-Asphyxiation = Asphyxiation +health-analyzer-window-damage-type-Bloodloss = Bloodloss + +health-analyzer-window-damage-group-Toxin = Toxin +health-analyzer-window-damage-type-Poison = Poison +health-analyzer-window-damage-type-Radiation = Radiation + +health-analyzer-window-damage-group-Genetic = Genetic +health-analyzer-window-damage-type-Cellular = Cellular + +health-analyzer-window-damage-group-Caustic = Caustic