--[[ TimeLogger locale overlays for all non-enUS WoW client languages ]]

local translations = {
  deDE = {
    UI_TITLE = "TimeLogger Export",
    UI_SUBTITLE = "Ereignisse und Sitzungen als CSV/JSON",
    UI_SESSION_LABEL = "Aktuelle Sitzungsdauer: %s",
    UI_SESSION_NA = "k. A.",
    BTN_EVENTS_CSV = "Ereignisse CSV",
    BTN_EVENTS_JSON = "Ereignisse JSON",
    BTN_SESSIONS_CSV = "Sitzungen CSV",
    BTN_SESSIONS_JSON = "Sitzungen JSON",
    BTN_COPY = "In Zwischenablage kopieren",
    BTN_PRUNE = "Bereinigen",
    UI_DATA_CLEANUP = "Datenbereinigung:",
    UI_DAYS_OLD = "Tage alt",
    UI_TOTALS_HEADER = "Spielzeitübersicht",
    UI_TOTAL_THIS_CHAR = "Dieser Charakter: %s",
    UI_TOTAL_ALL_CHARS = "Alle Charaktere: %s",
    TABLE_ROWS = "%d Zeilen",
    TABLE_ROWS_FILTERED = "%d von %d Zeilen angezeigt",
    COL_UNIX = "Unix",
    COL_UTC = "UTC",
    COL_EVENT = "Ereignis",
    COL_CHARACTER = "Charakter",
    COL_REALM = "Realm",
    COL_RECOVERY = "Wiederher.",
    COL_ID = "#",
    COL_START = "Start",
    COL_START_UTC = "Start UTC",
    COL_END = "Ende",
    COL_END_UTC = "Ende UTC",
    COL_DURATION = "Dauer",
    COL_STATUS = "Status",
    VAL_YES = "ja",
    VAL_TRUE = "wahr",
    VAL_FALSE = "falsch",
    EVENT_LOGIN = "Anmeldung",
    EVENT_LOGOUT = "Abmeldung",
    STATUS_OPEN = "offen",
    STATUS_CLOSED = "geschlossen",
    STATUS_NO_LOGOUT = "kein Logout",
    STATUS_RECOVERED = "wiederhergestellt",
    MSG_MIGRATION = "Speicher auf indexierte Datenbank aktualisiert (Schema v%d). %d Ereignisse migriert.",
    MSG_PRUNE_DONE = "Ereignisse älter als %d Tage entfernt. %d Zeilen behalten; vollständige Sicherung in events_backup (%d Zeilen).",
    MSG_COPIED = "%d Zeichen in die Zwischenablage kopiert.",
    MSG_CLIPBOARD_UNAVAILABLE = "Zwischenablage auf diesem Client nicht verfügbar.",
    MSG_INVALID_DAYS = "Geben Sie eine Anzahl Tage ein (1 oder mehr).",
    POPUP_PRUNE = "Ereignisse älter als %s Tage entfernen?|nDie aktuelle Ereignisliste wird zuerst in events_backup kopiert.",
  },

  esES = {
    UI_TITLE = "Exportar TimeLogger",
    UI_SUBTITLE = "Eventos y sesiones en CSV/JSON",
    UI_SESSION_LABEL = "Duración de la sesión actual: %s",
    UI_SESSION_NA = "N/D",
    BTN_EVENTS_CSV = "Eventos CSV",
    BTN_EVENTS_JSON = "Eventos JSON",
    BTN_SESSIONS_CSV = "Sesiones CSV",
    BTN_SESSIONS_JSON = "Sesiones JSON",
    BTN_COPY = "Copiar al portapapeles",
    BTN_PRUNE = "Purgar",
    UI_DATA_CLEANUP = "Limpieza de datos:",
    UI_DAYS_OLD = "días de antigüedad",
    UI_TOTALS_HEADER = "Resumen de tiempo de juego",
    UI_TOTAL_THIS_CHAR = "Este personaje: %s",
    UI_TOTAL_ALL_CHARS = "Todos los personajes: %s",
    TABLE_ROWS = "%d filas",
    TABLE_ROWS_FILTERED = "Mostrando %d de %d filas",
    COL_UNIX = "Unix",
    COL_UTC = "UTC",
    COL_EVENT = "Evento",
    COL_CHARACTER = "Personaje",
    COL_REALM = "Reino",
    COL_RECOVERY = "Recuper.",
    COL_ID = "#",
    COL_START = "Inicio",
    COL_START_UTC = "Inicio UTC",
    COL_END = "Fin",
    COL_END_UTC = "Fin UTC",
    COL_DURATION = "Duración",
    COL_STATUS = "Estado",
    VAL_YES = "sí",
    EVENT_LOGIN = "inicio",
    EVENT_LOGOUT = "cierre",
    STATUS_OPEN = "abierta",
    STATUS_CLOSED = "cerrada",
    STATUS_NO_LOGOUT = "sin cierre",
    STATUS_RECOVERED = "recuperada",
    MSG_MIGRATION = "Almacenamiento actualizado a base indexada (esquema v%d). %d eventos migrados.",
    MSG_PRUNE_DONE = "Eventos anteriores a %d días eliminados. %d filas conservadas; copia completa en events_backup (%d filas).",
    MSG_COPIED = "%d caracteres copiados al portapapeles.",
    MSG_CLIPBOARD_UNAVAILABLE = "Copiar al portapapeles no está disponible en este cliente.",
    MSG_INVALID_DAYS = "Introduce un número de días (1 o más).",
    POPUP_PRUNE = "¿Eliminar eventos anteriores a %s días?|nLa lista actual se copiará primero en events_backup.",
  },

  esMX = {
    UI_TITLE = "Exportar TimeLogger",
    UI_SUBTITLE = "Eventos y sesiones en CSV/JSON",
    UI_SESSION_LABEL = "Duración de la sesión actual: %s",
    UI_SESSION_NA = "N/D",
    BTN_EVENTS_CSV = "Eventos CSV",
    BTN_EVENTS_JSON = "Eventos JSON",
    BTN_SESSIONS_CSV = "Sesiones CSV",
    BTN_SESSIONS_JSON = "Sesiones JSON",
    BTN_COPY = "Copiar al portapapeles",
    BTN_PRUNE = "Purgar",
    UI_DATA_CLEANUP = "Limpieza de datos:",
    UI_DAYS_OLD = "días de antigüedad",
    UI_TOTALS_HEADER = "Resumen de tiempo de juego",
    UI_TOTAL_THIS_CHAR = "Este personaje: %s",
    UI_TOTAL_ALL_CHARS = "Todos los personajes: %s",
    TABLE_ROWS = "%d filas",
    TABLE_ROWS_FILTERED = "Mostrando %d de %d filas",
    COL_UNIX = "Unix",
    COL_UTC = "UTC",
    COL_EVENT = "Evento",
    COL_CHARACTER = "Personaje",
    COL_REALM = "Reino",
    COL_RECOVERY = "Recuper.",
    COL_ID = "#",
    COL_START = "Inicio",
    COL_START_UTC = "Inicio UTC",
    COL_END = "Fin",
    COL_END_UTC = "Fin UTC",
    COL_DURATION = "Duración",
    COL_STATUS = "Estado",
    VAL_YES = "sí",
    EVENT_LOGIN = "inicio",
    EVENT_LOGOUT = "cierre",
    STATUS_OPEN = "abierta",
    STATUS_CLOSED = "cerrada",
    STATUS_NO_LOGOUT = "sin cierre",
    STATUS_RECOVERED = "recuperada",
    MSG_MIGRATION = "Almacenamiento actualizado a base indexada (esquema v%d). %d eventos migrados.",
    MSG_PRUNE_DONE = "Eventos anteriores a %d días eliminados. %d filas conservadas; copia completa en events_backup (%d filas).",
    MSG_COPIED = "%d caracteres copiados al portapapeles.",
    MSG_CLIPBOARD_UNAVAILABLE = "Copiar al portapapeles no está disponible en este cliente.",
    MSG_INVALID_DAYS = "Ingresa un número de días (1 o más).",
    POPUP_PRUNE = "¿Eliminar eventos anteriores a %s días?|nLa lista actual se copiará primero en events_backup.",
  },

  frFR = {
    UI_TITLE = "Export TimeLogger",
    UI_SUBTITLE = "Événements et sessions en CSV/JSON",
    UI_SESSION_LABEL = "Durée de la session actuelle : %s",
    UI_SESSION_NA = "N/D",
    BTN_EVENTS_CSV = "Événements CSV",
    BTN_EVENTS_JSON = "Événements JSON",
    BTN_SESSIONS_CSV = "Sessions CSV",
    BTN_SESSIONS_JSON = "Sessions JSON",
    BTN_COPY = "Copier dans le presse-papiers",
    BTN_PRUNE = "Purger",
    UI_DATA_CLEANUP = "Nettoyage des données :",
    UI_DAYS_OLD = "jours",
    UI_TOTALS_HEADER = "Résumé du temps de jeu",
    UI_TOTAL_THIS_CHAR = "Ce personnage : %s",
    UI_TOTAL_ALL_CHARS = "Tous les personnages : %s",
    TABLE_ROWS = "%d lignes",
    TABLE_ROWS_FILTERED = "%d lignes sur %d affichées",
    COL_UNIX = "Unix",
    COL_UTC = "UTC",
    COL_EVENT = "Événement",
    COL_CHARACTER = "Personnage",
    COL_REALM = "Royaume",
    COL_RECOVERY = "Récup.",
    COL_ID = "#",
    COL_START = "Début",
    COL_START_UTC = "Début UTC",
    COL_END = "Fin",
    COL_END_UTC = "Fin UTC",
    COL_DURATION = "Durée",
    COL_STATUS = "Statut",
    VAL_YES = "oui",
    VAL_TRUE = "vrai",
    VAL_FALSE = "faux",
    EVENT_LOGIN = "connexion",
    EVENT_LOGOUT = "déconnexion",
    STATUS_OPEN = "ouverte",
    STATUS_CLOSED = "fermée",
    STATUS_NO_LOGOUT = "sans déconnexion",
    STATUS_RECOVERED = "récupérée",
    MSG_MIGRATION = "Stockage mis à niveau vers une base indexée (schéma v%d). %d événements migrés.",
    MSG_PRUNE_DONE = "Événements de plus de %d jours supprimés. %d lignes conservées ; copie complète dans events_backup (%d lignes).",
    MSG_COPIED = "%d caractères copiés dans le presse-papiers.",
    MSG_CLIPBOARD_UNAVAILABLE = "La copie dans le presse-papiers n'est pas disponible sur ce client.",
    MSG_INVALID_DAYS = "Entrez un nombre de jours (1 ou plus).",
    POPUP_PRUNE = "Supprimer les événements de plus de %s jours ?|nLa liste actuelle sera d'abord copiée dans events_backup.",
  },

  itIT = {
    UI_TITLE = "Esportazione TimeLogger",
    UI_SUBTITLE = "Eventi e sessioni in CSV/JSON",
    UI_SESSION_LABEL = "Durata sessione attuale: %s",
    UI_SESSION_NA = "N/D",
    BTN_EVENTS_CSV = "Eventi CSV",
    BTN_EVENTS_JSON = "Eventi JSON",
    BTN_SESSIONS_CSV = "Sessioni CSV",
    BTN_SESSIONS_JSON = "Sessioni JSON",
    BTN_COPY = "Copia negli appunti",
    BTN_PRUNE = "Elimina",
    UI_DATA_CLEANUP = "Pulizia dati:",
    UI_DAYS_OLD = "giorni fa",
    UI_TOTALS_HEADER = "Riepilogo tempo di gioco",
    UI_TOTAL_THIS_CHAR = "Questo personaggio: %s",
    UI_TOTAL_ALL_CHARS = "Tutti i personaggi: %s",
    TABLE_ROWS = "%d righe",
    TABLE_ROWS_FILTERED = "Visualizzate %d di %d righe",
    COL_UNIX = "Unix",
    COL_UTC = "UTC",
    COL_EVENT = "Evento",
    COL_CHARACTER = "Personaggio",
    COL_REALM = "Reame",
    COL_RECOVERY = "Recup.",
    COL_ID = "#",
    COL_START = "Inizio",
    COL_START_UTC = "Inizio UTC",
    COL_END = "Fine",
    COL_END_UTC = "Fine UTC",
    COL_DURATION = "Durata",
    COL_STATUS = "Stato",
    VAL_YES = "sì",
    VAL_TRUE = "vero",
    VAL_FALSE = "falso",
    EVENT_LOGIN = "accesso",
    EVENT_LOGOUT = "uscita",
    STATUS_OPEN = "aperta",
    STATUS_CLOSED = "chiusa",
    STATUS_NO_LOGOUT = "senza uscita",
    STATUS_RECOVERED = "recuperata",
    MSG_MIGRATION = "Archivio aggiornato a database indicizzato (schema v%d). Migrati %d eventi.",
    MSG_PRUNE_DONE = "Eliminati eventi più vecchi di %d giorni. Conservate %d righe; copia completa in events_backup (%d righe).",
    MSG_COPIED = "Copiati %d caratteri negli appunti.",
    MSG_CLIPBOARD_UNAVAILABLE = "Copia negli appunti non disponibile su questo client.",
    MSG_INVALID_DAYS = "Inserisci un numero di giorni (1 o più).",
    POPUP_PRUNE = "Eliminare eventi più vecchi di %s giorni?|nL'elenco attuale verrà copiato prima in events_backup.",
  },

  koKR = {
    UI_TITLE = "TimeLogger 내보내기",
    UI_SUBTITLE = "CSV/JSON 형식의 이벤트 및 세션",
    UI_SESSION_LABEL = "현재 세션 시간: %s",
    UI_SESSION_NA = "해당 없음",
    BTN_EVENTS_CSV = "이벤트 CSV",
    BTN_EVENTS_JSON = "이벤트 JSON",
    BTN_SESSIONS_CSV = "세션 CSV",
    BTN_SESSIONS_JSON = "세션 JSON",
    BTN_COPY = "클립보드에 복사",
    BTN_PRUNE = "정리",
    UI_DATA_CLEANUP = "데이터 정리:",
    UI_DAYS_OLD = "일 이전",
    UI_TOTALS_HEADER = "총 플레이 시간",
    UI_TOTAL_THIS_CHAR = "현재 캐릭터: %s",
    UI_TOTAL_ALL_CHARS = "모든 캐릭터: %s",
    TABLE_ROWS = "%d행",
    TABLE_ROWS_FILTERED = "%d/%d행 표시",
    COL_UNIX = "Unix",
    COL_UTC = "UTC",
    COL_EVENT = "이벤트",
    COL_CHARACTER = "캐릭터",
    COL_REALM = "Realm",
    COL_RECOVERY = "복구",
    COL_ID = "#",
    COL_START = "시작",
    COL_START_UTC = "시작 UTC",
    COL_END = "종료",
    COL_END_UTC = "종료 UTC",
    COL_DURATION = "시간",
    COL_STATUS = "상태",
    VAL_YES = "예",
    VAL_TRUE = "참",
    VAL_FALSE = "거짓",
    EVENT_LOGIN = "접속",
    EVENT_LOGOUT = "종료",
    STATUS_OPEN = "진행 중",
    STATUS_CLOSED = "종료됨",
    STATUS_NO_LOGOUT = "종료 없음",
    STATUS_RECOVERED = "복구됨",
    MSG_MIGRATION = "저장소가 인덱스 DB(스키마 v%d)로 업그레이드되었습니다. %d개 이벤트를 이전했습니다.",
    MSG_PRUNE_DONE = "%d일 이전 이벤트를 정리했습니다. %d행 유지; events_backup에 전체 백업(%d행).",
    MSG_COPIED = "클립보드에 %d자를 복사했습니다.",
    MSG_CLIPBOARD_UNAVAILABLE = "이 클라이언트에서는 클립보드 복사를 사용할 수 없습니다.",
    MSG_INVALID_DAYS = "일 수를 입력하세요(1 이상).",
    POPUP_PRUNE = "%s일 이전 이벤트를 정리하시겠습니까?|n현재 목록 전체가 먼저 events_backup에 복사됩니다.",
  },

  ptBR = {
    UI_TITLE = "Exportar TimeLogger",
    UI_SUBTITLE = "Eventos e sessões em CSV/JSON",
    UI_SESSION_LABEL = "Duração da sessão atual: %s",
    UI_SESSION_NA = "N/D",
    BTN_EVENTS_CSV = "Eventos CSV",
    BTN_EVENTS_JSON = "Eventos JSON",
    BTN_SESSIONS_CSV = "Sessões CSV",
    BTN_SESSIONS_JSON = "Sessões JSON",
    BTN_COPY = "Copiar para a área de transferência",
    BTN_PRUNE = "Limpar",
    UI_DATA_CLEANUP = "Limpeza de dados:",
    UI_DAYS_OLD = "dias atrás",
    UI_TOTALS_HEADER = "Resumo de tempo jogado",
    UI_TOTAL_THIS_CHAR = "Este personagem: %s",
    UI_TOTAL_ALL_CHARS = "Todos os personagens: %s",
    TABLE_ROWS = "%d linhas",
    TABLE_ROWS_FILTERED = "Exibindo %d de %d linhas",
    COL_UNIX = "Unix",
    COL_UTC = "UTC",
    COL_EVENT = "Evento",
    COL_CHARACTER = "Personagem",
    COL_REALM = "Reino",
    COL_RECOVERY = "Recuper.",
    COL_ID = "#",
    COL_START = "Início",
    COL_START_UTC = "Início UTC",
    COL_END = "Fim",
    COL_END_UTC = "Fim UTC",
    COL_DURATION = "Duração",
    COL_STATUS = "Status",
    VAL_YES = "sim",
    VAL_TRUE = "verdadeiro",
    VAL_FALSE = "falso",
    EVENT_LOGIN = "login",
    EVENT_LOGOUT = "logout",
    STATUS_OPEN = "aberta",
    STATUS_CLOSED = "fechada",
    STATUS_NO_LOGOUT = "sem logout",
    STATUS_RECOVERED = "recuperada",
    MSG_MIGRATION = "Armazenamento atualizado para banco indexado (esquema v%d). %d eventos migrados.",
    MSG_PRUNE_DONE = "Eventos anteriores a %d dias removidos. %d linhas mantidas; cópia completa em events_backup (%d linhas).",
    MSG_COPIED = "%d caracteres copiados para a área de transferência.",
    MSG_CLIPBOARD_UNAVAILABLE = "Copiar para a área de transferência não está disponível neste cliente.",
    MSG_INVALID_DAYS = "Digite um número de dias (1 ou mais).",
    POPUP_PRUNE = "Remover eventos anteriores a %s dias?|nA lista atual será copiada primeiro para events_backup.",
  },

  ruRU = {
    UI_TITLE = "Экспорт TimeLogger",
    UI_SUBTITLE = "События и сессии в CSV/JSON",
    UI_SESSION_LABEL = "Длительность текущей сессии: %s",
    UI_SESSION_NA = "Н/Д",
    BTN_EVENTS_CSV = "События CSV",
    BTN_EVENTS_JSON = "События JSON",
    BTN_SESSIONS_CSV = "Сессии CSV",
    BTN_SESSIONS_JSON = "Сессии JSON",
    BTN_COPY = "Копировать в буфер",
    BTN_PRUNE = "Очистить",
    UI_DATA_CLEANUP = "Очистка данных:",
    UI_DAYS_OLD = "дней назад",
    UI_TOTALS_HEADER = "Сводка игрового времени",
    UI_TOTAL_THIS_CHAR = "Этот персонаж: %s",
    UI_TOTAL_ALL_CHARS = "Все персонажи: %s",
    TABLE_ROWS = "%d строк",
    TABLE_ROWS_FILTERED = "Показано %d из %d строк",
    COL_UNIX = "Unix",
    COL_UTC = "UTC",
    COL_EVENT = "Событие",
    COL_CHARACTER = "Персонаж",
    COL_REALM = "Игровой мир",
    COL_RECOVERY = "Восст.",
    COL_ID = "#",
    COL_START = "Начало",
    COL_START_UTC = "Начало UTC",
    COL_END = "Конец",
    COL_END_UTC = "Конец UTC",
    COL_DURATION = "Длительность",
    COL_STATUS = "Статус",
    VAL_YES = "да",
    VAL_TRUE = "истина",
    VAL_FALSE = "ложь",
    EVENT_LOGIN = "вход",
    EVENT_LOGOUT = "выход",
    STATUS_OPEN = "открыта",
    STATUS_CLOSED = "закрыта",
    STATUS_NO_LOGOUT = "без выхода",
    STATUS_RECOVERED = "восстановлена",
    MSG_MIGRATION = "Хранилище обновлено до индексированной БД (схема v%d). Перенесено событий: %d.",
    MSG_PRUNE_DONE = "Удалены события старше %d дн. Сохранено строк: %d; полная копия в events_backup (%d строк).",
    MSG_COPIED = "Скопировано символов в буфер: %d.",
    MSG_CLIPBOARD_UNAVAILABLE = "Копирование в буфер недоступно на этом клиенте.",
    MSG_INVALID_DAYS = "Введите количество дней (1 или больше).",
    POPUP_PRUNE = "Удалить события старше %s дн.?|nПолный текущий список сначала будет скопирован в events_backup.",
  },

  zhCN = {
    UI_TITLE = "TimeLogger 导出",
    UI_SUBTITLE = "CSV/JSON 格式的事件与会话",
    UI_SESSION_LABEL = "当前会话时长：%s",
    UI_SESSION_NA = "无",
    BTN_EVENTS_CSV = "事件 CSV",
    BTN_EVENTS_JSON = "事件 JSON",
    BTN_SESSIONS_CSV = "会话 CSV",
    BTN_SESSIONS_JSON = "会话 JSON",
    BTN_COPY = "复制到剪贴板",
    BTN_PRUNE = "清理",
    UI_DATA_CLEANUP = "数据清理：",
    UI_DAYS_OLD = "天以前",
    UI_TOTALS_HEADER = "游戏时间摘要",
    UI_TOTAL_THIS_CHAR = "当前角色：%s",
    UI_TOTAL_ALL_CHARS = "所有角色：%s",
    TABLE_ROWS = "%d 行",
    TABLE_ROWS_FILTERED = "显示 %d / %d 行",
    COL_UNIX = "Unix",
    COL_UTC = "UTC",
    COL_EVENT = "事件",
    COL_CHARACTER = "角色",
    COL_REALM = "服务器",
    COL_RECOVERY = "恢复",
    COL_ID = "#",
    COL_START = "开始",
    COL_START_UTC = "开始 UTC",
    COL_END = "结束",
    COL_END_UTC = "结束 UTC",
    COL_DURATION = "时长",
    COL_STATUS = "状态",
    VAL_YES = "是",
    VAL_TRUE = "真",
    VAL_FALSE = "假",
    EVENT_LOGIN = "登录",
    EVENT_LOGOUT = "登出",
    STATUS_OPEN = "进行中",
    STATUS_CLOSED = "已结束",
    STATUS_NO_LOGOUT = "未登出",
    STATUS_RECOVERED = "已恢复",
    MSG_MIGRATION = "存储已升级为索引数据库（架构 v%d）。已迁移 %d 条事件。",
    MSG_PRUNE_DONE = "已清理 %d 天前的事件。保留 %d 行；完整备份位于 events_backup（%d 行）。",
    MSG_COPIED = "已复制 %d 个字符到剪贴板。",
    MSG_CLIPBOARD_UNAVAILABLE = "此客户端无法使用剪贴板复制。",
    MSG_INVALID_DAYS = "请输入天数（1 或更多）。",
    POPUP_PRUNE = "清理 %s 天前的事件？|n当前完整列表将先复制到 events_backup。",
  },

  zhTW = {
    UI_TITLE = "TimeLogger 匯出",
    UI_SUBTITLE = "CSV/JSON 格式的事件與連線",
    UI_SESSION_LABEL = "目前連線時間：%s",
    UI_SESSION_NA = "無",
    BTN_EVENTS_CSV = "事件 CSV",
    BTN_EVENTS_JSON = "事件 JSON",
    BTN_SESSIONS_CSV = "連線 CSV",
    BTN_SESSIONS_JSON = "連線 JSON",
    BTN_COPY = "複製到剪貼簿",
    BTN_PRUNE = "清理",
    UI_DATA_CLEANUP = "資料清理：",
    UI_DAYS_OLD = "天以前",
    UI_TOTALS_HEADER = "遊戲時間摘要",
    UI_TOTAL_THIS_CHAR = "目前角色：%s",
    UI_TOTAL_ALL_CHARS = "所有角色：%s",
    TABLE_ROWS = "%d 列",
    TABLE_ROWS_FILTERED = "顯示 %d / %d 列",
    COL_UNIX = "Unix",
    COL_UTC = "UTC",
    COL_EVENT = "事件",
    COL_CHARACTER = "角色",
    COL_REALM = "伺服器",
    COL_RECOVERY = "恢復",
    COL_ID = "#",
    COL_START = "開始",
    COL_START_UTC = "開始 UTC",
    COL_END = "結束",
    COL_END_UTC = "結束 UTC",
    COL_DURATION = "時長",
    COL_STATUS = "狀態",
    VAL_YES = "是",
    VAL_TRUE = "真",
    VAL_FALSE = "假",
    EVENT_LOGIN = "登入",
    EVENT_LOGOUT = "登出",
    STATUS_OPEN = "進行中",
    STATUS_CLOSED = "已結束",
    STATUS_NO_LOGOUT = "未登出",
    STATUS_RECOVERED = "已恢復",
    MSG_MIGRATION = "儲存空間已升級為索引資料庫（結構 v%d）。已轉移 %d 筆事件。",
    MSG_PRUNE_DONE = "已清理 %d 天前的事件。保留 %d 列；完整備份位於 events_backup（%d 列）。",
    MSG_COPIED = "已複製 %d 個字元到剪貼簿。",
    MSG_CLIPBOARD_UNAVAILABLE = "此用戶端無法使用剪貼簿複製。",
    MSG_INVALID_DAYS = "請輸入天數（1 或更多）。",
    POPUP_PRUNE = "清理 %s 天前的事件？|n目前的完整清單會先複製到 events_backup。",
  },
}

local extended = {
  deDE = {
    UI_MINIMAP_BUTTON = "Minimap-Symbol",
    MINIMAP_TOOLTIP_TITLE = "TimeLogger",
    MINIMAP_TOOLTIP_HINT = "Linksklick: Fenster ein-/ausblenden.|nZiehen: Position am Minimap ändern.",
    MINIMAP_TOOLTIP_RELOAD = "Strg + Rechtsklick: UI neu laden.",
    COL_PATCH = "Patch", COL_EXPANSION = "Erweiterung", COL_LOCATION = "Ort",
    COL_WEEKDAY = "Wochentag", COL_SUBSCRIPTION = "Abo", COL_SUB_ACTIVE = "Abo aktiv", COL_LOCAL_DT = "Lokalzeit",
    COL_START_LOCATION = "Login-Ort", COL_END_LOCATION = "Logout-Ort",
    COL_START_LOCAL = "Login lokal", COL_END_LOCAL = "Logout lokal",
    WEEKDAY_1 = "Montag", WEEKDAY_2 = "Dienstag", WEEKDAY_3 = "Mittwoch",
    WEEKDAY_4 = "Donnerstag", WEEKDAY_5 = "Freitag", WEEKDAY_6 = "Samstag", WEEKDAY_7 = "Sonntag",
    SUB_SUBSCRIBED = "Abonniert", SUB_NOT_SUBSCRIBED = "Nicht abonniert",
    SUB_TRIAL = "Testversion", SUB_VETERAN = "Veteranen-Test", SUB_UNKNOWN = "Unbekannt",
  },
  esES = {
    UI_MINIMAP_BUTTON = "Botón del minimapa",
    MINIMAP_TOOLTIP_TITLE = "TimeLogger",
    MINIMAP_TOOLTIP_HINT = "Clic izquierdo: mostrar u ocultar la ventana.|nArrastrar para mover en el minimapa.",
    MINIMAP_TOOLTIP_RELOAD = "Ctrl + clic derecho: recargar la interfaz.",
    COL_PATCH = "Parche", COL_EXPANSION = "Expansión", COL_LOCATION = "Ubicación",
    COL_WEEKDAY = "Día", COL_SUBSCRIPTION = "Suscripción", COL_SUB_ACTIVE = "Suscripción activa", COL_LOCAL_DT = "Hora local",
    COL_START_LOCATION = "Ubicación login", COL_END_LOCATION = "Ubicación logout",
    COL_START_LOCAL = "Login local", COL_END_LOCAL = "Logout local",
    WEEKDAY_1 = "Lunes", WEEKDAY_2 = "Martes", WEEKDAY_3 = "Miércoles",
    WEEKDAY_4 = "Jueves", WEEKDAY_5 = "Viernes", WEEKDAY_6 = "Sábado", WEEKDAY_7 = "Domingo",
    SUB_SUBSCRIBED = "Suscrito", SUB_NOT_SUBSCRIBED = "Sin suscripción",
    SUB_TRIAL = "Prueba", SUB_VETERAN = "Veterano", SUB_UNKNOWN = "Desconocido",
  },
  esMX = {
    UI_MINIMAP_BUTTON = "Botón del minimapa",
    MINIMAP_TOOLTIP_TITLE = "TimeLogger",
    MINIMAP_TOOLTIP_HINT = "Clic izquierdo: mostrar u ocultar la ventana.|nArrastrar para mover en el minimapa.",
    MINIMAP_TOOLTIP_RELOAD = "Ctrl + clic derecho: recargar la interfaz.",
    COL_PATCH = "Parche", COL_EXPANSION = "Expansión", COL_LOCATION = "Ubicación",
    COL_WEEKDAY = "Día", COL_SUBSCRIPTION = "Suscripción", COL_SUB_ACTIVE = "Suscripción activa", COL_LOCAL_DT = "Hora local",
    COL_START_LOCATION = "Ubicación login", COL_END_LOCATION = "Ubicación logout",
    COL_START_LOCAL = "Login local", COL_END_LOCAL = "Logout local",
    WEEKDAY_1 = "Lunes", WEEKDAY_2 = "Martes", WEEKDAY_3 = "Miércoles",
    WEEKDAY_4 = "Jueves", WEEKDAY_5 = "Viernes", WEEKDAY_6 = "Sábado", WEEKDAY_7 = "Domingo",
    SUB_SUBSCRIBED = "Suscrito", SUB_NOT_SUBSCRIBED = "Sin suscripción",
    SUB_TRIAL = "Prueba", SUB_VETERAN = "Veterano", SUB_UNKNOWN = "Desconocido",
  },
  frFR = {
    UI_MINIMAP_BUTTON = "Bouton minimap",
    MINIMAP_TOOLTIP_TITLE = "TimeLogger",
    MINIMAP_TOOLTIP_HINT = "Clic gauche : afficher ou masquer la fenêtre.|nGlisser pour déplacer sur la minimap.",
    MINIMAP_TOOLTIP_RELOAD = "Ctrl + clic droit : recharger l'interface.",
    COL_PATCH = "Patch", COL_EXPANSION = "Extension", COL_LOCATION = "Emplacement",
    COL_WEEKDAY = "Jour", COL_SUBSCRIPTION = "Abonnement", COL_SUB_ACTIVE = "Abonnement actif", COL_LOCAL_DT = "Heure locale",
    COL_START_LOCATION = "Lieu connexion", COL_END_LOCATION = "Lieu déconnexion",
    COL_START_LOCAL = "Connexion locale", COL_END_LOCAL = "Déconnexion locale",
    WEEKDAY_1 = "Lundi", WEEKDAY_2 = "Mardi", WEEKDAY_3 = "Mercredi",
    WEEKDAY_4 = "Jeudi", WEEKDAY_5 = "Vendredi", WEEKDAY_6 = "Samedi", WEEKDAY_7 = "Dimanche",
    SUB_SUBSCRIBED = "Abonné", SUB_NOT_SUBSCRIBED = "Non abonné",
    SUB_TRIAL = "Essai", SUB_VETERAN = "Essai vétéran", SUB_UNKNOWN = "Inconnu",
  },
  itIT = {
    UI_MINIMAP_BUTTON = "Pulsante minimappa",
    MINIMAP_TOOLTIP_TITLE = "TimeLogger",
    MINIMAP_TOOLTIP_HINT = "Click sinistro: apri o chiudi la finestra.|nTrascina per spostare sulla minimappa.",
    MINIMAP_TOOLTIP_RELOAD = "Ctrl + clic destro: ricarica l'interfaccia.",
    COL_PATCH = "Patch", COL_EXPANSION = "Espansione", COL_LOCATION = "Posizione",
    COL_WEEKDAY = "Giorno", COL_SUBSCRIPTION = "Abbonamento", COL_SUB_ACTIVE = "Abbonamento attivo", COL_LOCAL_DT = "Ora locale",
    COL_START_LOCATION = "Luogo accesso", COL_END_LOCATION = "Luogo uscita",
    COL_START_LOCAL = "Accesso locale", COL_END_LOCAL = "Uscita locale",
    WEEKDAY_1 = "Lunedì", WEEKDAY_2 = "Martedì", WEEKDAY_3 = "Mercoledì",
    WEEKDAY_4 = "Giovedì", WEEKDAY_5 = "Venerdì", WEEKDAY_6 = "Sabato", WEEKDAY_7 = "Domenica",
    SUB_SUBSCRIBED = "Abbonato", SUB_NOT_SUBSCRIBED = "Non abbonato",
    SUB_TRIAL = "Prova", SUB_VETERAN = "Prova veterano", SUB_UNKNOWN = "Sconosciuto",
  },
  koKR = {
    UI_MINIMAP_BUTTON = "미니맵 버튼",
    MINIMAP_TOOLTIP_TITLE = "TimeLogger",
    MINIMAP_TOOLTIP_HINT = "왼쪽 클릭: 창 표시/숨김|n드래그: 미니맵 주변 이동",
    MINIMAP_TOOLTIP_RELOAD = "Ctrl + 우클릭: UI 새로고침",
    COL_PATCH = "패치", COL_EXPANSION = "확장팩", COL_LOCATION = "위치",
    COL_WEEKDAY = "요일", COL_SUBSCRIPTION = "구독", COL_SUB_ACTIVE = "구독 활성", COL_LOCAL_DT = "현지 시간",
    COL_START_LOCATION = "접속 위치", COL_END_LOCATION = "종료 위치",
    COL_START_LOCAL = "접속 현지시간", COL_END_LOCAL = "종료 현지시간",
    WEEKDAY_1 = "월요일", WEEKDAY_2 = "화요일", WEEKDAY_3 = "수요일",
    WEEKDAY_4 = "목요일", WEEKDAY_5 = "금요일", WEEKDAY_6 = "토요일", WEEKDAY_7 = "일요일",
    SUB_SUBSCRIBED = "구독 중", SUB_NOT_SUBSCRIBED = "미구독",
    SUB_TRIAL = "체험판", SUB_VETERAN = "베테랑 체험", SUB_UNKNOWN = "알 수 없음",
  },
  ptBR = {
    UI_MINIMAP_BUTTON = "Botão do minimapa",
    MINIMAP_TOOLTIP_TITLE = "TimeLogger",
    MINIMAP_TOOLTIP_HINT = "Clique esquerdo: abrir ou fechar a janela.|nArraste para mover no minimapa.",
    MINIMAP_TOOLTIP_RELOAD = "Ctrl + clique direito: recarregar a interface.",
    COL_PATCH = "Patch", COL_EXPANSION = "Expansão", COL_LOCATION = "Local",
    COL_WEEKDAY = "Dia", COL_SUBSCRIPTION = "Assinatura", COL_SUB_ACTIVE = "Assinatura ativa", COL_LOCAL_DT = "Hora local",
    COL_START_LOCATION = "Local login", COL_END_LOCATION = "Local logout",
    COL_START_LOCAL = "Login local", COL_END_LOCAL = "Logout local",
    WEEKDAY_1 = "Segunda", WEEKDAY_2 = "Terça", WEEKDAY_3 = "Quarta",
    WEEKDAY_4 = "Quinta", WEEKDAY_5 = "Sexta", WEEKDAY_6 = "Sábado", WEEKDAY_7 = "Domingo",
    SUB_SUBSCRIBED = "Assinante", SUB_NOT_SUBSCRIBED = "Sem assinatura",
    SUB_TRIAL = "Teste", SUB_VETERAN = "Veterano", SUB_UNKNOWN = "Desconhecido",
  },
  ruRU = {
    UI_MINIMAP_BUTTON = "Кнопка миникарты",
    MINIMAP_TOOLTIP_TITLE = "TimeLogger",
    MINIMAP_TOOLTIP_HINT = "ЛКМ: показать или скрыть окно.|nПеретаскивание: перемещение по миникарте.",
    MINIMAP_TOOLTIP_RELOAD = "Ctrl + ПКМ: перезагрузить интерфейс.",
    COL_PATCH = "Патч", COL_EXPANSION = "Дополнение", COL_LOCATION = "Локация",
    COL_WEEKDAY = "День", COL_SUBSCRIPTION = "Подписка", COL_SUB_ACTIVE = "Подписка активна", COL_LOCAL_DT = "Местное время",
    COL_START_LOCATION = "Место входа", COL_END_LOCATION = "Место выхода",
    COL_START_LOCAL = "Вход (местн.)", COL_END_LOCAL = "Выход (местн.)",
    WEEKDAY_1 = "Понедельник", WEEKDAY_2 = "Вторник", WEEKDAY_3 = "Среда",
    WEEKDAY_4 = "Четверг", WEEKDAY_5 = "Пятница", WEEKDAY_6 = "Суббота", WEEKDAY_7 = "Воскресенье",
    SUB_SUBSCRIBED = "Подписка активна", SUB_NOT_SUBSCRIBED = "Без подписки",
    SUB_TRIAL = "Пробная версия", SUB_VETERAN = "Ветеран", SUB_UNKNOWN = "Неизвестно",
  },
  zhCN = {
    UI_MINIMAP_BUTTON = "小地图按钮",
    MINIMAP_TOOLTIP_TITLE = "TimeLogger",
    MINIMAP_TOOLTIP_HINT = "左键：打开/关闭窗口|n拖动：在小地图周围移动",
    MINIMAP_TOOLTIP_RELOAD = "Ctrl + 右键：重载界面",
    COL_PATCH = "版本", COL_EXPANSION = "资料片", COL_LOCATION = "位置",
    COL_WEEKDAY = "星期", COL_SUBSCRIPTION = "订阅", COL_SUB_ACTIVE = "订阅有效", COL_LOCAL_DT = "本地时间",
    COL_START_LOCATION = "登录位置", COL_END_LOCATION = "登出位置",
    COL_START_LOCAL = "登录本地时间", COL_END_LOCAL = "登出本地时间",
    WEEKDAY_1 = "星期一", WEEKDAY_2 = "星期二", WEEKDAY_3 = "星期三",
    WEEKDAY_4 = "星期四", WEEKDAY_5 = "星期五", WEEKDAY_6 = "星期六", WEEKDAY_7 = "星期日",
    SUB_SUBSCRIBED = "已订阅", SUB_NOT_SUBSCRIBED = "未订阅",
    SUB_TRIAL = "试玩", SUB_VETERAN = "老兵试玩", SUB_UNKNOWN = "未知",
  },
  zhTW = {
    UI_MINIMAP_BUTTON = "小地圖按鈕",
    MINIMAP_TOOLTIP_TITLE = "TimeLogger",
    MINIMAP_TOOLTIP_HINT = "左鍵：開啟/關閉視窗|n拖曳：在小地圖周圍移動",
    MINIMAP_TOOLTIP_RELOAD = "Ctrl + 右鍵：重載介面",
    COL_PATCH = "版本", COL_EXPANSION = "資料片", COL_LOCATION = "位置",
    COL_WEEKDAY = "星期", COL_SUBSCRIPTION = "訂閱", COL_SUB_ACTIVE = "訂閱有效", COL_LOCAL_DT = "本地時間",
    COL_START_LOCATION = "登入位置", COL_END_LOCATION = "登出位置",
    COL_START_LOCAL = "登入本地時間", COL_END_LOCAL = "登出本地時間",
    WEEKDAY_1 = "星期一", WEEKDAY_2 = "星期二", WEEKDAY_3 = "星期三",
    WEEKDAY_4 = "星期四", WEEKDAY_5 = "星期五", WEEKDAY_6 = "星期六", WEEKDAY_7 = "星期日",
    SUB_SUBSCRIBED = "已訂閱", SUB_NOT_SUBSCRIBED = "未訂閱",
    SUB_TRIAL = "試玩", SUB_VETERAN = "老兵試玩", SUB_UNKNOWN = "未知",
  },
}

for loc, strings in pairs(extended) do
  if translations[loc] then
    for key, value in pairs(strings) do
      translations[loc][key] = value
    end
  end
end

local locale = TimeLoggerLocale:ResolveLocale()
if locale ~= "enUS" and translations[locale] then
  TimeLoggerLocale:Merge(translations[locale])
end
