add options to control the new visibility driver

- currently supports: always hide, when possessing a npc, combat/nocombat, pet/nopet, stance:X
This commit is contained in:
Hendrik Leppkes
2008-09-01 15:09:38 +00:00
parent df656280af
commit d12eb849fe
11 changed files with 224 additions and 39 deletions
+27 -3
View File
@@ -20,6 +20,7 @@ local defaults = {
fadeoutdelay = 0.2,
visibility = {
possess = true,
stance = {},
},
}
@@ -139,13 +140,12 @@ function Bar:ApplyConfig(config)
self.config = config
end
if self.disabled then return end
self:InitVisibilityDriver()
self:Lock()
self:LoadPosition()
self:SetConfigScale()
self:SetConfigAlpha()
self:SetFadeOut()
self:ApplyVisibilityDriver()
self:InitVisibilityDriver()
end
function Bar:Unlock()
@@ -284,7 +284,7 @@ local directVisCond = {
pet = true,
nopet = true,
combat = true,
nocomat = true,
nocombat = true,
mounted = true,
}
function Bar:InitVisibilityDriver()
@@ -299,12 +299,19 @@ function Bar:InitVisibilityDriver()
table_insert(self.hidedriver, "[bonusbar:5]hide")
elseif directVisCond[key] then
table_insert(self.hidedriver, ("[%s]hide"):format(key))
elseif key == "stance" then
for k,v in pairs(value) do
if v then
table_insert(self.hidedriver, ("[stance:%d]hide"):format(k))
end
end
else
Bartender4:Print("Invalid visibility state: "..key)
end
end
end
table_insert(self.hidedriver, "show")
self:ApplyVisibilityDriver()
end
function Bar:ApplyVisibilityDriver()
@@ -319,6 +326,23 @@ function Bar:DisableVisibilityDriver()
self:Show()
end
function Bar:GetVisibilityOption(option, index)
if option == "stance" then
return self.config.visibility.stance[index]
else
return self.config.visibility[option]
end
end
function Bar:SetVisibilityOption(option, value, arg)
if option == "stance" then
self.config.visibility.stance[value] = arg
else
self.config.visibility[option] = value
end
self:InitVisibilityDriver()
end
function Bar:Enable()
if not self.disabled then return end
self.disabled = nil
+1 -1
View File
@@ -72,7 +72,7 @@ local function createOptionGroup(k, id)
type = "select",
arg = "stance",
values = validStanceTable,
name = module.DefaultStanceMap[playerclass][k].name,
name = Bartender4.StanceMap[playerclass][k].name,
}
return tbl
end
+84 -2
View File
@@ -9,7 +9,7 @@ local Bar = Bartender4.Bar.prototype
local barregistry = Bartender4.Bar.barregistry
-- option utilty functions
local optGetter, optSetter
local optGetter, optSetter, visibilityGetter, visibilitySetter
do
local getBar, optionMap, callFunc
-- maps option keys to function names
@@ -48,6 +48,28 @@ do
local option = info[#info]
return callFunc(bar, "Set", option, ...)
end
function visibilityGetter(info, ...)
local bar = getBar(info[2])
local option = info[#info]
return bar:GetVisibilityOption(option, ...)
end
function visibilitySetter(info, ...)
local bar = getBar(info[2])
local option = info[#info]
bar:SetVisibilityOption(option, ...)
end
end
local function getStanceTable()
local num = GetNumShapeshiftForms()
local tbl = {}
for i = 1, num do
tbl[i] = select(2, GetShapeshiftFormInfo(i))
end
return tbl
end
local options
@@ -113,11 +135,71 @@ function Bar:GetOptionObject()
},
},
},
visibility = {
type = "group",
name = L["Visibility"],
order = 2,
get = visibilityGetter,
set = visibilitySetter,
args = {
info = {
order = 1,
type = "description",
name = L["The bar default is to be visible all the time, you can configure conditions here to control when the bar should be hidden."] .. "\n",
},
always = {
order = 10,
type = "toggle",
name = L["Always Hide"],
desc = L["You can set the bar to be always hidden, if you only wish to access it using key-bindings."],
width = "full",
},
possess = {
order = 15,
type = "toggle",
name = L["Hide when Possessing"],
desc = L["Hide this bar when you are possessing a NPC."],
width = "full",
},
combat = {
order = 20,
type = "toggle",
name = L["Hide in Combat"],
desc = L["This bar will be hidden once you enter combat."],
},
nocombat = {
order = 21,
type = "toggle",
name = L["Hide out of Combat"],
desc = L["This bar will be hidden whenever you are not in combat."],
},
pet = {
order = 30,
type = "toggle",
name = L["Hide with pet"],
desc = L["Hide this bar when you have a pet."],
},
nopet = {
order = 31,
type = "toggle",
name = L["Hide without pet"],
desc = L["Hide this bar when you have no pet."],
},
stance = {
order = 50,
type = "multiselect",
name = L["Hide in Stance/Form"],
desc = L["Hide this bar in a specific Stance or Form."],
values = getStanceTable,
hidden = function() return (GetNumShapeshiftForms() < 1) end,
},
},
},
align = {
type = "group",
cmdInline = true,
name = L["Alignment"],
order = 10,
order = 20,
args = {
info = {
order = 1,
+14 -4
View File
@@ -8,7 +8,6 @@ if not L then return end
-- L["Alignment"] = true
-- L["Alpha"] = true
-- L["Always Hide"] = true
-- L["Always Show"] = true
-- L["Auto-Assist"] = true
-- L["Bag Bar"] = true
-- L["Bar %s"] = true
@@ -32,7 +31,6 @@ if not L then return end
-- L["Configure the alpha of the bar."] = true
-- L["Configure the padding of the buttons."] = true
-- L["Configure the scale of the bar."] = true
-- L["Configure when to Show/Hide the bar."] = true
-- L["Default Bar State"] = true
-- L["Disabled"] = true
-- L["Disabled in Combat"] = true
@@ -56,8 +54,17 @@ if not L then return end
-- L["Hide Hotkey"] = true
-- L["Hide Macro Text"] = true
-- L["Hide in Combat"] = true
-- L["Hide in Stance/Form"] = true
-- L["Hide out of Combat"] = true
-- L["Hide the Hotkey on the buttons of this bar."] = true
-- L["Hide the Macro Text on the buttons of this bar."] = true
-- L["Hide this bar in a specific Stance or Form."] = true
-- L["Hide this bar when you are possessing a NPC."] = true
-- L["Hide this bar when you have a pet."] = true
-- L["Hide this bar when you have no pet."] = true
-- L["Hide when Possessing"] = true
-- L["Hide with pet"] = true
-- L["Hide without pet"] = true
-- L["Hotkey Mode"] = true
-- L["Keyring"] = true
-- L["Lock"] = true
@@ -80,9 +87,7 @@ if not L then return end
-- L["SHIFT"] = true
-- L["Scale"] = true
-- L["Self-Cast by modifier"] = true
-- L["Show in Combat"] = true
-- L["Show the keyring button."] = true
-- L["Show/Hide"] = true
-- L["Specify the Color of the Out of Mana Indicator"] = true
-- L["Specify the Color of the Out of Range Indicator"] = true
-- L["Stance Bar"] = true
@@ -90,9 +95,14 @@ if not L then return end
-- L["State Configuration"] = true
-- L["Switch this bar to the Possess Bar when possessing a npc (eg. Mind Control)"] = true
-- L["The Alignment menu is still on the TODO.\n\nAs a quick preview of whats planned:\n\n\t- Absolute and relative Bar Positioning\n\t- Bars \"snapping\" together and building clusters"] = true
-- L["The bar default is to be visible all the time, you can configure conditions here to control when the bar should be hidden."] = true
-- L["The default behaviour of this bar when no state-based paging option affects it."] = true
-- L["This bar will be hidden once you enter combat."] = true
-- L["This bar will be hidden whenever you are not in combat."] = true
-- L["Toggle Button Zoom\nFor more style options you need to install ButtonFacade"] = true
-- L["Toggle the button grid."] = true
-- L["Toggle the use of the modifier-based self-cast functionality."] = true
-- L["Toggle the use of the right-click self-cast functionality."] = true
-- L["Visibility"] = true
-- L["You can set the bar to be always hidden, if you only wish to access it using key-bindings."] = true
-- L["Zoom"] = true
+14 -4
View File
@@ -8,7 +8,6 @@ L["ActionBar Switching"] = true
L["Alignment"] = true
L["Alpha"] = true
L["Always Hide"] = true
L["Always Show"] = true
L["Auto-Assist"] = true
L["Bag Bar"] = true
L["Bar %s"] = true
@@ -32,7 +31,6 @@ L["Configure the Pet Bar"] = true
L["Configure the alpha of the bar."] = true
L["Configure the padding of the buttons."] = true
L["Configure the scale of the bar."] = true
L["Configure when to Show/Hide the bar."] = true
L["Default Bar State"] = true
L["Disabled"] = true
L["Disabled in Combat"] = true
@@ -56,8 +54,17 @@ L["General Settings"] = true
L["Hide Hotkey"] = true
L["Hide Macro Text"] = true
L["Hide in Combat"] = true
L["Hide in Stance/Form"] = true
L["Hide out of Combat"] = true
L["Hide the Hotkey on the buttons of this bar."] = true
L["Hide the Macro Text on the buttons of this bar."] = true
L["Hide this bar in a specific Stance or Form."] = true
L["Hide this bar when you are possessing a NPC."] = true
L["Hide this bar when you have a pet."] = true
L["Hide this bar when you have no pet."] = true
L["Hide when Possessing"] = true
L["Hide with pet"] = true
L["Hide without pet"] = true
L["Hotkey Mode"] = true
L["Keyring"] = true
L["Lock"] = true
@@ -80,9 +87,7 @@ L["Rows"] = true
L["SHIFT"] = true
L["Scale"] = true
L["Self-Cast by modifier"] = true
L["Show in Combat"] = true
L["Show the keyring button."] = true
L["Show/Hide"] = true
L["Specify the Color of the Out of Mana Indicator"] = true
L["Specify the Color of the Out of Range Indicator"] = true
L["Stance Bar"] = true
@@ -90,9 +95,14 @@ L["Stance Configuration"] = true
L["State Configuration"] = true
L["Switch this bar to the Possess Bar when possessing a npc (eg. Mind Control)"] = true
L["The Alignment menu is still on the TODO.\n\nAs a quick preview of whats planned:\n\n\t- Absolute and relative Bar Positioning\n\t- Bars \"snapping\" together and building clusters"] = true
L["The bar default is to be visible all the time, you can configure conditions here to control when the bar should be hidden."] = true
L["The default behaviour of this bar when no state-based paging option affects it."] = true
L["This bar will be hidden once you enter combat."] = true
L["This bar will be hidden whenever you are not in combat."] = true
L["Toggle Button Zoom\nFor more style options you need to install ButtonFacade"] = true
L["Toggle the button grid."] = true
L["Toggle the use of the modifier-based self-cast functionality."] = true
L["Toggle the use of the right-click self-cast functionality."] = true
L["Visibility"] = true
L["You can set the bar to be always hidden, if you only wish to access it using key-bindings."] = true
L["Zoom"] = true
+14 -4
View File
@@ -8,7 +8,6 @@ if not L then return end
-- L["Alignment"] = true
-- L["Alpha"] = true
-- L["Always Hide"] = true
-- L["Always Show"] = true
-- L["Auto-Assist"] = true
-- L["Bag Bar"] = true
-- L["Bar %s"] = true
@@ -32,7 +31,6 @@ if not L then return end
-- L["Configure the alpha of the bar."] = true
-- L["Configure the padding of the buttons."] = true
-- L["Configure the scale of the bar."] = true
-- L["Configure when to Show/Hide the bar."] = true
-- L["Default Bar State"] = true
-- L["Disabled"] = true
-- L["Disabled in Combat"] = true
@@ -56,8 +54,17 @@ if not L then return end
-- L["Hide Hotkey"] = true
-- L["Hide Macro Text"] = true
-- L["Hide in Combat"] = true
-- L["Hide in Stance/Form"] = true
-- L["Hide out of Combat"] = true
-- L["Hide the Hotkey on the buttons of this bar."] = true
-- L["Hide the Macro Text on the buttons of this bar."] = true
-- L["Hide this bar in a specific Stance or Form."] = true
-- L["Hide this bar when you are possessing a NPC."] = true
-- L["Hide this bar when you have a pet."] = true
-- L["Hide this bar when you have no pet."] = true
-- L["Hide when Possessing"] = true
-- L["Hide with pet"] = true
-- L["Hide without pet"] = true
-- L["Hotkey Mode"] = true
-- L["Keyring"] = true
-- L["Lock"] = true
@@ -80,9 +87,7 @@ if not L then return end
-- L["SHIFT"] = true
-- L["Scale"] = true
-- L["Self-Cast by modifier"] = true
-- L["Show in Combat"] = true
-- L["Show the keyring button."] = true
-- L["Show/Hide"] = true
-- L["Specify the Color of the Out of Mana Indicator"] = true
-- L["Specify the Color of the Out of Range Indicator"] = true
-- L["Stance Bar"] = true
@@ -90,9 +95,14 @@ if not L then return end
-- L["State Configuration"] = true
-- L["Switch this bar to the Possess Bar when possessing a npc (eg. Mind Control)"] = true
-- L["The Alignment menu is still on the TODO.\n\nAs a quick preview of whats planned:\n\n\t- Absolute and relative Bar Positioning\n\t- Bars \"snapping\" together and building clusters"] = true
-- L["The bar default is to be visible all the time, you can configure conditions here to control when the bar should be hidden."] = true
-- L["The default behaviour of this bar when no state-based paging option affects it."] = true
-- L["This bar will be hidden once you enter combat."] = true
-- L["This bar will be hidden whenever you are not in combat."] = true
-- L["Toggle Button Zoom\nFor more style options you need to install ButtonFacade"] = true
-- L["Toggle the button grid."] = true
-- L["Toggle the use of the modifier-based self-cast functionality."] = true
-- L["Toggle the use of the right-click self-cast functionality."] = true
-- L["Visibility"] = true
-- L["You can set the bar to be always hidden, if you only wish to access it using key-bindings."] = true
-- L["Zoom"] = true
+14 -4
View File
@@ -8,7 +8,6 @@ L["ActionBar Switching"] = "Permutations du jeu"
L["Alignment"] = "Alignement"
L["Alpha"] = "Transparence"
L["Always Hide"] = "Toujours masquer"
L["Always Show"] = "Toujours afficher"
L["Auto-Assist"] = "Soutien"
L["Bag Bar"] = "Barre des sacs"
L["Bar %s"] = "%s|4ère:ème; barre"
@@ -32,7 +31,6 @@ L["Configure the Pet Bar"] = "Configure la barre du familier."
L["Configure the alpha of the bar."] = "Configure la transparence de la barre."
L["Configure the padding of the buttons."] = "Configure l'espacement entre les boutons."
L["Configure the scale of the bar."] = "Configure l'échelle de la barre."
L["Configure when to Show/Hide the bar."] = "Configure quand Afficher/Masquer la barre."
L["Default Bar State"] = "État par défaut de la barre"
L["Disabled"] = "Désactivée"
L["Disabled in Combat"] = "Désactivée en combat"
@@ -56,8 +54,17 @@ L["General Settings"] = "Paramètres généraux"
L["Hide Hotkey"] = "Masquer les raccourcis"
L["Hide Macro Text"] = "Masquer texte macros"
L["Hide in Combat"] = "Masquer en combat"
-- L["Hide in Stance/Form"] = true
-- L["Hide out of Combat"] = true
L["Hide the Hotkey on the buttons of this bar."] = "Masque les raccourcis clavier des boutons de cette barre."
L["Hide the Macro Text on the buttons of this bar."] = "Masque le texte des macros des boutons de cette barre."
-- L["Hide this bar in a specific Stance or Form."] = true
-- L["Hide this bar when you are possessing a NPC."] = true
-- L["Hide this bar when you have a pet."] = true
-- L["Hide this bar when you have no pet."] = true
-- L["Hide when Possessing"] = true
-- L["Hide with pet"] = true
-- L["Hide without pet"] = true
L["Hotkey Mode"] = "Mode Raccourci"
L["Keyring"] = "Trousseau de clés"
L["Lock"] = "Verrouiller"
@@ -80,9 +87,7 @@ L["Rows"] = "Rangées"
L["SHIFT"] = "SHIFT"
L["Scale"] = "Échelle"
L["Self-Cast by modifier"] = "Ciblage auto. modific."
L["Show in Combat"] = "Afficher en combat"
L["Show the keyring button."] = "Affiche le bouton du trousseau de clés."
L["Show/Hide"] = "Afficher/Masquer"
L["Specify the Color of the Out of Mana Indicator"] = "Spécifie la couleur de l'indicateur Plus de mana."
L["Specify the Color of the Out of Range Indicator"] = "Spécifie la couleur de l'indicateur Hors de portée."
L["Stance Bar"] = "Barre des postures"
@@ -90,9 +95,14 @@ L["Stance Configuration"] = "Configuration des postures"
L["State Configuration"] = "Configuration des états"
L["Switch this bar to the Possess Bar when possessing a npc (eg. Mind Control)"] = "Permute cette barre vers la barre de posssession lors du contrôle d'un PNJ (par ex. avec Contrôle mental)."
L["The Alignment menu is still on the TODO.\n\nAs a quick preview of whats planned:\n\n\t- Absolute and relative Bar Positioning\n\t- Bars \"snapping\" together and building clusters"] = "Le menu Alignement est toujours sur la liste des choses à faire.\n\nVoici un bref aperçu de ce qui est prévu :\n\n\t- Positionnement absolu et relatif des barres\n\t- Barres \"collées\" les unes contre les autres et la construction de groupes"
-- L["The bar default is to be visible all the time, you can configure conditions here to control when the bar should be hidden."] = true
L["The default behaviour of this bar when no state-based paging option affects it."] = "Le comportement par défaut de cette barre quand les options de permutation basés sur les états ne l'affecte pas."
-- L["This bar will be hidden once you enter combat."] = true
-- L["This bar will be hidden whenever you are not in combat."] = true
L["Toggle Button Zoom\nFor more style options you need to install ButtonFacade"] = "Zoome ou non sur les boutons.\nPour plus d'options de style, installez ButtonFacade."
L["Toggle the button grid."] = "Affiche ou non la grille des boutons."
L["Toggle the use of the modifier-based self-cast functionality."] = "Utilise ou non la fonctionnalité de ciblage auto. basé sur les modificateurs."
L["Toggle the use of the right-click self-cast functionality."] = "Utilise ou non la fonctionnalité de ciblage auto. au clic droit."
-- L["Visibility"] = true
-- L["You can set the bar to be always hidden, if you only wish to access it using key-bindings."] = true
L["Zoom"] = "Zoom"
+14 -4
View File
@@ -8,7 +8,6 @@ L["ActionBar Switching"] = "행동바 교체"
L["Alignment"] = "정렬"
L["Alpha"] = "투명도"
L["Always Hide"] = "항상 숨기기"
L["Always Show"] = "항상 보이기"
L["Auto-Assist"] = "자동-지원"
L["Bag Bar"] = "가방 바"
L["Bar %s"] = "바 %s"
@@ -32,7 +31,6 @@ L["Configure the Pet Bar"] = "소환수 바 설정"
L["Configure the alpha of the bar."] = "바의 투명도를 변경합니다."
L["Configure the padding of the buttons."] = "버튼 간격을 변경합니다."
L["Configure the scale of the bar."] = "바의 크기를 변경합니다."
L["Configure when to Show/Hide the bar."] = "바를 보이거나 숨기기 위한 경우를 설정합니다."
L["Default Bar State"] = "기본 바 형세"
L["Disabled"] = "비활성화"
L["Disabled in Combat"] = "전투중 비활성화"
@@ -56,8 +54,17 @@ L["General Settings"] = "일반 설정"
L["Hide Hotkey"] = "단축키 숨기기"
L["Hide Macro Text"] = "매크로 문자 숨기기"
L["Hide in Combat"] = "전투중 숨기기"
-- L["Hide in Stance/Form"] = true
-- L["Hide out of Combat"] = true
L["Hide the Hotkey on the buttons of this bar."] = "이 바의 버튼에 단축키 문자를 숨김니다."
L["Hide the Macro Text on the buttons of this bar."] = "이 바의 버튼에 매크로 문자를 숨김니다."
-- L["Hide this bar in a specific Stance or Form."] = true
-- L["Hide this bar when you are possessing a NPC."] = true
-- L["Hide this bar when you have a pet."] = true
-- L["Hide this bar when you have no pet."] = true
-- L["Hide when Possessing"] = true
-- L["Hide with pet"] = true
-- L["Hide without pet"] = true
L["Hotkey Mode"] = "단축키 모드"
L["Keyring"] = "열쇠 고리"
L["Lock"] = "고정"
@@ -80,9 +87,7 @@ L["Rows"] = "열"
L["SHIFT"] = "SHIFT"
L["Scale"] = "크기"
L["Self-Cast by modifier"] = "기능키에 의한 자신-시전"
L["Show in Combat"] = "전투중 표시"
L["Show the keyring button."] = "열쇠 고리 버튼을 표시합니다."
L["Show/Hide"] = "표시/숨김"
L["Specify the Color of the Out of Mana Indicator"] = "마나 부족 지시기의 색상을 지정합니다."
L["Specify the Color of the Out of Range Indicator"] = "사정 거리밖 지시기의 색상을 지정합니다."
L["Stance Bar"] = "태세바"
@@ -90,9 +95,14 @@ L["Stance Configuration"] = "태세 설정"
L["State Configuration"] = "상태 설정"
L["Switch this bar to the Possess Bar when possessing a npc (eg. Mind Control)"] = "npc를 지배중인 경우에 지배바로 이 바를 교체합니다. (예: 정신 지배)"
L["The Alignment menu is still on the TODO.\n\nAs a quick preview of whats planned:\n\n\t- Absolute and relative Bar Positioning\n\t- Bars \"snapping\" together and building clusters"] = "현재 바 정렬 옵션은 미구현되어 있습니다."
-- L["The bar default is to be visible all the time, you can configure conditions here to control when the bar should be hidden."] = true
L["The default behaviour of this bar when no state-based paging option affects it."] = "형세-기반에 근거한 페이지 교체 옵션에 영향을 미치지 않는 경우에 이 바의 기본 동작을 설정합니다."
-- L["This bar will be hidden once you enter combat."] = true
-- L["This bar will be hidden whenever you are not in combat."] = true
L["Toggle Button Zoom\nFor more style options you need to install ButtonFacade"] = "버튼 확대를 전환합니다. /n보다 더 많은 양식 옵션을 위해서는 애드온 ButtonFacade의 설치가 필요합니다."
L["Toggle the button grid."] = "버튼 무늬를 전환합니다."
L["Toggle the use of the modifier-based self-cast functionality."] = "기능키-기반 자신에게 시전 기능의 사용을 전환합니다."
L["Toggle the use of the right-click self-cast functionality."] = "우-클릭시 자신에게 시전 기능의 사용을 전환합니다."
-- L["Visibility"] = true
-- L["You can set the bar to be always hidden, if you only wish to access it using key-bindings."] = true
L["Zoom"] = "확대"
+14 -5
View File
@@ -1,6 +1,5 @@
--[[ $Id$ ]]
-- Please make sure to save the file as UTF-8, BUT WITHOUT THE UTF-8 BOM HEADER; ¶
-- Translated by Eritnull ( StingerSoft aka Шептун) & Alekc
local L = LibStub("AceLocale-3.0"):NewLocale("Bartender4", "ruRU")
if not L then return end
@@ -9,7 +8,6 @@ L["ActionBar Switching"] = "Переключение панелей"
L["Alignment"] = "Регулировка"
L["Alpha"] = "Прозрачность"
L["Always Hide"] = "Всегда Скрывать"
L["Always Show"] = "Всегда Показывать"
L["Auto-Assist"] = "Авто-Помощь"
L["Bag Bar"] = "Панель Сумок"
L["Bar %s"] = "Панель №%s"
@@ -33,7 +31,6 @@ L["Configure the Pet Bar"] = "Настройка панели питомца"
L["Configure the alpha of the bar."] = "Настройка степени прозрачности панели (1 - непрозрачная)."
L["Configure the padding of the buttons."] = "Настройка ширины промежутков между кнопками."
L["Configure the scale of the bar."] = "Настройка масштаба панели"
L["Configure when to Show/Hide the bar."] = "Выберите когда необходимо отображать/скрывать данную панель."
L["Default Bar State"] = "Состояние по-умолчанию"
L["Disabled"] = "Отключено"
L["Disabled in Combat"] = "Отключать в бою"
@@ -57,8 +54,17 @@ L["General Settings"] = "Основные параметры"
L["Hide Hotkey"] = "Скрыть горячие клавиши"
L["Hide Macro Text"] = "Скрывать макросы"
L["Hide in Combat"] = "Скрывать в бою"
-- L["Hide in Stance/Form"] = true
-- L["Hide out of Combat"] = true
L["Hide the Hotkey on the buttons of this bar."] = "Не отображать сочетания клавиш на кнопках этой панели."
L["Hide the Macro Text on the buttons of this bar."] = "Не отображать текст/название макросов на кнопках этой панели."
-- L["Hide this bar in a specific Stance or Form."] = true
-- L["Hide this bar when you are possessing a NPC."] = true
-- L["Hide this bar when you have a pet."] = true
-- L["Hide this bar when you have no pet."] = true
-- L["Hide when Possessing"] = true
-- L["Hide with pet"] = true
-- L["Hide without pet"] = true
L["Hotkey Mode"] = "Использовать ярлык"
L["Keyring"] = "Связка ключей"
L["Lock"] = "Блокировка"
@@ -81,9 +87,7 @@ L["Rows"] = "Строки"
L["SHIFT"] = "SHIFT"
L["Scale"] = "Масштаб"
L["Self-Cast by modifier"] = "Чтение на себя по умолчанию"
L["Show in Combat"] = "Отображать в бою"
L["Show the keyring button."] = "Показывать кнопку для связки ключей"
L["Show/Hide"] = "Показать/Скрыть"
L["Specify the Color of the Out of Mana Indicator"] = "Выберите цвет для индикации нехватки маны"
L["Specify the Color of the Out of Range Indicator"] = "Выберите цвет для индикации 'Вне Зоны'"
L["Stance Bar"] = "Панель стоек"
@@ -91,9 +95,14 @@ L["Stance Configuration"] = "Настройка стоек"
L["State Configuration"] = "Настройка состояния"
L["Switch this bar to the Possess Bar when possessing a npc (eg. Mind Control)"] = "Переключать эту панель на панель контроля, когда вы контрлируете NPC (например 'Контроль Разума')"
L["The Alignment menu is still on the TODO.\n\nAs a quick preview of whats planned:\n\n\t- Absolute and relative Bar Positioning\n\t- Bars \"snapping\" together and building clusters"] = "Настройки выравнивания все еще в разработке.\n\nВ качестве информации, планируется:\n\n\t- Абсолютное и относительное позиционирование панелей\n\t- Панели 'прилипающие' друг к другу и создание кластеров"
-- L["The bar default is to be visible all the time, you can configure conditions here to control when the bar should be hidden."] = true
L["The default behaviour of this bar when no state-based paging option affects it."] = "Поведение данной панели когда она не попадает под какие-либо другие модификаторы состояния."
-- L["This bar will be hidden once you enter combat."] = true
-- L["This bar will be hidden whenever you are not in combat."] = true
L["Toggle Button Zoom\nFor more style options you need to install ButtonFacade"] = "Переключение увеличения кнопок\nДля дополнительных стилей и настроек необходимо установить ButtonFacade"
L["Toggle the button grid."] = "Переключение отображения пустых кнопок."
L["Toggle the use of the modifier-based self-cast functionality."] = "Переключение использования функции Чтение на себя по умолчанию."
L["Toggle the use of the right-click self-cast functionality."] = "Переключение использования функции ПКМ Чтение на себя."
-- L["Visibility"] = true
-- L["You can set the bar to be always hidden, if you only wish to access it using key-bindings."] = true
L["Zoom"] = "Увеличение"
+14 -4
View File
@@ -8,7 +8,6 @@ L["ActionBar Switching"] = "切换动作条"
L["Alignment"] = "对齐"
L["Alpha"] = "透明度"
L["Always Hide"] = "始终隐藏"
L["Always Show"] = "始终显示"
L["Auto-Assist"] = "自动协助"
L["Bag Bar"] = "背包栏"
L["Bar %s"] = "动作条 %s"
@@ -32,7 +31,6 @@ L["Configure the Pet Bar"] = "配置宠物栏"
L["Configure the alpha of the bar."] = "设置动作条的透明度。"
L["Configure the padding of the buttons."] = "配置按钮之间的距离"
L["Configure the scale of the bar."] = "设置动作条缩放。"
L["Configure when to Show/Hide the bar."] = "配置何时显示/隐藏动作条。"
L["Default Bar State"] = "默认动作条状态"
L["Disabled"] = "关闭"
L["Disabled in Combat"] = "战斗中关闭"
@@ -56,8 +54,17 @@ L["General Settings"] = "一般设置"
L["Hide Hotkey"] = "隐藏快捷键"
L["Hide Macro Text"] = "隐藏宏名称"
L["Hide in Combat"] = "战斗中隐藏"
-- L["Hide in Stance/Form"] = true
-- L["Hide out of Combat"] = true
L["Hide the Hotkey on the buttons of this bar."] = "在该动作条上不显示按钮的快捷键提示。"
L["Hide the Macro Text on the buttons of this bar."] = "在该动作条上不显示宏的名称。"
-- L["Hide this bar in a specific Stance or Form."] = true
-- L["Hide this bar when you are possessing a NPC."] = true
-- L["Hide this bar when you have a pet."] = true
-- L["Hide this bar when you have no pet."] = true
-- L["Hide when Possessing"] = true
-- L["Hide with pet"] = true
-- L["Hide without pet"] = true
L["Hotkey Mode"] = "快捷键模式"
L["Keyring"] = "钥匙链"
L["Lock"] = "锁定"
@@ -80,9 +87,7 @@ L["Rows"] = "行"
L["SHIFT"] = "按下SHIFT"
L["Scale"] = "缩放"
L["Self-Cast by modifier"] = "自我施法"
L["Show in Combat"] = "战斗中显示"
L["Show the keyring button."] = "显示钥匙链"
L["Show/Hide"] = "显示/隐藏"
L["Specify the Color of the Out of Mana Indicator"] = "设置法力不足的标识颜色"
L["Specify the Color of the Out of Range Indicator"] = "设置射程之外的标识颜色"
L["Stance Bar"] = "姿态栏"
@@ -90,9 +95,14 @@ L["Stance Configuration"] = "姿态配置"
L["State Configuration"] = "状态配置"
L["Switch this bar to the Possess Bar when possessing a npc (eg. Mind Control)"] = "当控制某个NPC时切换该动作条至控制技能栏。(例如心灵控制)"
L["The Alignment menu is still on the TODO.\n\nAs a quick preview of whats planned:\n\n\t- Absolute and relative Bar Positioning\n\t- Bars \"snapping\" together and building clusters"] = "该部分功能尚未完成"
-- L["The bar default is to be visible all the time, you can configure conditions here to control when the bar should be hidden."] = true
L["The default behaviour of this bar when no state-based paging option affects it."] = "当没有状态配置作用于该动作条时的动作条默认行为"
-- L["This bar will be hidden once you enter combat."] = true
-- L["This bar will be hidden whenever you are not in combat."] = true
L["Toggle Button Zoom\nFor more style options you need to install ButtonFacade"] = "开启/关闭 按钮缩放\n若需要进一步改变按钮风格,您需要安装插件ButtonFacade"
L["Toggle the button grid."] = "勾选该选项将显示空的按钮。"
L["Toggle the use of the modifier-based self-cast functionality."] = "关闭/开启 自我施法功能。"
L["Toggle the use of the right-click self-cast functionality."] = "关闭/开启 使用右键点击对自己施法功能。"
-- L["Visibility"] = true
-- L["You can set the bar to be always hidden, if you only wish to access it using key-bindings."] = true
L["Zoom"] = "缩放"
+14 -4
View File
@@ -8,7 +8,6 @@ L["ActionBar Switching"] = "切換動作條"
L["Alignment"] = "對齊"
L["Alpha"] = "透明度"
L["Always Hide"] = "總是隱藏"
L["Always Show"] = "總是顯示"
L["Auto-Assist"] = "自動協助"
L["Bag Bar"] = "背包列"
L["Bar %s"] = "動作條 %s"
@@ -32,7 +31,6 @@ L["Configure the Pet Bar"] = "設定寵物列"
L["Configure the alpha of the bar."] = "設定動作條透明度"
L["Configure the padding of the buttons."] = "設定按鈕間距"
L["Configure the scale of the bar."] = "設定動作條大小"
L["Configure when to Show/Hide the bar."] = "設定何時顯示/隱藏動作條"
L["Default Bar State"] = "預設動作條狀態"
L["Disabled"] = "關閉"
L["Disabled in Combat"] = "戰鬥中關閉"
@@ -56,8 +54,17 @@ L["General Settings"] = "一般設定"
L["Hide Hotkey"] = "隱藏熱鍵"
L["Hide Macro Text"] = "隱藏巨集文字"
L["Hide in Combat"] = "戰鬥中隱藏"
-- L["Hide in Stance/Form"] = true
-- L["Hide out of Combat"] = true
L["Hide the Hotkey on the buttons of this bar."] = "隱藏這個動作條的熱鍵文字"
L["Hide the Macro Text on the buttons of this bar."] = "隱藏這個動作條的巨集名稱"
-- L["Hide this bar in a specific Stance or Form."] = true
-- L["Hide this bar when you are possessing a NPC."] = true
-- L["Hide this bar when you have a pet."] = true
-- L["Hide this bar when you have no pet."] = true
-- L["Hide when Possessing"] = true
-- L["Hide with pet"] = true
-- L["Hide without pet"] = true
L["Hotkey Mode"] = "熱鍵模式"
L["Keyring"] = "鑰匙圈"
L["Lock"] = "鎖定"
@@ -80,9 +87,7 @@ L["Rows"] = "行"
L["SHIFT"] = "SHIFT"
L["Scale"] = "大小"
L["Self-Cast by modifier"] = "自我施法"
L["Show in Combat"] = "戰鬥中顯示"
L["Show the keyring button."] = "顯示鑰匙圈按鈕"
L["Show/Hide"] = "顯示/隱藏"
L["Specify the Color of the Out of Mana Indicator"] = "指定法力不足提示的顏色"
L["Specify the Color of the Out of Range Indicator"] = "指定超出距離提示的顏色"
L["Stance Bar"] = "姿勢列"
@@ -90,9 +95,14 @@ L["Stance Configuration"] = "姿勢設定"
L["State Configuration"] = "狀態設定"
L["Switch this bar to the Possess Bar when possessing a npc (eg. Mind Control)"] = "當控制一個NPC時切換此動作條為控制條(eg. 心靈控制)"
L["The Alignment menu is still on the TODO.\n\nAs a quick preview of whats planned:\n\n\t- Absolute and relative Bar Positioning\n\t- Bars \"snapping\" together and building clusters"] = "對齊選單還在趕工進行中"
-- L["The bar default is to be visible all the time, you can configure conditions here to control when the bar should be hidden."] = true
L["The default behaviour of this bar when no state-based paging option affects it."] = "沒有狀態設定於動作條為此動作條預設行為"
-- L["This bar will be hidden once you enter combat."] = true
-- L["This bar will be hidden whenever you are not in combat."] = true
L["Toggle Button Zoom\nFor more style options you need to install ButtonFacade"] = "切換按鈕放大/n 如需更多風格的按鈕你需要安裝 ButtonFacade"
L["Toggle the button grid."] = "顯示空白按鈕"
L["Toggle the use of the modifier-based self-cast functionality."] = "切換使用自我施法功能"
L["Toggle the use of the right-click self-cast functionality."] = "切換使用右鍵自我施法功能"
-- L["Visibility"] = true
-- L["You can set the bar to be always hidden, if you only wish to access it using key-bindings."] = true
L["Zoom"] = "放大"