Add localization for config panel

This commit is contained in:
2025-01-11 12:34:03 +01:00
parent dd620c14d3
commit dbfbc2c347
3 changed files with 251 additions and 112 deletions

125
_L.lua
View File

@@ -13,7 +13,65 @@ shared.L = {
hostile = "hostile",
friendly = "friendly",
unknown = "unknown",
}
},
config = {
afkThreshold = "Afk Threshold",
agentTracker = "Agent Tracker",
alertSound = "Alert Sound",
tagSound = "Tag Sound",
alliance = "Alliance",
cleanupInterval = "Cleanup Interval",
combatAlerter = "Combat Alerter",
combatSound = "Combat Sound",
commander = "Commander",
deathReporter = "Death Reporter",
debug = "Debug",
declineOther = "Decline Other",
doWhisper = "Do Whisper",
duelThrottle = "Duel Throttle",
dueler = "Dueler",
echoer = "Echoer",
emoter = "Emoter",
enabled = "Enabled",
english = "English",
everyone = "Everyone",
heimdallConfig = "Heimdall Config",
helpSound = "Help Sound",
hostile = "Hostile",
ignored = "Ignored",
interval = "Interval",
inviter = "Inviter",
keyword = "Keyword",
locale = "Locale",
macroer = "Macroer",
masterChannel = "Master Channel",
messageDelegator = "Message Delegator",
messenger = "Messenger",
minimapTagger = "Minimap Tagger",
notifyChannel = "Notify Channel",
prefix = "Prefix",
priority = "Priority",
russian = "Russian",
scale = "Scale",
sniffer = "Sniffer",
soundFile = "Sound File",
soundThrottle = "Sound Throttle",
spotter = "Spotter",
stinkies = "Stinkies",
stinky = "Stinky",
stinkyTracker = "Stinky Tracker",
textureFile = "Texture File",
throttle = "Throttle",
ttl = "TTL",
whisperNotify = "Whisper Notify",
whoer = "Whoer",
zoneNotifyFor = "Zone Notify For",
zoneOverride = "Zone Override",
allAssist = "All Assist",
agentsAssist = "Agents Assist",
assist = "Assist",
kickOffline = "Kick Offline",
},
},
ru = {
combatAlerterInCombat = "Я в бою с %s на %s (%s) на [%s](%2.2f, %2.2f)",
@@ -31,6 +89,64 @@ shared.L = {
friendly = "дружественный",
unknown = "неизвестный",
},
config = {
alertSound = "Звук Оповещения",
tagSound = "Звук Тега",
soundThrottle = "Тхроттлер Звука",
soundFile = "Файл Звука",
textureFile = "Файл Текстуры",
combatSound = "Звук Боя",
helpSound = "Звук Помощи",
afkThreshold = "Порог AFK",
agentTracker = "Трекер Агента",
alliance = "Альянс",
cleanupInterval = "Интервал Очистки",
combatAlerter = "Система Оповещения о Бое",
commander = "Командир",
deathReporter = "Система Отчетов о Смерти",
debug = "Отладка",
declineOther = "Отклонить Другое",
doWhisper = "Отправить Шепот",
duelThrottle = "Регулятор Дуэли",
dueler = "Дуэлянт",
echoer = "Эхо-модуль",
emoter = "Генератор Эмоций",
enabled = "Включено",
english = "Английский",
everyone = "Все",
heimdallConfig = "Конфигурация Heimdall",
hostile = "Враждебный",
ignored = "Игнорируется",
interval = "Интервал",
inviter = "Инвайтер",
keyword = "Ключевое Слово",
locale = "Локаль",
macroer = "Макрос-отправитель",
masterChannel = "Главная Канал",
messageDelegator = "Делегатор Сообщений",
messenger = "Мессенджер",
minimapTagger = "Маркер Миникарты",
notifyChannel = "Канал Уведомлений",
prefix = "Префикс",
priority = "Приоритет",
russian = "Русский",
scale = "Масштаб",
sniffer = "Сниффер",
spotter = "Наблюдатель",
stinkies = "Неприятные Запахи",
stinky = "Неприятный",
stinkyTracker = "Трекер Неприятных Запахов",
throttle = "Тхроттлер",
ttl = "TTL",
whisperNotify = "Уведомление Шепотом",
whoer = "Запроситель Who",
zoneNotifyFor = "Уведомления о Зоне Для",
zoneOverride = "Переопределение Зоны",
allAssist = "Все Ассисты",
agentsAssist = "Агенты Ассисты",
assist = "Ассист",
kickOffline = "Кик Оффлайн",
},
zones = {
["Orgrimmar"] = "Оргриммар",
["Valley of Strength"] = "Долина Силы",
@@ -77,3 +193,10 @@ shared.L = {
},
},
}
for key, value in pairs(shared.L.en.config) do
local rus = shared.L.ru.config[key]
if not rus then
print(key, value)
end
end