TITAN_DPS_MENU_TEXT = "DPS";
TITAN_DPS_TOOLTIP = "Damage Per Second";
TITAN_DPS_MENU_RESET = "Reset"

TITAN_DPS_SHOW_COMBINED = "Combine DPS";
TITAN_DPS_SHOW_RAVG_DPS = "Average";
TITAN_DPS_SHOW_SESSION_DPS = "Session";
TITAN_DPS_SHOW_LEVEL_DPS = "Level";
TITAN_DPS_SHOW_OVERALL_DPS = "Overall";

TITAN_DPS_DPS_FORMAT = RED_FONT_COLOR_CODE.."%.2f"..FONT_COLOR_CODE_CLOSE..HIGHLIGHT_FONT_COLOR_CODE.." / "..FONT_COLOR_CODE_CLOSE..GREEN_FONT_COLOR_CODE.."%.2f"..FONT_COLOR_CODE_CLOSE;
TITAN_DPS_BAR_FORMAT = "DPS: "..TITAN_DPS_DPS_FORMAT;
TITAN_DPS_PETBAR_FORMAT = "DPS: "..TITAN_DPS_DPS_FORMAT.." Pet: "..TITAN_DPS_DPS_FORMAT;

TITAN_DPS_PLAYER = "Player";
TITAN_DPS_PET = "Pet";

TITAN_DPS_NAME_FORMAT = HIGHLIGHT_FONT_COLOR_CODE.."%s"..FONT_COLOR_CODE_CLOSE;
TITAN_DPS_RAVG_FORMAT = "Average: "..TITAN_DPS_DPS_FORMAT;
TITAN_DPS_SESSION_FORMAT = "Session: "..TITAN_DPS_DPS_FORMAT;
TITAN_DPS_LEVEL_FORMAT = "Level: "..TITAN_DPS_DPS_FORMAT;
TITAN_DPS_OVERALL_FORMAT = "Overall: "..TITAN_DPS_DPS_FORMAT;

-- Combat Stuff
TITANDPS_001 = "(.+) suffers (%d+) (.+) damage from your (.+).";
TITANDPS_002 = "Your (.+) hits (.+) for (%d+).";
TITANDPS_003 = "You hit (.+) for (%d+)";
TITANDPS_004 = "Your (.+) crits (.+) for (%d+).";
TITANDPS_005 = "You crit (.+) for (%d+)";
TITANDPS_006 = "You miss (.+).";
TITANDPS_007 = "You attack. (.+) parries.";
TITANDPS_008 = "You attack. (.+) evades.";
TITANDPS_009 = "You attack. (.+) dodges.";
TITANDPS_010 = "You attack. (.+) deflects.";
TITANDPS_011 = "You attack. (.+) blocks.";
TITANDPS_012 = "Your (.+) was blocked by (.+).";
TITANDPS_013 = "Your (.+) was deflected by (.+).";
TITANDPS_014 = "Your (.+) was dodged by (.+).";
TITANDPS_015 = "Your (.+) was evaded by (.+).";
TITANDPS_016 = "Your (.+) is parried by (.+)";
TITANDPS_017 = "Your (.+) was resisted by (.+).";
TITANDPS_018 = "Your (.+) failed. (.+) is immune.";
TITANDPS_019 = "Your (.+) missed (.+).";
TITANDPS_020 = "(.+) crits (.+) for (%d+).";
TITANDPS_021 = "(.+) hits (.+) for (%d+).";
TITANDPS_022 = "(.+)'s (.+) hits (.+) for (%d+).";
TITANDPS_023 = "(.+)'s (.+) crits (.+) for (%d+).";
TITANDPS_024 = "(.+)'s (.+) was blocked by (.*).";
TITANDPS_025 = "(.+)'s (.+) was dodged by (.*).";
TITANDPS_026 = "(.+)'s (.+) was evaded by (.*).";
TITANDPS_027 = "(.+)'s (.+) fails. (.+) is immune.";
TITANDPS_028 = "(.+)'s (.+) was resisted by (.*).";
TITANDPS_029 = "(.+)'s (.+) misses (.*).";
TITANDPS_030 = "(.+)'s (.+) missed (.*).";
TITANDPS_031 = "(.+)'s (.+) failed. (.+) is immune.";
TITANDPS_032 = "(.+)'s (.+) missed (.+).";
TITANDPS_033 = "(.+)'s (.+) was deflected by (.+).";
TITANDPS_034 = "(.+) misses (.*).";
TITANDPS_035 = "(.+) attacks. (.+) parries.";
TITANDPS_036 = "(.+) attacks. (.+) evades.";
TITANDPS_037 = "(.+) attacks. (.+) dodges.";
TITANDPS_038 = "(.+) attacks. (.+) deflects.";
TITANDPS_039 = "(.+) attacks. (.+) blocks.";
TITANDPS_040 = "(.+) hits you for (%d+). (.+) blocked";
TITANDPS_041 = "(.+) hits you for (%d+)";
TITANDPS_042 = "(.+) crits you for (%d+).";
TITANDPS_043 = "(.+)'s (.+) hits you for (%d+).";
TITANDPS_044 = "(.+)'s (.+) crits you for (%d+).";
TITANDPS_045 = "(.+)'s (.+) was blocked%.";
TITANDPS_046 = "(.+)'s (.+) was deflected%.";
TITANDPS_047 = "(.+)'s (.+) was dodged%.";
TITANDPS_048 = "(.+)'s (.+) was evaded%.";
TITANDPS_049 = "(.+)'s (.+) failed. You are immune.";
TITANDPS_050 = "(.+)'s (.+) misses you.";
TITANDPS_051 = "You parry (.+)'s (.+)";
TITANDPS_052 = "(.+)'s (.+) was resisted%.";
TITANDPS_053 = "(.+) misses you.";
TITANDPS_054 = "(.+) attacks. You parry.";
TITANDPS_055 = "(.+) attacks. You evade.";
TITANDPS_056 = "(.+) attacks. You dodge.";
TITANDPS_057 = "(.+) attacks. You deflect.";
TITANDPS_058 = "(.+) attacks. You block.";

-- Heals
TITANDPS_059 = "Your (.+) critically heals .+ for (%d+)%.";
TITANDPS_060 = "You gain (%d+) health from (.+)%.";
TITANDPS_061 = "Your (.+) heals .+ for (%d+)%.";
TITANDPS_062 = ".+ gains (%d+) health from your (.+)%.";
TITANDPS_063 = "You gain (%d+) health from (.+)%.";

-- Pet Damage
TITANDPS_064 = "(.+) hits (.+) for (%d+). (.+) blocked";
TITANDPS_065 = "(.+) hits (.+) for (%d+)";
TITANDPS_066 = "(.+) crits (.+) for (%d+).";

-- Localization Strings
function TitanDPS_Localize()
    local localizefunc = getglobal("TitanDPS_Localize_"..GetLocale());
    if (localizefunc) then
        localizefunc();
    end
end

function TitanDPS_Localize_deDE()
    -- Due to lack of available resources, localization had to be removed until assistance can be found
end

function TitanDPS_Localize_frFR()
    -- Due to lack of available resources, localization had to be removed until assistance can be found
end