From c958848d605888072a56f5afe33cbfdabecbb7ca Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Thu, 11 Jan 2007 13:36:22 +0000 Subject: [PATCH] Fixed issues with localization, where the non-default locale would overwite the enUS locale instead of provide fallthrough --- Localization.deDE.lua | 4 ++-- Localization.frFR.lua | 4 ++-- PerfectRaid.lua | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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 -- 1.7.9.5