-- [ LOCALIZATION - MESSAGES ] -----------------------------------------------------------------------
-- MSG_ keys. Strings printed to chat via Orbit:Print() or print(): status updates,
-- error messages, flash messages in config panels, reset confirmations.
-- Keys ending in _F are format strings passed to :format() at the call site.
-- To translate: uncomment your locale block and mirror the keys from enUS.
-- Missing keys fall back to enUS automatically.
local _, Orbit = ...

local LOCALE_STRINGS = {
    enUS = {
        MSG_LOADED                   = "loaded. Type /orbit for config",
        MSG_ACCOUNT_RESET            = "|cFFFF0000Account Settings reset.|r Reloading UI...",
        MSG_PLUGIN_RESET_F           = "'%s' reset to defaults.",
        MSG_PROFILE_MGR_NOT_LOADED   = "ProfileManager not loaded.",
        MSG_ACTIVE_PROFILE_F         = "Active profile: %s",
        MSG_PROFILE_NOT_FOUND_F      = "Profile not found: %s",
        MSG_PLUGIN_NOT_FOUND_F       = "Plugin not found: %s",
        MSG_EDIT_MODE_UNAVAILABLE    = "Edit Mode not available.",
        MSG_VE_RESET                 = "Visibility Engine reset to defaults.",
        MSG_PLUGIN_MGR_NOT_LOADED    = "Plugin Manager not yet loaded.",
        MSG_NO_PLUGINS               = "No plugins registered.",
        MSG_PLUGINS_LIST_HEADER      = "Registered plugins (use name with other commands):",
        MSG_COOLDOWNS_CLEARED        = "Cleared all injected cooldown icons.",
        MSG_VIEWER_INJECTION_MISSING = "ViewerInjection not loaded.",
        MSG_TRACKED_NOT_LOADED       = "Tracked plugin not loaded.",
        MSG_AVAILABLE_PROFILES_F     = "Available: %s",
        MSG_FRAME_INFO_F             = "Frame info for |cFFFFD100%s|r:",
        MSG_NO_FRAMES_REGISTERED     = "(no frames registered)",
        MSG_NO_SAVED_SETTINGS_F      = "No saved settings for %s",
        MSG_INSPECT_HEADER_F         = "Settings for |cFFFFD100%s|r (%s):",
        MSG_INSPECT_TRUNCATED        = "|cFFAAAAAA...(truncated)|r",
        MSG_PLUGIN_REFRESHED_F       = "%s refreshed.",
        MSG_SPEC_MAPPED_F            = "Spec '%s' \226\134\146 %s",
        MSG_GLOBAL_RESET             = "Global settings reset to defaults.",
        MSG_COLORS_RESET             = "Colors settings reset to defaults.",
        MSG_EDITMODE_RESET           = "Edit Mode settings reset to defaults.",
        MSG_PASTE_IMPORT_STRING      = "Please paste an import string.",
        MSG_ENTER_PROFILE_NAME       = "Please enter a profile name.",
        MSG_PROFILE_EXISTS_F         = "A profile named '%s' already exists.",
        MSG_IMPORT_SUCCESS           = "Import successful.",
        MSG_INVALID_IMPORT           = "Invalid Import String.",
        MSG_PROFILE_CREATED_F        = "Created profile '%s' (from '%s')",
        MSG_PROFILE_DELETED_F        = "Deleted profile '%s'",
        MSG_ONLY_GLOBAL_RESET        = "Only the Global profile can be reset.",
        MSG_CANNOT_DELETE_GLOBAL     = "Cannot delete the Global profile.",
        MSG_CANNOT_DELETE_ACTIVE     = "Cannot delete the active profile.",
        MSG_SETTINGS_UNAVAILABLE     = "Orbit Settings dialog not available",
        MSG_NO_ADDON_BUTTONS         = "No addon buttons found",
    },
    deDE = {
        MSG_LOADED                   = "geladen. Tippe /orbit für Einstellungen",
        MSG_ACCOUNT_RESET            = "|cFFFF0000Account-Einstellungen zurückgesetzt.|r UI wird neu geladen...",
        MSG_PLUGIN_RESET_F           = "'%s' auf Standardwerte zurückgesetzt.",
        MSG_PROFILE_MGR_NOT_LOADED   = "ProfileManager nicht geladen.",
        MSG_ACTIVE_PROFILE_F         = "Aktives Profil: %s",
        MSG_PROFILE_NOT_FOUND_F      = "Profil nicht gefunden: %s",
        MSG_PLUGIN_NOT_FOUND_F       = "Plugin nicht gefunden: %s",
        MSG_EDIT_MODE_UNAVAILABLE    = "Bearbeitungsmodus nicht verfügbar.",
        MSG_VE_RESET                 = "Visibility Engine auf Standardwerte zurückgesetzt.",
        MSG_PLUGIN_MGR_NOT_LOADED    = "Plugin Manager noch nicht geladen.",
        MSG_NO_PLUGINS               = "Keine Plugins registriert.",
        MSG_PLUGINS_LIST_HEADER      = "Registrierte Plugins (Name mit anderen Befehlen verwenden):",
        MSG_COOLDOWNS_CLEARED        = "Alle injizierten Abklingzeit-Symbole gelöscht.",
        MSG_VIEWER_INJECTION_MISSING = "ViewerInjection nicht geladen.",
        MSG_GLOBAL_RESET             = "Globale Einstellungen auf Standard zurückgesetzt.",
        MSG_COLORS_RESET             = "Farbeinstellungen auf Standard zurückgesetzt.",
        MSG_EDITMODE_RESET           = "Bearbeitungsmodus-Einstellungen auf Standard zurückgesetzt.",
        MSG_PASTE_IMPORT_STRING      = "Bitte füge einen Import-String ein.",
        MSG_ENTER_PROFILE_NAME       = "Bitte gib einen Profilnamen ein.",
        MSG_PROFILE_EXISTS_F         = "Ein Profil mit dem Namen '%s' existiert bereits.",
        MSG_IMPORT_SUCCESS           = "Import erfolgreich.",
        MSG_INVALID_IMPORT           = "Ungültiger Import-String.",
        MSG_PROFILE_CREATED_F        = "Profil '%s' erstellt (aus '%s')",
        MSG_PROFILE_DELETED_F        = "Profil '%s' gelöscht",
        MSG_ONLY_GLOBAL_RESET        = "Nur das globale Profil kann zurückgesetzt werden.",
        MSG_CANNOT_DELETE_GLOBAL     = "Das globale Profil kann nicht gelöscht werden.",
        MSG_CANNOT_DELETE_ACTIVE     = "Das aktive Profil kann nicht gelöscht werden.",
    },
    frFR = {
        MSG_LOADED                   = "chargé. Tapez /orbit pour la configuration",
        MSG_ACCOUNT_RESET            = "|cFFFF0000Paramètres du compte réinitialisés.|r Rechargement de l'UI...",
        MSG_PLUGIN_RESET_F           = "'%s' réinitialisé par défaut.",
        MSG_PROFILE_MGR_NOT_LOADED   = "ProfileManager non chargé.",
        MSG_ACTIVE_PROFILE_F         = "Profil actif : %s",
        MSG_PROFILE_NOT_FOUND_F      = "Profil introuvable : %s",
        MSG_PLUGIN_NOT_FOUND_F       = "Plugin introuvable : %s",
        MSG_EDIT_MODE_UNAVAILABLE    = "Le mode Édition n'est pas disponible.",
        MSG_VE_RESET                 = "Visibility Engine réinitialisé par défaut.",
        MSG_PLUGIN_MGR_NOT_LOADED    = "Plugin Manager non encore chargé.",
        MSG_NO_PLUGINS               = "Aucun plugin enregistré.",
        MSG_PLUGINS_LIST_HEADER      = "Plugins enregistrés (utilisez le nom avec d'autres commandes) :",
        MSG_COOLDOWNS_CLEARED        = "Toutes les icônes de recharge injectées ont été effacées.",
        MSG_VIEWER_INJECTION_MISSING = "ViewerInjection non chargé.",
        MSG_GLOBAL_RESET             = "Paramètres globaux réinitialisés par défaut.",
        MSG_COLORS_RESET             = "Paramètres de couleurs réinitialisés par défaut.",
        MSG_EDITMODE_RESET           = "Paramètres du mode Édition réinitialisés par défaut.",
        MSG_PASTE_IMPORT_STRING      = "Veuillez coller une chaîne d'importation.",
        MSG_ENTER_PROFILE_NAME       = "Veuillez entrer un nom de profil.",
        MSG_PROFILE_EXISTS_F         = "Un profil nommé '%s' existe déjà.",
        MSG_IMPORT_SUCCESS           = "Importation réussie.",
        MSG_INVALID_IMPORT           = "Chaîne d'importation non valide.",
        MSG_PROFILE_CREATED_F        = "Profil '%s' créé (à partir de '%s')",
        MSG_PROFILE_DELETED_F        = "Profil '%s' supprimé",
        MSG_ONLY_GLOBAL_RESET        = "Seul le profil global peut être réinitialisé.",
        MSG_CANNOT_DELETE_GLOBAL     = "Impossible de supprimer le profil global.",
        MSG_CANNOT_DELETE_ACTIVE     = "Impossible de supprimer le profil actif.",
    },
    esES = {
        MSG_LOADED                   = "cargado. Escribe /orbit para la configuración",
        MSG_ACCOUNT_RESET            = "|cFFFF0000Ajustes de cuenta restablecidos.|r Recargando UI...",
        MSG_PLUGIN_RESET_F           = "'%s' restablecido a predeterminado.",
        MSG_PROFILE_MGR_NOT_LOADED   = "ProfileManager no cargado.",
        MSG_ACTIVE_PROFILE_F         = "Perfil activo: %s",
        MSG_PROFILE_NOT_FOUND_F      = "Perfil no encontrado: %s",
        MSG_PLUGIN_NOT_FOUND_F       = "Plugin no encontrado: %s",
        MSG_EDIT_MODE_UNAVAILABLE    = "El modo de edición no está disponible.",
        MSG_VE_RESET                 = "Visibility Engine restablecido a predeterminado.",
        MSG_PLUGIN_MGR_NOT_LOADED    = "Plugin Manager aún no se ha cargado.",
        MSG_NO_PLUGINS               = "No hay plugins registrados.",
        MSG_PLUGINS_LIST_HEADER      = "Plugins registrados (usa el nombre con otros comandos):",
        MSG_COOLDOWNS_CLEARED        = "Se han borrado todos los iconos de tiempo de reutilización inyectados.",
        MSG_VIEWER_INJECTION_MISSING = "ViewerInjection no cargado.",
        MSG_GLOBAL_RESET             = "Ajustes globales restablecidos a predeterminados.",
        MSG_COLORS_RESET             = "Ajustes de colores restablecidos a predeterminados.",
        MSG_EDITMODE_RESET           = "Ajustes del modo de edición restablecidos a predeterminados.",
        MSG_PASTE_IMPORT_STRING      = "Por favor, pega una cadena de importación.",
        MSG_ENTER_PROFILE_NAME       = "Por favor, introduce un nombre de perfil.",
        MSG_PROFILE_EXISTS_F         = "Ya existe un perfil llamado '%s'.",
        MSG_IMPORT_SUCCESS           = "Importación exitosa.",
        MSG_INVALID_IMPORT           = "Cadena de importación no válida.",
        MSG_PROFILE_CREATED_F        = "Perfil '%s' creado (de '%s')",
        MSG_PROFILE_DELETED_F        = "Perfil '%s' eliminado",
        MSG_ONLY_GLOBAL_RESET        = "Solo se puede restablecer el perfil Global.",
        MSG_CANNOT_DELETE_GLOBAL     = "No se puede eliminar el perfil Global.",
        MSG_CANNOT_DELETE_ACTIVE     = "No se puede eliminar el perfil activo.",
    },
    ptBR = {
        MSG_LOADED                   = "carregado. Digite /orbit para configurações",
        MSG_ACCOUNT_RESET            = "|cFFFF0000Configurações da Conta redefinidas.|r Recarregando a UI...",
        MSG_PLUGIN_RESET_F           = "'%s' redefinido para os padrões.",
        MSG_PROFILE_MGR_NOT_LOADED   = "ProfileManager não carregado.",
        MSG_ACTIVE_PROFILE_F         = "Perfil ativo: %s",
        MSG_PROFILE_NOT_FOUND_F      = "Perfil não encontrado: %s",
        MSG_PLUGIN_NOT_FOUND_F       = "Plugin não encontrado: %s",
        MSG_EDIT_MODE_UNAVAILABLE    = "O modo de edição não está disponível.",
        MSG_VE_RESET                 = "Visibility Engine redefinido para os padrões.",
        MSG_PLUGIN_MGR_NOT_LOADED    = "Plugin Manager ainda não carregado.",
        MSG_NO_PLUGINS               = "Nenhum plugin registrado.",
        MSG_PLUGINS_LIST_HEADER      = "Plugins registrados (use o nome com outros comandos):",
        MSG_COOLDOWNS_CLEARED        = "Todos os ícones de recarga injetados foram apagados.",
        MSG_VIEWER_INJECTION_MISSING = "ViewerInjection não carregado.",
        MSG_GLOBAL_RESET             = "Configurações globais redefinidas para os padrões.",
        MSG_COLORS_RESET             = "Configurações de cores redefinidas para os padrões.",
        MSG_EDITMODE_RESET           = "Configurações do modo de edição redefinidas para os padrões.",
        MSG_PASTE_IMPORT_STRING      = "Cole uma string de importação.",
        MSG_ENTER_PROFILE_NAME       = "Insira um nome de perfil.",
        MSG_PROFILE_EXISTS_F         = "Um perfil chamado '%s' já existe.",
        MSG_IMPORT_SUCCESS           = "Importação bem-sucedida.",
        MSG_INVALID_IMPORT           = "String de importação inválida.",
        MSG_PROFILE_CREATED_F        = "Perfil '%s' criado (de '%s')",
        MSG_PROFILE_DELETED_F        = "Perfil '%s' excluído",
        MSG_ONLY_GLOBAL_RESET        = "Apenas o perfil Global pode ser redefinido.",
        MSG_CANNOT_DELETE_GLOBAL     = "Não é possível excluir o perfil Global.",
        MSG_CANNOT_DELETE_ACTIVE     = "Não é possível excluir o perfil ativo.",
    },
    ruRU = {
        MSG_LOADED                   = "загружен. Введите /orbit для настроек",
        MSG_ACCOUNT_RESET            = "|cFFFF0000Настройки аккаунта сброшены.|r Перезагрузка UI...",
        MSG_PLUGIN_RESET_F           = "'%s' сброшен по умолчанию.",
        MSG_PROFILE_MGR_NOT_LOADED   = "ProfileManager не загружен.",
        MSG_ACTIVE_PROFILE_F         = "Активный профиль: %s",
        MSG_PROFILE_NOT_FOUND_F      = "Профиль не найден: %s",
        MSG_PLUGIN_NOT_FOUND_F       = "Плагин не найден: %s",
        MSG_EDIT_MODE_UNAVAILABLE    = "Режим редактирования недоступен.",
        MSG_VE_RESET                 = "Visibility Engine сброшен по умолчанию.",
        MSG_PLUGIN_MGR_NOT_LOADED    = "Plugin Manager еще не загружен.",
        MSG_NO_PLUGINS               = "Нет зарегистрированных плагинов.",
        MSG_PLUGINS_LIST_HEADER      = "Зарегистрированные плагины (используйте имя с другими командами):",
        MSG_COOLDOWNS_CLEARED        = "Все внедренные значки перезарядки очищены.",
        MSG_VIEWER_INJECTION_MISSING = "ViewerInjection не загружен.",
        MSG_GLOBAL_RESET             = "Глобальные настройки сброшены по умолчанию.",
        MSG_COLORS_RESET             = "Настройки цветов сброшены по умолчанию.",
        MSG_EDITMODE_RESET           = "Настройки режима редактирования сброшены по умолчанию.",
        MSG_PASTE_IMPORT_STRING      = "Пожалуйста, вставьте строку импорта.",
        MSG_ENTER_PROFILE_NAME       = "Пожалуйста, введите имя профиля.",
        MSG_PROFILE_EXISTS_F         = "Профиль с именем '%s' уже существует.",
        MSG_IMPORT_SUCCESS           = "Импорт успешно завершен.",
        MSG_INVALID_IMPORT           = "Недействительная строка импорта.",
        MSG_PROFILE_CREATED_F        = "Профиль '%s' создан (из '%s')",
        MSG_PROFILE_DELETED_F        = "Профиль '%s' удален",
        MSG_ONLY_GLOBAL_RESET        = "Только глобальный профиль может быть сброшен.",
        MSG_CANNOT_DELETE_GLOBAL     = "Невозможно удалить глобальный профиль.",
        MSG_CANNOT_DELETE_ACTIVE     = "Невозможно удалить активный профиль.",
    },
    koKR = {
        MSG_LOADED                   = "로드됨. 설정하려면 /orbit 입력",
        MSG_ACCOUNT_RESET            = "|cFFFF0000계정 설정 초기화됨.|r UI 재로드 중...",
        MSG_PLUGIN_RESET_F           = "'%s' 기본값으로 초기화됨.",
        MSG_PROFILE_MGR_NOT_LOADED   = "ProfileManager가 로드되지 않음.",
        MSG_ACTIVE_PROFILE_F         = "활성 프로필: %s",
        MSG_PROFILE_NOT_FOUND_F      = "프로필을 찾을 수 없음: %s",
        MSG_PLUGIN_NOT_FOUND_F       = "플러그인을 찾을 수 없음: %s",
        MSG_EDIT_MODE_UNAVAILABLE    = "편집 모드를 사용할 수 없음.",
        MSG_VE_RESET                 = "Visibility Engine 기본값으로 초기화됨.",
        MSG_PLUGIN_MGR_NOT_LOADED    = "Plugin Manager가 아직 로드되지 않음.",
        MSG_NO_PLUGINS               = "등록된 플러그인 없음.",
        MSG_PLUGINS_LIST_HEADER      = "등록된 플러그인 (다른 명령과 함께 이름 사용):",
        MSG_COOLDOWNS_CLEARED        = "주입된 재사용 대기시간 아이콘을 모두 지움.",
        MSG_VIEWER_INJECTION_MISSING = "ViewerInjection이 로드되지 않음.",
        MSG_GLOBAL_RESET             = "글로벌 설정이 기본값으로 초기화됨.",
        MSG_COLORS_RESET             = "색상 설정이 기본값으로 초기화됨.",
        MSG_EDITMODE_RESET           = "편집 모드 설정이 기본값으로 초기화됨.",
        MSG_PASTE_IMPORT_STRING      = "가져오기 문자열을 붙여넣으세요.",
        MSG_ENTER_PROFILE_NAME       = "프로필 이름을 입력하세요.",
        MSG_PROFILE_EXISTS_F         = "'%s'라는 이름의 프로필이 이미 존재합니다.",
        MSG_IMPORT_SUCCESS           = "가져오기 성공.",
        MSG_INVALID_IMPORT           = "잘못된 가져오기 문자열.",
        MSG_PROFILE_CREATED_F        = "프로필 '%s' 생성됨 ('%s'에서)",
        MSG_PROFILE_DELETED_F        = "프로필 '%s' 삭제됨",
        MSG_ONLY_GLOBAL_RESET        = "글로벌 프로필만 초기화할 수 있습니다.",
        MSG_CANNOT_DELETE_GLOBAL     = "글로벌 프로필은 삭제할 수 없습니다.",
        MSG_CANNOT_DELETE_ACTIVE     = "활성 프로필은 삭제할 수 없습니다.",
    },
    zhCN = {
        MSG_LOADED                   = "已加载。输入 /orbit 打开设置",
        MSG_ACCOUNT_RESET            = "|cFFFF0000账号设置已重置。|r 正在重载界面...",
        MSG_PLUGIN_RESET_F           = "'%s' 已重置为默认值。",
        MSG_PROFILE_MGR_NOT_LOADED   = "ProfileManager 未加载。",
        MSG_ACTIVE_PROFILE_F         = "活动配置文件：%s",
        MSG_PROFILE_NOT_FOUND_F      = "未找到配置文件：%s",
        MSG_PLUGIN_NOT_FOUND_F       = "未找到插件：%s",
        MSG_EDIT_MODE_UNAVAILABLE    = "编辑模式不可用。",
        MSG_VE_RESET                 = "Visibility Engine 已重置为默认值。",
        MSG_PLUGIN_MGR_NOT_LOADED    = "Plugin Manager 尚未加载。",
        MSG_NO_PLUGINS               = "没有已注册的插件。",
        MSG_PLUGINS_LIST_HEADER      = "已注册的插件（与其他命令一起使用名称）：",
        MSG_COOLDOWNS_CLEARED        = "已清除所有注入的冷却图标。",
        MSG_VIEWER_INJECTION_MISSING = "ViewerInjection 未加载。",
        MSG_GLOBAL_RESET             = "全局设置已重置为默认值。",
        MSG_COLORS_RESET             = "颜色设置已重置为默认值。",
        MSG_EDITMODE_RESET           = "编辑模式设置已重置为默认值。",
        MSG_PASTE_IMPORT_STRING      = "请粘贴导入代码。",
        MSG_ENTER_PROFILE_NAME       = "请输入配置文件名称。",
        MSG_PROFILE_EXISTS_F         = "名为 '%s' 的配置文件已存在。",
        MSG_IMPORT_SUCCESS           = "导入成功。",
        MSG_INVALID_IMPORT           = "无效的导入代码。",
        MSG_PROFILE_CREATED_F        = "已创建配置文件 '%s'（来自 '%s'）",
        MSG_PROFILE_DELETED_F        = "已删除配置文件 '%s'",
        MSG_ONLY_GLOBAL_RESET        = "只有全局配置文件可以被重置。",
        MSG_CANNOT_DELETE_GLOBAL     = "无法删除全局配置文件。",
        MSG_CANNOT_DELETE_ACTIVE     = "无法删除活动配置文件。",
    },
    zhTW = {
        MSG_LOADED                   = "已載入。輸入 /orbit 開啟設定",
        MSG_ACCOUNT_RESET            = "|cFFFF0000帳號設定已重置。|r 正在重載介面...",
        MSG_PLUGIN_RESET_F           = "'%s' 已重置為預設值。",
        MSG_PROFILE_MGR_NOT_LOADED   = "ProfileManager 未載入。",
        MSG_ACTIVE_PROFILE_F         = "活動設定檔：%s",
        MSG_PROFILE_NOT_FOUND_F      = "未找到設定檔：%s",
        MSG_PLUGIN_NOT_FOUND_F       = "未找到外掛：%s",
        MSG_EDIT_MODE_UNAVAILABLE    = "編輯模式不可用。",
        MSG_VE_RESET                 = "Visibility Engine 已重置為預設值。",
        MSG_PLUGIN_MGR_NOT_LOADED    = "Plugin Manager 尚未載入。",
        MSG_NO_PLUGINS               = "沒有已註冊的外掛。",
        MSG_PLUGINS_LIST_HEADER      = "已註冊的外掛（與其他命令一起使用名稱）：",
        MSG_COOLDOWNS_CLEARED        = "已清除所有注入的冷卻圖示。",
        MSG_VIEWER_INJECTION_MISSING = "ViewerInjection 未載入。",
        MSG_GLOBAL_RESET             = "全域設定已重置為預設值。",
        MSG_COLORS_RESET             = "顏色設定已重置為預設值。",
        MSG_EDITMODE_RESET           = "編輯模式設定已重置為預設值。",
        MSG_PASTE_IMPORT_STRING      = "請貼上匯入代碼。",
        MSG_ENTER_PROFILE_NAME       = "請輸入設定檔名稱。",
        MSG_PROFILE_EXISTS_F         = "名為 '%s' 的設定檔已存在。",
        MSG_IMPORT_SUCCESS           = "匯入成功。",
        MSG_INVALID_IMPORT           = "無效的匯入代碼。",
        MSG_PROFILE_CREATED_F        = "已建立設定檔 '%s'（來自 '%s'）",
        MSG_PROFILE_DELETED_F        = "已刪除設定檔 '%s'",
        MSG_ONLY_GLOBAL_RESET        = "只有全域設定檔可以被重置。",
        MSG_CANNOT_DELETE_GLOBAL     = "無法刪除全域設定檔。",
        MSG_CANNOT_DELETE_ACTIVE     = "無法刪除活動設定檔。",
    }
}
Orbit.Localization.Install(LOCALE_STRINGS, "Messages")
