local appName, app = ...
---@class AbilityTimeline
local private = app
local AceLocale = LibStub ('AceLocale-3.0')

local L = AceLocale:NewLocale(appName, "enUS", true)

if L then
    L["AccessOptionsMessage"] = "Access the options via /at"
    L["TimelineNotEnabledMessage"] = "The timeline feature is not enabled."
    L["TimelineNotSupportedMessage"] = "The timeline feature is not supported on this version."
    L["ReadyCheckBy"] = "Ready Check by"
    L["ReadyCheck"] = "Ready Check"
    L["PullTimer"] = "Pull Timer"
    L["PullTimerBy"] = "Pull Timer by"
    L["RerollKey"] = "Reroll Mythic + Key"
    L["CurrentlyDoingMplusKeyFallback"] = "[BetterTimeline] Currently busy doing a Mythic+ dungeon!"
    L["CurrentlyDoingMplusKey"] = "[BetterTimeline] Currently busy doing Mythic +%i %s timer expires around %i!"
    L["CurrentlyBusyInEncounter"] = "[BetterTimeline] Currently busy fighting %s <%s>!"

    --options
    L['addonOptions'] = "Ability Timeline Options"
    L['reminderOptions'] = "Reminder Options"
    L['reminderOptionsDescription'] = "Easy access to create current Seasons Reminders"
    L['EditTimingsForEncounter'] = "Edit Timings for Encounter"
    L['TimingsEditorTitle'] = "Timings Editor for: "
    L['TimingsEditorAddEntryButton'] = "Add Reminder"
    L['debugMode'] = "Debug Mode"
    L['debugModeDescription'] = "Enables debug mode, which outputs additional information to the chat window."
    L['useAudioCountdowns'] = "Use Audio Countdowns"
    L['useAudioCountdownsDescription'] = "Enables audio countdowns of the last 5 seconds for upcoming events."
    L['enableKeyRerollTimer'] = "Enable Key Reroll Timer"
    L['enableKeyRerollTimerDescription'] = "Enables a timer for you to reroll your Mythic+ key after completing a dungeon."
    L['TestIcon'] = "Test Icon"
    L['OpenSelectedReminderEditor'] = "Open Reminder Editor"
    L['OpenSelectedReminderEditorDescription'] = "Opens the Reminder Editor for the selected encounter."
    L['reminderBrowser'] = "Reminder Browser"
    L['reminderBrowserDescription'] = "Browse and manage your created encounter reminders."
    L["CreatedReminders"] = "Created Reminders"
    L["CreatedRemindersDescription"] = "Select an encounter to edit its reminders."
    L["disableAllOnEncounterEnd"] = "Remove active Reminders"
    L["disableAllOnEncounterEndDescription"] = "Disables all active reminder events when an encounter ends."
    L["IconDangerIconDescription"] = "Displays a danger icon |TInterface\\EncounterJournal\\UI-EJ-Icons:::::256:64:135:153:7:25|t on the timeline for effects which are classified as Deadly by Blizzard."
    L["IconDangerIcon"] = "Enable Danger Icon"
    L["enableDNDMessageDescription"] = "Enables setting a 'Do Not Disturb' message when entering an encounter or Mythic+ dungeon."
    L["enableDNDMessage"] = "Enable 'Do Not Disturb' Message"
    L["disableLoginMessage"] = "Disable Login Message"
    L["disableLoginMessageDescription"] = "Disables the login message that shows how to open the Options."
    L["disableReadyCheckDescription"] = "Disables showing ready check in the timeline."
    L["disableReadyCheck"] = "Disable Ready Check"

    -- reminders
    L["ReminderEditTitle"] = "Edit Reminder"
    L["ReminderAddTitle"] = "Add New Reminder"
    L["ReminderCreatorTimingLabel"] = "Time (seconds)"
    L["ReminderCreatorAddButton"] = "Save Reminder"
    L["ReminderNameLabel"] = "Name"
    L["ReminderSpellIdLabel"] = "Spell ID"
    L["ReminderDelayLabel"] = "Duration to show"
    L["ReminderDelayDescription"] = "How long the reminder should continue to show besides the timeline after the initial time has passed."
    L["StartTimerAfterLabel"] = "Start Delay (seconds)"
    L["StartTimerAfterDescription"] = "Delay (in seconds) after which the reminder should start to be displayed on the timeline once the encounter begins."
    L["ReminderDeleteButton"] = "Delete"
    L["ReminderCancelButton"] = "Cancel"
    L["ReminderSaveButton"] = "Save"
    L["ReminderInvalidTime"] = "Please enter a valid time in seconds."
    L["ReminderInvalidSpell"] = "Spell not found. Please enter a valid Spell ID."
    L["ReminderListEmpty"] = "No reminders yet. Add one to get started."
    L["ReminderDurationLabel"] = "Encounter Duration (seconds)"
    L["ReminderSeverityLabel"] = "Severity"
    L["ReminderEditButton"] = "Edit"
    L["EditRemindersForEncounter"] = "Edit Reminders for Encounter"
    L["ReminderEffectTypesLabel"] = "Effect Types"
    L["DeadlyEffect"] = "Deadly |TInterface\\EncounterJournal\\UI-EJ-Icons:::::256:64:135:153:7:25|t"
    L["EnrageEffect"] = "Enrage |TInterface\\EncounterJournal\\UI-EJ-Icons:::::256:64:103:121:39:57|t"
    L["BleedEffect"] = "Bleed |TInterface\\EncounterJournal\\UI-EJ-Icons:::::256:64:158:192:32:64|t"
    L["MagicEffect"] = "Magic |TInterface\\EncounterJournal\\UI-EJ-Icons:::::256:64:231:249:7:25|t"
    L["DiseaseEffect"] = "Disease |TInterface\\EncounterJournal\\UI-EJ-Icons:::::256:64:71:89:39:57|t"
    L["CurseEffect"] = "Curse |TInterface\\EncounterJournal\\UI-EJ-Icons:::::256:64:7:25:39:57|t"
    L["PoisonEffect"] = "Poison |TInterface\\EncounterJournal\\UI-EJ-Icons:::::256:64:39:57:39:57|t"
    L["TankRole"]= "Tank |TInterface\\EncounterJournal\\UI-EJ-Icons:::::256:64:7:25:7:25|t"
    L["HealerRole"]= "Healer |TInterface\\EncounterJournal\\UI-EJ-Icons:::::256:64:71:89:7:25|t"
    L["DpsRole"]= "Dps |TInterface\\EncounterJournal\\UI-EJ-Icons:::::256:64:39:57:7:25|t"



    --spell icon editor
    L["GeneralSettings"] = "General Settings"
    L["IconSize"] = "Icon Size"
    L["IconSizeDescription"] = "Sets the size of the spell icon."
    L["IconZoom"] = "Icon Zoom"
    L["IconZoomDescription"] = "Sets the zoom level of the spell icon."
    L["IconDispellBorder"] = "Dispell Border"
    L["IconDispellBorderDescription"] = "Toggles the dispell type border around the spell icon."
    L["IconDispellIcon"] = "Dispell Icon"
    L["IconDispellIconDescription"] = "Toggles the dispell type icon overlay on the spell icon."
    L["TextDispellIcon"] = "Dispell Icon"
    L["IconRoleIcons"] = "Role Icons"
    L["IconRoleIconsDescription"] = "Toggles the role icons |TInterface\\EncounterJournal\\UI-EJ-Icons:::::256:64:7:25:7:25|t|TInterface\\EncounterJournal\\UI-EJ-Icons:::::256:64:71:89:7:25|t|TInterface\\EncounterJournal\\UI-EJ-Icons:::::256:64:39:57:7:25|t on the spell icon."
    L["TextDispellIconDescription"] = "Toggles the dispell type icon in the text."
    L['TextCopyHint'] = "Hint: Press Ctrl+C to copy the text to your clipboard."
    L['CopyText'] = "Copy Text"
    L['DiscordDescription'] = "Join my Discord for support and updates"
    L['PatreonDescription'] = "Support the development on Patreon"
    L["Strata"] = "Frame Strata"

    L['TextSettings'] = "Text Settings"
    L["IconSizeDescription"] = "Sets the size of the spell icon."
    L["TextOffsetX"] = "Text Offset X"
    L["TextOffsetXDescription"] = "Sets the X offset of the text relative to the icon."
    L["TextOffsetY"] = "Text Offset Y"
    L["TextOffsetYDescription"] = "Sets the Y offset of the text relative to the icon."
    L["SpellIconSettings"] = "Spell Icon Settings"
    L["IconPreview"] = "Icon Preview"
    L["SpellnameFontSize"] = "Font Size"
    L["SpellnameFontSizeDescription"] = "Sets the font size of the text besides the icon."
    L["SpellnameFont"] = "Font"
    L["SpellnameFontDescription"] = "Sets the font of the text besides the icon."
    L["SpellnameDefaultColor"] = "Default Text Color"
    L["SpellnameDefaultColorDescription"] = "Sets the default color of the text besides the icon when not impacted by specific information like the type of debuff e.G. Poison."

    L["CooldownSettings"] = "Cooldown Settings"
    L["CooldownFont"] = "Cooldown Font"
    L["CooldownFontDescription"] = "Sets the font of the cooldown text on the icon."
    L["CooldownFontSize"] = "Cooldown Font Size"
    L["CooldownFontSizeDescription"] = "Sets the font size of the cooldown text on the icon."
    L["EnableCooldownHighlight"] = "Cooldown Changes"
    L["EnableCooldownHighlightDescription"] = "Enables changes of the cooldown display based on remaining time."
    L["CooldownColorChangeColor"] = "Color"
    L["CooldownColorChangeColorDescription"] = "Sets the color of the cooldown text when this timing is reached."
    L["CooldownColorChangesDescription"] = "Sets the color changes of the cooldown text based on remaining time."
    L["CooldownColorChangeTiming"] = "Timing"
    L["CooldownColorChangeTimingDescription"] = "Sets the timing (in seconds) when this color change should occur."
    L["CooldownColorChanges"] = "Cooldown Color Changes"
    L["DefaultCooldownColor"] = "Cooldown Color"
    L["RemoveCooldownColorChangeTooltip"] = "Removes this cooldown color change."
    L["AddCooldownColorChangeTooltip"] = "Adds a new cooldown color change."
    L['CooldownGlowColorDescription'] = "Sets the glow color for this cooldown timing."
    L['CooldownGlowColor'] = "Glow Color"
    L['EnableCooldownGlowChange'] = "Enable Glow"
    L['EnableCooldownGlowChangeDescription'] = "Enables glow effect for this cooldown timing."
    L['CooldownGlowType'] = "Glow Type"
    L['CooldownGlowTypeDescription'] = "Sets the glow type for this cooldown timing."
    L['SpellnameBackgroundDescription'] = "Enables a background behind the spell name text."
    L['SpellnameBackground'] = "Enable Text Background"
    L['SpellnameBackgroundTexture'] = "Text Background Texture"
    L['SpellnameBackgroundTextureDescription'] = "Sets the texture of the background behind the spell name."
    L['TextBackgroundOffsetX'] = "Text Background Offset X"
    L['TextBackgroundOffsetXDescription'] = "Sets the X offset of the background relative to the text."
    L['TextBackgroundOffsetY'] = "Text Background Offset Y"
    L['TextBackgroundOffsetYDescription'] = "Sets the Y offset of the background relative to the text."
    L['DispellTextColor'] = "Dispell Text Color"
    L['DispellTextColorDescription'] = "Enables coloring the spell name text based on the dispell type."



    --edit mode
    L["EnableBigIcon"] = "Enable Big Icon"
    L["EnableBigIconDescription"] = "Toggles the visibility of the big icon frame."
    L["GrowDirection"] = "Grow Direction"
    L["IconGrowDirectionDescription"] = "Sets the grow direction of different icon elements."
    L["TextGrowDirectionDescription"] = "Sets the grow direction of different text elements."
    L["GrowDirectionRight"] = "Right"
    L["GrowDirectionLeft"] = "Left"
    L["GrowDirectionUp"] = "Up"
    L["GrowDirectionDown"] = "Down"
    L["EnableTicks"] = "Enable Ticks"
    L["EnableTicksDescription"] = "Toggles the visibility of the timeline ticks."
    L["EnableTextHighlight"] = "Enable Text Highlight"
    L["EnableTextHighlightDescription"] = "Toggles the visibility of the text highlight frame."
    L["TravelDirectionHorizontal"] = "Horizontal"
    L["TravelDirectionVertical"] = "Vertical"
    L["TravelDirection"] = "Travel Direction"
    L["TravelDirectionDescription"] = "Travel Direction of the timeline."
    L["TimelineOtherSize"] = "Timeline Other Size"
    L["TimelineOtherSizeDescription"] = "Sets the other Size of the timeline. (Width on Horizontal, Height on Vertical)"
    L["TimelineTravelSize"] = "Timeline Travel Size"
    L["TimelineTravelSizeDescription"] = "Sets the travel Size of the timeline. (Height on Horizontal, Width on Vertical)"
    L["InverseTravelDirection"] = "Inverse Travel Direction"
    L["InverseTravelDirectionDescription"] = "Inverts the travel direction of the timeline."
    L["TextAnchor"] = "Text Anchor"
    L["TextAnchorDescription"] = "Sets the anchor position of the text relative to the icons."
    L["TextAnchorLeft"] = "Left"
    L["TextAnchorRight"] = "Right"
    L["TextAnchorTop"] = "Top"
    L["TextAnchorBottom"] = "Bottom"
    L["TimelineTexture"] = "Timeline Texture"
    L["TimelineTextureDescription"] = "Sets the texture of the timeline background."
    L["OpenIconEditor"] = "Edit Icons"
    L["OpenTextEditor"] = "Edit Texts"
    L['BigIconMargin'] = "Margin"
    L['BigIconMarginDescription'] = "Sets the space between big icons."
    L['TextHighlightMargin'] = "Margin"
    L['TextHighlightMarginDescription'] = "Sets the space between text highlights."
    L["TimelineTextureColorDescription"] = "Sets the color of the timeline background. Note: Not all textures support coloring and might only use the alpha. For Example the default Blizzard-Dialog-Background does NOT use the color."
    L["TimelineTextureColor"] = "Timeline Texture Color"
    L["IconMarginDescription"] = "Sets the space between spell icons."
    L["IconMargin"] = "Icon Margin"
    L["VisualSettingsDescription"] = "Settings to customize the visual appearance of the timeline."
    L["CollapseVisualSettings"] = "Collapse Visual Settings"
    L["ExpandVisualSettings"] = "Expand Visual Settings"
    L["TravelSettingsDescription"] = "Settings to customize the traveling of the icons on the timeline."
    L["CollapseTravelSettings"] = "Collapse Travel Settings"
    L["ExpandTravelSettings"] = "Expand Travel Settings"

    -- errors
    L["InvalidTextPosition"] = "Invalid text anchor position please alert the author."
    L["WrongWoWVersionMessage"] = "AbilityTimeline requires WoW version 12.0.0 (Midnight) or higher to run."

    -- importing
    L["ImportDialogTitle"] = "Import Reminders"
    L["ImportPopupTitle"] = "Importing Reminders"
    L["ImportDialogFreeOfCharge"] = "This Addon and its features is created in my free time and I do not make money off of it. If you paid for these reminders consider supporting the addon creation instead."
    L["ImportButton"] = "Import"
    L["ImportParseError"] = "Could not parse import format. Supported formats: Encoded, Viserio, MRT notes, or JSON"
    L["ImportTextPlaceholder"] = "Paste import data here..."
    L["ImportRelevant"] = "Only import relevant reminders"
    L["ImportRelevantDescription"] = "Only import reminders that are relevant for your Name/Nickname, role or specialization."
    L["ImportMergeMode"] = "Merge with existing reminders"
    L["ImportMergeModeDescription"] = "If unchecked, existing reminders will be replaced with the imported ones."
    L["ImportError"] = "Import failed: %s"
    L["ImportPreview"] = "%d reminder found"
    L["ImportPreviewEmpty"] = "Paste import data to get started"
    L["ImportPreviewFiltered"] = "%d of %d reminders for your character"
    L["ImportEncounterMismatch"] = "|cffff6600Warning: Import is for another encounter|r"
    L["ReminderImportButton"] = "Import Reminders"
    L["ReminderExportButton"] = "Export Reminders"
    L["ExportDialogTitle"] = "Export Reminders"
    L["ExportAsJSON"] = "Export as JSON"
    L["ExportAsMRT"] = "Export as MRT"
    L["ReminderSendToChatButton"] = "Send to Group Chat"
    L["ExportAsEncoded"] = "Export as Encoded"
    L["ExportAsViserio"] = "Export as Viserio"
    L["ExportCopyHint"] = "Use Ctrl+C to copy the exported text to your clipboard."
    L["SupportButton"] = "Support"
    private.localisation = L
end