This is the code for fixed the SCT and the SCTD Spell color
damagetype variable in spanish is Ex. when you cast a fireboll damagetype is "Fire" but in the spanish version is "de Fuego", this fix deleted "de" and now the colors show correctly. Only on the "damagetypes" that have two words, when the damagetype has one word this fix not change the variable.
Tested and work 100% in spanish and english clients.
Put this fixe in SCT.lua and SCTD.lua
--if spell color
if( damagetype and GetLocale()=="esES" ) then
local _,b =strfind(damagetype, "(%S+)");
if (b) then
damagetype = strsub(damagetype, b+2);
if ((damagetype) and (SCT.db.profile["SCTD_SPELLCOLOR"])) then
rbgcolor = SCT.db.profile[SCT.SPELL_COLORS_TABLE][damagetype] or rbgcolor;
Made by Padrekarras