Fixed issues with localization, where the non-default locale would overwite the enUS locale instead of provide fallthrough
James Whitehead II [01-11-07 - 13:36]
Fixed issues with localization, where the non-default locale would overwite the enUS locale instead of provide fallthrough
diff --git a/Localization.deDE.lua b/Localization.deDE.lua
index 628fc67..dc79124 100755
--- a/Localization.deDE.lua
+++ b/Localization.deDE.lua
@@ -1,7 +1,7 @@
--Localization.deDE.lua
if GetLocale() ~= "deDE" then return end
-PerfectRaidLocals = {
+PerfectRaidLocals = setmetatable({
["Add"] = "Hinzuf\195\188gen",
["Adding defaults to new profile \"%s\""] = "Standard Einstellungen zum Profil \"%s\" hinzuf\195\188gen",
["Aggro"] = "Aggro",
@@ -90,5 +90,5 @@ PerfectRaidLocals = {
["Thorns"] = "Dornen",
["Update delay"] = "Update-Verz\195\182gerung",
["Weakened Soul"] = "Geschw\195\164chte Seele",
-}
+}, {__index=PerfectRaidLocals})
diff --git a/Localization.frFR.lua b/Localization.frFR.lua
index 91cb0f2..1eec222 100644
--- a/Localization.frFR.lua
+++ b/Localization.frFR.lua
@@ -1,7 +1,7 @@
--Localization.frFR.lua
if GetLocale() ~= "frFR" then return end
-PerfectRaidLocals = {
+PerfectRaidLocals = setmetatable({
["Add"] = "Ajouter",
["Adding defaults to new profile \"%s\""] = "Ajout des options par d\195\169faut au nouveau profil \"%s\"",
["Aggro"] = "Aggro",
@@ -88,5 +88,5 @@ PerfectRaidLocals = {
["Thorns"] = "Epines",
["Update delay"] = "D\195\169lais de mise \195\162 jour",
["Weakened Soul"] = "Ame affaiblie",
-}
+}, {__index=PerfectRaidLocals})
diff --git a/PerfectRaid.lua b/PerfectRaid.lua
index d2ecdc5..73fa0fd 100644
--- a/PerfectRaid.lua
+++ b/PerfectRaid.lua
@@ -56,8 +56,8 @@ function PerfectRaid:Initialize()
self.headerDefaults = {
Reverse = false,
- ColorClass = false,
- ColorSeverity = true,
+ ColorClass = true,
+ ColorSeverity = false,
}
if not ClickCastFrames then