Commit a2b4e0c4 authored by Simpy's avatar Simpy

Merge branch 'development'

parents 002a426c 895923b9
## Interface: 80100
## Author: Elv
## Version: 11.09
## Version: 11.10
## Title: |cfffe7b2cElvUI|r
## Notes: User Interface replacement AddOn for World of Warcraft.
## SavedVariables: ElvDB, ElvPrivateDB
......
......@@ -29,34 +29,27 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
]]
local MAJOR_VERSION = "LibActionButton-1.0-ElvUI"
local MINOR_VERSION = 16 -- the real minor version is 74
local MINOR_VERSION = 17 -- the real minor version is 74
if not LibStub then error(MAJOR_VERSION .. " requires LibStub.") end
local lib, oldversion = LibStub:NewLibrary(MAJOR_VERSION, MINOR_VERSION)
if not lib then return end
-- Lua functions
local _G = _G
local type, error, tostring, tonumber, assert, select = type, error, tostring, tonumber, assert, select
local setmetatable, wipe, unpack, pairs, next = setmetatable, wipe, unpack, pairs, next
local str_match, format, tinsert, tremove = string.match, format, tinsert, tremove
-- GLOBALS: LibStub, CreateFrame, InCombatLockdown, ClearCursor, GetCursorInfo, GameTooltip, GameTooltip_SetDefaultAnchor
-- GLOBALS: GetBindingKey, GetBindingText, SetBinding, SetBindingClick, GetCVar, GetMacroInfo
-- GLOBALS: PickupAction, PickupItem, PickupMacro, PickupPetAction, PickupSpell, PickupCompanion, PickupEquipmentSet
-- GLOBALS: CooldownFrame_SetTimer, UIParent, IsSpellOverlayed, SpellFlyout, GetMouseFocus, SetClampedTextureRotation
-- GLOBALS: GetActionInfo, GetActionTexture, HasAction, GetActionText, GetActionCount, GetActionCooldown, IsAttackAction
-- GLOBALS: IsAutoRepeatAction, IsEquippedAction, IsCurrentAction, IsConsumableAction, IsUsableAction, IsStackableAction, IsActionInRange
-- GLOBALS: GetSpellLink, GetMacroSpell, GetSpellTexture, GetSpellCount, GetSpellCooldown, IsAttackSpell, IsCurrentSpell
-- GLOBALS: FindSpellBookSlotBySpellID, IsUsableSpell, IsConsumableSpell, IsSpellInRange, IsAutoRepeatSpell
-- GLOBALS: GetItemIcon, GetItemCount, GetItemCooldown, IsEquippedItem, IsCurrentItem, IsUsableItem, IsConsumableItem, IsItemInRange
-- GLOBALS: GetActionCharges, IsItemAction, GetSpellCharges
-- GLOBALS: RANGE_INDICATOR, ATTACK_BUTTON_FLASH_TIME, TOOLTIP_UPDATE_TIME
-- GLOBALS: ZoneAbilityFrame, HasZoneAbility, GetLastZoneAbilitySpellTexture
---- Added by ElvUI
-- GLOBALS: C_ToyBox, GetSpellInfo, GetCVarBool, GetModifiedClick, IsAltKeyDown, IsControlKeyDown, IsShiftKeyDown, FlyoutHasSpell
-- GLOBALS: CooldownFrame_Set, GetActionLossOfControlCooldown, COOLDOWN_TYPE_LOSS_OF_CONTROL, COOLDOWN_TYPE_NORMAL
-- GLOBALS: ATTACK_BUTTON_FLASH_TIME, C_ToyBox, ClearCursor, COOLDOWN_TYPE_LOSS_OF_CONTROL, COOLDOWN_TYPE_NORMAL
-- GLOBALS: CooldownFrame_Set, CreateFrame, FindSpellBookSlotBySpellID, FlyoutHasSpell, GameTooltip, GameTooltip_SetDefaultAnchor
-- GLOBALS: GetActionCharges, GetActionCooldown, GetActionCount, GetActionInfo, GetActionLossOfControlCooldown, GetActionText
-- GLOBALS: GetActionTexture, GetBindingKey, GetBindingText, GetCursorInfo, GetCVar, GetCVarBool, GetItemCooldown, GetItemCount
-- GLOBALS: GetItemIcon, GetLastZoneAbilitySpellTexture, GetMacroInfo, GetMacroSpell, GetModifiedClick, GetMouseFocus, GetSpellCharges
-- GLOBALS: GetSpellCooldown, GetSpellCount, GetSpellInfo, GetSpellTexture, HasAction, HasZoneAbility, InCombatLockdown, IsActionInRange
-- GLOBALS: IsAltKeyDown, IsAttackAction, IsAttackSpell, IsAutoRepeatAction, IsAutoRepeatSpell, IsConsumableAction, IsConsumableItem
-- GLOBALS: IsConsumableSpell, IsControlKeyDown, IsCurrentAction, IsCurrentItem, IsCurrentSpell, IsEquippedAction, IsEquippedItem
-- GLOBALS: IsItemAction, IsItemInRange, IsShiftKeyDown, IsSpellInRange, IsSpellOverlayed, IsStackableAction, IsUsableAction, IsUsableItem
-- GLOBALS: IsUsableSpell, LibStub, PickupAction, PickupCompanion, PickupEquipmentSet, PickupItem, PickupMacro, PickupPetAction, PickupSpell
-- GLOBALS: RANGE_INDICATOR, SetBinding, SetBindingClick, SetClampedTextureRotation, SpellFlyout, TOOLTIP_UPDATE_TIME, UIParent, ZoneAbilityFrame
local KeyBound = LibStub("LibKeyBound-1.0", true)
local CBH = LibStub("CallbackHandler-1.0")
......@@ -71,6 +64,9 @@ lib.activeButtons = lib.activeButtons or {}
lib.actionButtons = lib.actionButtons or {}
lib.nonActionButtons = lib.nonActionButtons or {}
lib.ChargeCooldowns = lib.ChargeCooldowns or {}
lib.NumChargeCooldowns = lib.NumChargeCooldowns or 0
lib.ACTION_HIGHLIGHT_MARKS = lib.ACTION_HIGHLIGHT_MARKS or setmetatable({}, { __index = ACTION_HIGHLIGHT_MARKS })
lib.callbacks = lib.callbacks or CBH:New(lib)
......@@ -116,8 +112,9 @@ local Update, UpdateButtonState, UpdateUsable, UpdateCount, UpdateCooldown, Upda
local StartFlash, StopFlash, UpdateFlash, UpdateHotkeys, UpdateRangeTimer, UpdateOverlayGlow
local UpdateFlyout, ShowGrid, HideGrid, UpdateGrid, SetupSecureSnippets, WrapOnClick
local ShowOverlayGlow, HideOverlayGlow
local EndChargeCooldown
local UpdateRange -- Sezz: new method
local InitializeEventHandler, OnEvent, ForAllButtons, OnUpdate
local function GameTooltip_GetOwnerForbidden()
......@@ -1098,6 +1095,11 @@ function Update(self, fromUpdateConfig)
self:SetAlpha(0.0)
end
self.cooldown:Hide()
self:SetChecked(false)
if self.chargeCooldown then
EndChargeCooldown(self.chargeCooldown)
end
end
-- Add a green border if button is an equipped item
......@@ -1248,10 +1250,53 @@ function UpdateCount(self)
end
end
function EndChargeCooldown(self)
self:Hide()
self:SetParent(UIParent)
self.parent.chargeCooldown = nil
self.parent = nil
tinsert(lib.ChargeCooldowns, self)
end
local function StartChargeCooldown(parent, chargeStart, chargeDuration, chargeModRate)
if not parent.chargeCooldown then
local cooldown = tremove(lib.ChargeCooldowns)
if not cooldown then
lib.NumChargeCooldowns = lib.NumChargeCooldowns + 1
cooldown = CreateFrame("Cooldown", "LAB10ChargeCooldown"..lib.NumChargeCooldowns, parent, "CooldownFrameTemplate");
cooldown:SetScript("OnCooldownDone", EndChargeCooldown)
cooldown:SetHideCountdownNumbers(true)
cooldown:SetDrawBling(false)
lib.callbacks:Fire("OnChargeCreated", parent, cooldown)
end
cooldown:SetParent(parent)
cooldown:SetAllPoints(parent)
cooldown:SetFrameStrata("TOOLTIP")
cooldown:Show()
parent.chargeCooldown = cooldown
cooldown.parent = parent
end
-- set cooldown
CooldownFrame_Set(parent.chargeCooldown, chargeStart, chargeDuration, true, true, chargeModRate)
-- update charge cooldown skin when masque is used
if Masque and Masque.UpdateCharge then
Masque:UpdateCharge(parent)
end
if not chargeStart or chargeStart == 0 then
EndChargeCooldown(parent.chargeCooldown)
end
end
local function OnCooldownDone(self)
local button = self:GetParent()
if (self.currentCooldownType == COOLDOWN_TYPE_NORMAL) and button.locStart and (button.locStart > 0) then
UpdateCooldown(button)
elseif button.chargeCooldown then
button.chargeCooldown:SetDrawSwipe(button.config.useDrawSwipeOnCharges)
end
lib.callbacks:Fire("OnCooldownDone", button, self)
......@@ -1262,10 +1307,8 @@ function UpdateCooldown(self)
local start, duration, enable, modRate = self:GetCooldown()
local charges, maxCharges, chargeStart, chargeDuration, chargeModRate = self:GetCharges()
self.cooldown:SetScript("OnCooldownDone", OnCooldownDone)
self.cooldown:SetDrawBling(self.config.useDrawBling and (self.cooldown:GetEffectiveAlpha() > 0.5))
self.cooldown:SetDrawSwipe(true)
self.cooldown:SetScript("OnCooldownDone", OnCooldownDone)
self.cooldown.locStart = locStart
self.cooldown.locDuration = locDuration
......@@ -1276,8 +1319,8 @@ function UpdateCooldown(self)
self.cooldown:SetHideCountdownNumbers(true)
self.cooldown.currentCooldownType = COOLDOWN_TYPE_LOSS_OF_CONTROL
end
CooldownFrame_Set(self.cooldown, locStart, locDuration, true, true, modRate)
self.cooldown.isChargeCooldown = nil
else
if self.cooldown.currentCooldownType ~= COOLDOWN_TYPE_NORMAL then
self.cooldown:SetEdgeTexture("Interface\\Cooldown\\edge")
......@@ -1287,18 +1330,14 @@ function UpdateCooldown(self)
end
if charges and maxCharges and charges > 0 and charges < maxCharges then
CooldownFrame_Set(self.cooldown, chargeStart, chargeDuration, true, true, chargeModRate)
self.cooldown:SetDrawSwipe(self.config.useDrawSwipeOnCharges)
self.cooldown.isChargeCooldown = true
StartChargeCooldown(self, chargeStart, chargeDuration, chargeModRate)
-- update charge cooldown skin when masque is used
if Masque and Masque.UpdateCharge then
Masque:UpdateCharge(self)
end
else
CooldownFrame_Set(self.cooldown, start, duration, enable, false, modRate)
self.cooldown.isChargeCooldown = nil
self.chargeCooldown:SetDrawSwipe(duration <= 0 and self.config.useDrawSwipeOnCharges)
elseif self.chargeCooldown then
EndChargeCooldown(self.chargeCooldown)
end
CooldownFrame_Set(self.cooldown, start, duration, enable, false, modRate)
end
lib.callbacks:Fire("OnCooldownUpdate", self, start, duration, enable, modRate)
end
......
......@@ -1055,25 +1055,42 @@ function AB:StyleFlyout(button)
end
end
local function SetButtonDesaturation(button, desaturate, duration)
if desaturate then
if not duration then
duration = select(2, button:GetCooldown())
end
function AB:UpdateChargeCooldown(button, duration)
local cd = button and button.chargeCooldown
if not cd then return end
if duration and duration > 1.5 then
button.icon:SetDesaturated(true)
button.saturationLocked = true
else
button.icon:SetDesaturated(false)
button.saturationLocked = nil
local oldstate = cd.hideText
cd.hideText = (duration and duration > 1.5) or (AB.db.chargeCooldown == false) or nil
if cd.timer and (oldstate ~= cd.hideText) then
E:Cooldown_ForceUpdate(cd.timer)
end
end
function AB:ToggleCooldownOptions()
for button in pairs(LAB.actionButtons) do
if button._state_type == "action" then
local duration = select(2, button:GetCooldown())
AB:UpdateChargeCooldown(button, duration)
AB:SetButtonDesaturation(button, duration)
end
end
end
function AB:SetButtonDesaturation(button, duration)
if AB.db.desaturateOnCooldown and (duration and duration > 1.5) then
button.icon:SetDesaturated(true)
button.saturationLocked = true
else
button.icon:SetDesaturated(false)
button.saturationLocked = nil
end
end
function AB:LAB_ChargeCreated(_, cd)
cd.CooldownOverride = 'actionbar'
E:RegisterCooldown(cd)
end
function AB:LAB_MouseUp()
if self.config.clickOnDown then
self:GetPushedTexture():SetAlpha(0)
......@@ -1101,32 +1118,13 @@ function AB:LAB_ButtonUpdate(button)
end
function AB:LAB_CooldownDone(button)
SetButtonDesaturation(button, AB.db.desaturateOnCooldown, 0)
AB:SetButtonDesaturation(button, 0)
end
function AB:LAB_CooldownUpdate(button, _, duration)
if button._state_type ~= "action" then return end
button.cooldown.hideText = (button.cooldown.isChargeCooldown and (AB.db.chargeCooldown == false)) or nil
SetButtonDesaturation(button, AB.db.desaturateOnCooldown, duration)
end
function AB:ToggleCooldownOptions()
for button in pairs(LAB.actionButtons) do
local oldstate = button.cooldown.hideText
button.cooldown.hideText = (button.cooldown.isChargeCooldown and (AB.db.chargeCooldown == false)) or nil
if button.cooldown.timer and (oldstate ~= button.cooldown.hideText) then
E:Cooldown_ForceUpdate(button.cooldown.timer)
end
SetButtonDesaturation(button, AB.db.desaturateOnCooldown)
end
if AB.db.desaturateOnCooldown or (AB.db.chargeCooldown == false) then
LAB.RegisterCallback(AB, "OnCooldownUpdate", AB.LAB_CooldownUpdate)
LAB.RegisterCallback(AB, "OnCooldownDone", AB.LAB_CooldownDone)
else
LAB.UnregisterCallback(AB, "OnCooldownUpdate")
LAB.UnregisterCallback(AB, "OnCooldownDone")
if button._state_type == "action" then
AB:UpdateChargeCooldown(button, duration)
AB:SetButtonDesaturation(button, duration)
end
end
......@@ -1137,6 +1135,9 @@ function AB:Initialize()
LAB.RegisterCallback(AB, "OnButtonUpdate", AB.LAB_ButtonUpdate)
LAB.RegisterCallback(AB, "OnButtonCreated", AB.LAB_ButtonCreated)
LAB.RegisterCallback(AB, "OnChargeCreated", AB.LAB_ChargeCreated)
LAB.RegisterCallback(AB, "OnCooldownUpdate", AB.LAB_CooldownUpdate)
LAB.RegisterCallback(AB, "OnCooldownDone", AB.LAB_CooldownDone)
self.fadeParent = CreateFrame("Frame", "Elv_ABFade", _G.UIParent)
self.fadeParent:SetAlpha(1 - self.db.globalFadeAlpha)
......
......@@ -205,16 +205,12 @@ function AB:BindUpdate(button, spellmacro)
end
GameTooltip:Show();
elseif spellmacro=="STANCE" or spellmacro=="PET" then
bind.button.id = tonumber(button:GetID());
bind.button.name = button:GetName();
if not bind.button.name then return; end
if not bind.button.id or bind.button.id < 1 or bind.button.id > 10 then
bind.button.bindstring = "CLICK "..bind.button.name..":LeftButton";
else
bind.button.bindstring = (spellmacro=="STANCE" and "StanceButton" or "BONUSACTIONBUTTON")..bind.button.id;
end
bind.button.id = tonumber(button:GetID());
bind.button.bindstring = (spellmacro=="STANCE" and "SHAPESHIFTBUTTON" or "BONUSACTIONBUTTON")..bind.button.id;
GameTooltip:SetOwner(bind, "ANCHOR_NONE");
GameTooltip:Point("BOTTOM", bind, "TOP", 0, 1);
......@@ -237,13 +233,12 @@ function AB:BindUpdate(button, spellmacro)
tt:SetScript("OnHide", nil);
end);
else
bind.button.action = tonumber(button.action);
bind.button.name = button:GetName();
if not bind.button.name then return; end
if (not bind.button.action or bind.button.action < 1 or bind.button.action > 132) and not (bind.button.keyBoundTarget) then
bind.button.bindstring = "CLICK "..bind.button.name..":LeftButton";
elseif bind.button.keyBoundTarget then
bind.button.action = tonumber(button.action);
if bind.button.keyBoundTarget then
bind.button.bindstring = bind.button.keyBoundTarget
else
local modact = 1+(bind.button.action-1)%12;
......@@ -281,19 +276,16 @@ function AB:BindUpdate(button, spellmacro)
end
end
function AB:RegisterButton(b, override)
function AB:RegisterButton(b)
local stance = _G.StanceButton1:GetScript("OnClick");
local pet = _G.PetActionButton1:GetScript("OnClick");
local button = SecureActionButton_OnClick;
if b.IsProtected and b.IsObjectType and b.GetScript and b:IsObjectType('CheckButton') and b:IsProtected() then
local script = b:GetScript("OnClick");
if override then
b:HookScript("OnEnter", function(s) self:BindUpdate(s); end);
elseif script==pet then
if script==pet then
b:HookScript("OnEnter", function(s) self:BindUpdate(s, "PET"); end);
elseif script==stance then
b:HookScript("OnEnter", function(s) self:BindUpdate(s, "STANCE"); end);
elseif (script==button) then
else
b:HookScript("OnEnter", function(s) self:BindUpdate(s); end);
end
end
......@@ -383,7 +375,7 @@ function AB:LoadKeyBinder()
end
for b in pairs(self.handledbuttons) do
self:RegisterButton(b, true);
self:RegisterButton(b);
end
if not IsAddOnLoaded("Blizzard_MacroUI") then
......
......@@ -5,6 +5,7 @@ local S = E:GetModule('Skins')
local _G = _G
local select = select
--WoW API / Variables
local hooksecurefunc = hooksecurefunc
-- GLOBALS:
local function LoadSkin()
......@@ -18,15 +19,23 @@ local function LoadSkin()
frame.buttonFrame:Hide()
local eb = frame.editBox
eb:CreateBackdrop("Transparent")
eb.backdrop:Hide()
eb:SetAltArrowKeyMode(false)
for i = 3, 8 do
select(i, eb:GetRegions()):SetAlpha(0)
end
S:HandleEditBox(eb)
eb:ClearAllPoints()
eb:SetPoint("TOPLEFT", frame, "BOTTOMLEFT", 0, -7)
eb:SetPoint("BOTTOMRIGHT", frame, "BOTTOMRIGHT", 0, -32)
hooksecurefunc("ChatEdit_DeactivateChat", function(editBox)
if editBox.isGM then eb.backdrop:Hide() end
end)
hooksecurefunc("ChatEdit_ActivateChat", function(editBox)
if editBox.isGM then eb.backdrop:Show() end
end)
local lang = _G.GMChatFrameEditBoxLanguage
lang:GetRegions():SetAlpha(0)
lang:SetPoint("TOPLEFT", eb, "TOPRIGHT", 3, 0)
......@@ -40,10 +49,10 @@ local function LoadSkin()
tab:SetPoint("TOPRIGHT", frame, "TOPRIGHT", 0, 28)
_G.GMChatTabIcon:SetTexture("Interface\\ChatFrame\\UI-ChatIcon-Blizz")
S:HandleCloseButton(_G.GMChatFrameCloseButton)
_G.GMChatFrameCloseButton:ClearAllPoints()
_G.GMChatFrameCloseButton:SetPoint("RIGHT", _G.GMChatTab, -5, 0)
local close = _G.GMChatFrameCloseButton
S:HandleCloseButton(close)
close:ClearAllPoints()
close:SetPoint("RIGHT", tab, -5, 0)
end
S:AddCallbackForAddon("Blizzard_GMChatUI", "GMChat", LoadSkin)
......@@ -3,7 +3,7 @@ local E, L, V, P, G = unpack(select(2, ...)); --Import: Engine, Locales, Private
--Global Settings
G.general = {
UIScale = 0.64,
version = 11.09,
version = 11.10,
eyefinity = false,
ignoreScalePopup = false,
smallerWorldMap = true,
......
......@@ -4653,7 +4653,7 @@ P.actionbar = {
addNewSpells = false,
rightClickSelfCast = false,
desaturateOnCooldown = false,
chargeCooldown = true,
chargeCooldown = false,
bar1 = {
enabled = true,
......
......@@ -100,27 +100,15 @@ local function BuildABConfig()
AB:UpdatePetCooldownSettings()
end,
},
useDrawSwipeOnCharges = {
order = 9,
type = "toggle",
name = L["Use Draw Swipe"],
desc = L["Shows a swipe animation when a spell is recharging but still has charges left."],
get = function(info) return E.db.actionbar.useDrawSwipeOnCharges end,
set = function(info, value) E.db.actionbar.useDrawSwipeOnCharges = value;
for _, bar in pairs(AB.handledBars) do
AB:UpdateButtonConfig(bar, bar.bindButtons)
end
end,
},
addNewSpells = {
order = 10,
order = 9,
type = "toggle",
name = L["Auto Add New Spells"],
desc = L["Allow newly learned spells to be automatically placed on an empty actionbar slot."],
set = function(info, value) E.db.actionbar.addNewSpells = value; AB:IconIntroTracker_Toggle() end,
},
rightClickSelfCast = {
order = 11,
order = 10,
type = "toggle",
name = L["RightClick Self-Cast"],
set = function(info, value)
......@@ -130,26 +118,45 @@ local function BuildABConfig()
end
end,
},
desaturateOnCooldown = {
useDrawSwipeOnCharges = {
order = 11,
type = "toggle",
name = L["Charge Draw Swipe"],
desc = L["Shows a swipe animation when a spell is recharging but still has charges left."],
get = function(info) return E.db.actionbar.useDrawSwipeOnCharges end,
set = function(info, value) E.db.actionbar.useDrawSwipeOnCharges = value;
for _, bar in pairs(AB.handledBars) do
AB:UpdateButtonConfig(bar, bar.bindButtons)
end
end,
},
chargeCooldown = {
order = 12,
type = "toggle",
name = L["Desaturate On Cooldown"],
name = L["Charge Cooldown Text"],
set = function(info, value)
E.db.actionbar.desaturateOnCooldown = value;
E.db.actionbar.chargeCooldown = value;
AB:ToggleCooldownOptions()
end,
},
chargeCooldown = {
desaturateOnCooldown = {
order = 13,
type = "toggle",
name = L["Show Charge Cooldown"],
name = L["Desaturate Cooldowns"],
customWidth = 180,
set = function(info, value)
E.db.actionbar.chargeCooldown = value;
E.db.actionbar.desaturateOnCooldown = value;
AB:ToggleCooldownOptions()
end,
},
movementModifier = {
spacer = {
order = 14,
type = "description",
name = " ",
width = 'full',
},
movementModifier = {
order = 15,
type = 'select',
name = PICKUP_ACTION_KEY_TEXT,
desc = L["The button you must hold down in order to drag an ability to another action button."],
......@@ -162,7 +169,7 @@ local function BuildABConfig()
},
},
globalFadeAlpha = {
order = 15,
order = 16,
type = 'range',
name = L["Global Fade Transparency"],
desc = L["Transparency level when not in combat, no target exists, full health, not casting, and no focus target exists."],
......
......@@ -83,6 +83,10 @@ L["Button Spacing"] = "按钮间距"
L["Buttons Per Row"] = "每行按钮数"
L["Buttons"] = "按钮数"
L["Change the alpha level of the frame."] = "改变框架透明度"
L["Charge Cooldown Text"] = "显示充能冷却"
L["Charge Draw Swipe"] = "反向充能动画"
L["Color Keybind Text when Out of Range, instead of the button."] = "当你超过射程时对键位文字着色而不是对按钮着色"
L["Color Keybind Text"] = "键位文字着色"
L["Color of the actionbutton when not usable."] = "动作条按键不可用时的颜色"
L["Color of the actionbutton when out of power (Mana, Rage, Focus, Holy Power)."] = "当能量不足时(如法力,怒气等)动作条按键的颜色"
L["Color of the actionbutton when out of range."] = "当超出距离时动作条按键的颜色"
......@@ -95,7 +99,7 @@ L["Color when the text is in the seconds format."] = "以秒显示的文字颜
L["Cooldown Text"] = "冷却文字"
L["Darken Inactive"] = "未激活时暗化"
L["Days"] = "天"
L["Desaturate On Cooldown"] = "冷却中褪色"
L["Desaturate Cooldowns"] = "冷却中褪色"
L["Display bind names on action buttons."] = "在动作条按钮上显示键位名称"
L["Display cooldown text on anything with the cooldown spiral."] = "显示技能冷却时间"
L["Display macro names on action buttons."] = "在动作条按钮上显示宏名称"
......@@ -111,12 +115,10 @@ L["Inherit Global Fade"] = "继承全局渐隐"
L["Inherit the global fade, mousing over, targetting, setting focus, losing health, entering combat will set the remove transparency. Otherwise it will use the transparency level in the general actionbar settings for global fade alpha."] = "继承全局渐隐, 鼠标悬浮、目标、焦点、损失血量、进入战斗会减低不透明度.否则会为全局透明度使用一般动作条的设置"
L["Key Down"] = "按下施法"
L["Keybind Mode"] = "键位设置模式"
L["Keybind Text"] = "键位文字"
L["Keybind Text Position"] = "快捷键文字位置"
L["Keybind Text X-Offset"] = "快捷键文字X偏移"
L["Keybind Text Y-Offset"] = "快捷键文字Y偏移"
L["Color Keybind Text"] = "键位文字着色"
L["Color Keybind Text when Out of Range, instead of the button."] = "当你超过射程时对键位文字着色而不是对按钮着色"
L["Keybind Text"] = "键位文字"
L["Low Threshold"] = "冷却时间阈值"
L["Macro Text"] = "宏名称"
L["Masque Support"] = "Masque支持"
......@@ -130,7 +132,6 @@ L["Restore Bar"] = "重置动作条"
L["Restore the actionbars default settings"] = "恢复此动作条的预设设定"
L["RightClick Self-Cast"] = "右键自我施法"
L["Seconds"] = "秒"
L["Show Charge Cooldown"] = "显示充能冷却"
L["Show Empty Buttons"] = "显示空白按钮"
L["Shows a swipe animation when a spell is recharging but still has charges left."] = "当一个技能在充能但仍有剩余使用次数时使用反向填充动画"
L["Stack Text Position"] = "叠层文字位置"
......@@ -143,12 +144,11 @@ L["The first button anchors itself to this point on the bar."] = "第一个按
L["The size of the action buttons."] = "动作条按钮尺寸"
L["The spacing between the backdrop and the buttons."] = "背景与按钮之间的间隙"
L["This setting will be updated upon changing stances."] = "这个设置会在改变姿态时更新"
L["Threshold before text turns red and is in decimal form. Set to -1 for it to never turn red"] = "冷却时间低于此秒数后将变为红色数字, 并以小数显示, 设为-1来使其不会变为红色"
L["This will override the global cooldown settings."] = "这将强制覆盖全局冷却设置"
L["Threshold before text turns red and is in decimal form. Set to -1 for it to never turn red"] = "冷却时间低于此秒数后将变为红色数字, 并以小数显示, 设为-1来使其不会变为红色"
L["Toggles the display of the actionbars backdrop."] = "切换动作条显示背景框"
L["Transparency level when not in combat, no target exists, full health, not casting, and no focus target exists."] = "在非战斗, 无目标存在, 满血, 未施法, 无焦点目标存在时的不透明度"
L["Usable"] = "可用"
L["Use Draw Swipe"] = "反向充能动画"
L["Use Position Override"] = "使用位置覆盖"
L["Visibility State"] = "可见状态"
L["When enabled it will use the Anchor Point setting to determine growth direction, otherwise it will be determined by where the bar is positioned."] = "当启用时会使用定位点的位置来决定按钮增长的方向,否则将会按照动作条的位置来决定"
......
......@@ -83,6 +83,10 @@ L["Button Spacing"] = true --Also used in Bags
L["Buttons Per Row"] = true
L["Buttons"] = true
L["Change the alpha level of the frame."] = true
L["Charge Cooldown Text"] = true
L["Charge Draw Swipe"] = true
L["Color Keybind Text when Out of Range, instead of the button."] = true
L["Color Keybind Text"] = true
L["Color of the actionbutton when not usable."] = true
L["Color of the actionbutton when out of power (Mana, Rage, Focus, Holy Power)."] = true
L["Color of the actionbutton when out of range."] = true
......@@ -95,7 +99,7 @@ L["Color when the text is in the seconds format."] = true
L["Cooldown Text"] = true
L["Darken Inactive"] = true
L["Days"] = true
L["Desaturate On Cooldown"] = true
L["Desaturate Cooldowns"] = true
L["Display bind names on action buttons."] = true
L["Display cooldown text on anything with the cooldown spiral."] = true
L["Display macro names on action buttons."] = true
......@@ -111,12 +115,10 @@ L["Inherit Global Fade"] = true
L["Inherit the global fade, mousing over, targetting, setting focus, losing health, entering combat will set the remove transparency. Otherwise it will use the transparency level in the general actionbar settings for global fade alpha."] = true
L["Key Down"] = true
L["Keybind Mode"] = true
L["Keybind Text"] = true
L["Keybind Text Position"] = true
L["Keybind Text X-Offset"] = true
L["Keybind Text Y-Offset"] = true
L["Color Keybind Text"] = true
L["Color Keybind Text when Out of Range, instead of the button."] = true
L["Keybind Text"] = true
L["Low Threshold"] = true
L["Macro Text"] = true
L["Masque Support"] = true
......@@ -130,7 +132,6 @@ L["Restore Bar"] = true
L["Restore the actionbars default settings"] = true
L["RightClick Self-Cast"] = true
L["Seconds"] = true
L["Show Charge Cooldown"] = true
L["Show Empty Buttons"] = true
L["Shows a swipe animation when a spell is recharging but still has charges left."] = true
L["Stack Text Position"] = true
......@@ -143,12 +144,11 @@ L["The first button anchors itself to this point on the bar."] = true
L["The size of the action buttons."] = true
L["The spacing between the backdrop and the buttons."] = true
L["This setting will be updated upon changing stances."] = true
L["Threshold before text turns red and is in decimal form. Set to -1 for it to never turn red"] = true
L["This will override the global cooldown settings."] = true
L["Threshold before text turns red and is in decimal form. Set to -1 for it to never turn red"] = true
L["Toggles the display of the actionbars backdrop."] = true
L["Transparency level when not in combat, no target exists, full health, not casting, and no focus target exists."] = true
L["Usable"] = true
L["Use Draw Swipe"] = true
L["Use Position Override"] = true
L["Visibility State"] = true
L["When enabled it will use the Anchor Point setting to determine growth direction, otherwise it will be determined by where the bar is positioned."] = true
......
......@@ -83,6 +83,10 @@ L["Button Spacing"] = "Espacement des boutons"
L["Buttons Per Row"] = "Boutons par ligne"
L["Buttons"] = "Boutons"
L["Change the alpha level of the frame."] = "Changer le niveau alpha de la fenêtre."
L["Charge Cooldown Text"] = true
L["Charge Draw Swipe"] = true
L["Color Keybind Text when Out of Range, instead of the button."] = true
L["Color Keybind Text"] = true
L["Color of the actionbutton when not usable."] = "Couleur du bouton d'action quand inutilisable"
L["Color of the actionbutton when out of power (Mana, Rage, Focus, Holy Power)."] = "Couleur du bouton d'action quand il n'y a pas ressource (Mana, Rage, Focalisation, Puissance sacrée)."
L["Color of the actionbutton when out of range."] = "Couleur du bouton d'action quand hors de portée."
......@@ -95,7 +99,7 @@ L["Color when the text is in the seconds format."] = "Couleur quand le texte est
L["Cooldown Text"] = "Texte temps de recharge"
L["Darken Inactive"] = "Foncé Inactif"
L["Days"] = "Jours"
L["Desaturate On Cooldown"] = true
L["Desaturate Cooldowns"] = true
L["Display bind names on action buttons."] = "Affiche les noms des raccourcis sur les boutons de la barre d'action."
L["Display cooldown text on anything with the cooldown spiral."] = "Affiche le temps de recharge au format numérique plutôt que la spirale d'origine."
L["Display macro names on action buttons."] = "Affiche les noms des macros sur les boutons dans la barre d'action."
......@@ -111,12 +115,10 @@ L["Inherit Global Fade"] = "Utiliser l'option de transparence générale"
L["Inherit the global fade, mousing over, targetting, setting focus, losing health, entering combat will set the remove transparency. Otherwise it will use the transparency level in the general actionbar settings for global fade alpha."] = true
L["Key Down"] = "Touche enfoncée"
L["Keybind Mode"] = "Mode raccourcis"
L["Keybind Text"] = "Texte des raccourcis"
L["Keybind Text Position"] = true
L["Keybind Text X-Offset"] = true
L["Keybind Text Y-Offset"] = true
L["Color Keybind Text"] = true
L["Color Keybind Text when Out of Range, instead of the button."] = true
L["Keybind Text"] = "Texte des raccourcis"
L["Low Threshold"] = "Seuil minimal"
L["Macro Text"] = "Texte sur Macro"
L["Masque Support"] = "Support de Maque"
......@@ -130,7 +132,6 @@ L["Restore Bar"] = "Restaurer la barre"
L["Restore the actionbars default settings"] = "Restaure la barre d'actions avec ses paramètres par défaut."
L["RightClick Self-Cast"] = true
L["Seconds"] = "Secondes"
L["Show Charge Cooldown"] = true
L["Show Empty Buttons"] = "Voir les emplacements vide"
L["Shows a swipe animation when a spell is recharging but still has charges left."] = true
L["Stack Text Position"] = true
......@@ -143,12 +144,11 @@ L["The first button anchors itself to this point on the bar."] = "Ancrage du pre
L["The size of the action buttons."] = "Taille des boutons d'action."
L["The spacing between the backdrop and the buttons."] = "Espace entre le fond et les boutons."
L["This setting will be updated upon changing stances."] = "Ce réglage sera activé lors d'un changement de posture"
L["Threshold before text turns red and is in decimal form. Set to -1 for it to never turn red"] = "Seuil avant que le texte devienne rouge sous forme de décimal. Mettre -1 pour qu'il ne devienne jamais rouge."
L["This will override the global cooldown settings."] = true
L["Threshold before text turns red and is in decimal form. Set to -1 for it to never turn red"] = "Seuil avant que le texte devienne rouge sous forme de décimal. Mettre -1 pour qu'il ne devienne jamais rouge."
L["Toggles the display of the actionbars backdrop."] = "Affiche ou non la couleur de fond de la barre d'action."
L["Transparency level when not in combat, no target exists, full health, not casting, and no focus target exists."] = true
L["Usable"] = "Uilisable"
L["Use Draw Swipe"] = true
L["Use Position Override"] = true
L["Visibility State"] = "État de visibilité"
L["When enabled it will use the Anchor Point setting to determine growth direction, otherwise it will be determined by where the bar is positioned."] = true
......
......@@ -83,6 +83,10 @@ L["Button Spacing"] = "Abstand der Tasten" --Also used in Bags
L["Buttons Per Row"] = "Tasten pro Zeile"
L["Buttons"] = "Tasten"
L["Change the alpha level of the frame."] = "Ändere den Alphakanal des Fensters."
L["Charge Cooldown Text"] = "Zeige Aufladungsabklingzeit"
L["Charge Draw Swipe"] = "Benutze Draw Swipe" --really bad
L["Color Keybind Text when Out of Range, instead of the button."] = "Färbt den Tastaturbelegungstext wen nicht in Reichweite anstatt der Taste."
L["Color Keybind Text"] = "Färbe Tastaturbelegungstext"
L["Color of the actionbutton when not usable."] = "Farbe der Aktionsleisten wenn nicht nutzbar."
L["Color of the actionbutton when out of power (Mana, Rage, Focus, Holy Power)."] = "Die Farbe der Aktionstasten, wenn keine Kraft, wie z.B. Mana, Wut, Fokus oder Heilige Kraft, mehr vorhanden ist."
L["Color of the actionbutton when out of range."] = "Die Farbe der Aktionstasten, wenn das Ziel außer Reichweite ist."
......@@ -95,7 +99,7 @@ L["Color when the text is in the seconds format."] = "Färbe den Text in dieser
L["Cooldown Text"] = "Abklingzeittext"
L["Darken Inactive"] = "Inaktives verdunkeln"
L["Days"] = "Tage"
L["Desaturate On Cooldown"] = "Auf Cooldown entsättigt"
L["Desaturate Cooldowns"] = "Auf Cooldown entsättigt"
L["Display bind names on action buttons."] = "Zeige Tastaturbelegungen auf der Aktionsleiste an."
L["Display cooldown text on anything with the cooldown spiral."] = "Zeige die Abklingzeit auf allen Tasten mit Hilfe iner animierten Spirale."
L["Display macro names on action buttons."] = "Zeige Makronamen auf der Aktionsleiste an."
......@@ -111,12 +115,10 @@ L["Inherit Global Fade"] = "Globales verblassen vererben"
L["Inherit the global fade, mousing over, targetting, setting focus, losing health, entering combat will set the remove transparency. Otherwise it will use the transparency level in the general actionbar settings for global fade alpha."] = "Vererbt das globale Verblassen, mouseover, anvisieren, Focus setzen, Gesundheit verlieren, Kampf betreten wird die Transparenz entfernen. Andernfalls wird das Transparenzlevel, in den allgemeinen Einstellungen der Aktionsleisten, globales verb