From 6fe1e5551a6be19e4f1fa84737df08f71c85b125 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Wed, 22 Apr 2015 22:21:42 +0400 Subject: [PATCH] total durability can't be -1 so it will count as disable --- ElvUI_SLE/locales/russian.lua | 2 +- ElvUI_SLE/options/datatexts_c.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ElvUI_SLE/locales/russian.lua b/ElvUI_SLE/locales/russian.lua index af4dce9..3a897d5 100644 --- a/ElvUI_SLE/locales/russian.lua +++ b/ElvUI_SLE/locales/russian.lua @@ -298,7 +298,7 @@ L['Show Unsed Currency'] = "Показывать неиспользуемую в L["Gradient"] = "Градиент" L["If enabled will color durability text based on it's value."] = "Если включено, будет окрашивать текст прочности в зависимости от значения." L["Durability Threshold"] = "Порог прочности" -L["Datatext will flash if durability shown will be equal or lower that this value."] = "Инфотекст начнет мигать, если показанная прочность будет меньшей либо равной заданному числу." +L["Datatext will flash if durability shown will be equal or lower that this value. Set to -1 to disable"] = "Инфотекст начнет мигать, если показанная прочность будет меньшей либо равной заданному числу. Поставьте на -1 для отключения." L["Any changes made will take effect only after:\n - Opening vendor\n - Item durability changes\n - Experiencing loading screen."] = "Изменения данных параметров вступят в силу только после одного из следующих действий:\n - Взаимодействия с торговцем\n - Изменения прочности предметов\n - Окончания экрана загрузки." --Equip Manager-- diff --git a/ElvUI_SLE/options/datatexts_c.lua b/ElvUI_SLE/options/datatexts_c.lua index a98f196..64326d7 100644 --- a/ElvUI_SLE/options/datatexts_c.lua +++ b/ElvUI_SLE/options/datatexts_c.lua @@ -534,9 +534,9 @@ local function configTable() threshold = { order = 3, type = "range", - min = 5, max = 99, step = 1, + min = -1, max = 99, step = 1, name = L["Durability Threshold"], - desc = L["Datatext will flash if durability shown will be equal or lower that this value."], + desc = L["Datatext will flash if durability shown will be equal or lower that this value. Set to -1 to disable"], get = function(info) return E.db.sle.dt.durability.threshold end, set = function(info, value) E.db.sle.dt.durability.threshold = value end, } -- 1.7.9.5