DRYCODE: copy/pasted stance translations from BT3 into locale files using AceLocale-3.0, and first module interface for stances
This commit is contained in:
@@ -127,7 +127,7 @@ function module:GetOptionsTable()
|
||||
name = "Page Swapping",
|
||||
cmdInline = true,
|
||||
order = 2,
|
||||
args = {},
|
||||
args = self:GetStanceOptionsTable(),
|
||||
},
|
||||
align = {
|
||||
-- type = inherited
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
--[[ $Id: ActionBarPrototype.lua 57691 2007-12-30 21:36:55Z nevcairiel $ ]]
|
||||
|
||||
local ActionBar = Bartender4.ActionBar
|
||||
|
||||
local module = Bartender4:GetModule("ActionBars")
|
||||
|
||||
function module:GetStanceOptionsTable()
|
||||
local options = {
|
||||
|
||||
}
|
||||
|
||||
return options
|
||||
end
|
||||
|
||||
function ActionBar:InitStates()
|
||||
|
||||
end
|
||||
@@ -10,6 +10,7 @@
|
||||
## Version: 4.0
|
||||
|
||||
embeds.xml
|
||||
locale\locale.xml
|
||||
|
||||
## Core ##
|
||||
Bartender4.lua
|
||||
@@ -22,3 +23,4 @@ Button.lua
|
||||
## Modules ##
|
||||
ActionBars.lua
|
||||
ActionBarPrototype.lua
|
||||
ActionBarStates.lua
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
--[[ $Id: ActionBarStates.lua 55603 2007-11-21 10:57:34Z helium $ ]]
|
||||
|
||||
local S = LibStub("AceLocale-3.0"):NewLocale("BT4Stances", "deDE")
|
||||
if not S then return end
|
||||
-- warrior
|
||||
S["Battle Stance"] = "Kampfhaltung"
|
||||
S["Defensive Stance"] = "Verteidigungshaltung"
|
||||
S["Berserker Stance"] = "Berserkerhaltung"
|
||||
-- druid
|
||||
S["Bear Form"] = "B\195\164rengestalt"
|
||||
S["Dire Bear Form"] = "Terrorb\195\164rengestalt"
|
||||
S["Cat Form"] = "Katzengestalt"
|
||||
S["Tree of Life"] = "Baum des Lebens"
|
||||
S["Moonkin Form"] = "Mondkingestalt"
|
||||
-- rogue
|
||||
S["Stealth"] = "Verstohlenheit"
|
||||
@@ -0,0 +1,16 @@
|
||||
--[[ $Id: ActionBarStates.lua 55603 2007-11-21 10:57:34Z helium $ ]]
|
||||
|
||||
local S = LibStub("AceLocale-3.0"):NewLocale("BT4Stances", "enUS", true)
|
||||
|
||||
-- warrior
|
||||
S["Battle Stance"] = true
|
||||
S["Defensive Stance"] = true
|
||||
S["Berserker Stance"] = true
|
||||
-- druid
|
||||
S["Bear Form"] = true
|
||||
S["Dire Bear Form"] = true
|
||||
S["Cat Form"] = true
|
||||
S["Tree of Life"] = true
|
||||
S["Moonkin Form"] = true
|
||||
-- rogue
|
||||
S["Stealth"] = true
|
||||
@@ -0,0 +1,16 @@
|
||||
--[[ $Id: ActionBarStates.lua 55603 2007-11-21 10:57:34Z helium $ ]]
|
||||
|
||||
local S = LibStub("AceLocale-3.0"):NewLocale("BT4Stances", "esES")
|
||||
if not S then return end
|
||||
-- warrior
|
||||
S["Battle Stance"] = "Actitud de batalla",
|
||||
S["Defensive Stance"] = "Actitud defensiva",
|
||||
S["Berserker Stance"] = "Actitud rabiosa",
|
||||
-- druid
|
||||
S["Bear Form"] = "Forma de oso",
|
||||
S["Dire Bear Form"] = "Forma de oso temible",
|
||||
S["Cat Form"] = "Forma felina",
|
||||
S["Tree of Life"] = "\195\129rbol de vida",
|
||||
S["Moonkin Form"] = "Forma de lech\195\186cico lunar",
|
||||
-- rogue
|
||||
S["Stealth"] = "Sigilo",
|
||||
@@ -0,0 +1,16 @@
|
||||
--[[ $Id: ActionBarStates.lua 55603 2007-11-21 10:57:34Z helium $ ]]
|
||||
|
||||
local S = LibStub("AceLocale-3.0"):NewLocale("BT4Stances", "frFR")
|
||||
if not S then return end
|
||||
-- warrior
|
||||
S["Battle Stance"] = "Posture de combat"
|
||||
S["Defensive Stance"] = "Posture d\195\169fensive"
|
||||
S["Berserker Stance"] = "Posture berserker"
|
||||
-- druid
|
||||
S["Bear Form"] = "Forme d'ours"
|
||||
S["Dire Bear Form"] = "Forme d'ours redoutable"
|
||||
S["Cat Form"] = "Forme de f\195\169lin"
|
||||
S["Tree of Life"] = "Arbre de vie"
|
||||
S["Moonkin Form"] = "Forme de s\195\169l\195\169nien"
|
||||
-- rogue
|
||||
S["Stealth"] = "Camouflage"
|
||||
@@ -0,0 +1,16 @@
|
||||
--[[ $Id: ActionBarStates.lua 55603 2007-11-21 10:57:34Z helium $ ]]
|
||||
|
||||
local S = LibStub("AceLocale-3.0"):NewLocale("BT4Stances", "koKR")
|
||||
if not S then return end
|
||||
-- warrior
|
||||
S["Battle Stance"] = "전투 태세"
|
||||
S["Defensive Stance"] = "방어 태세"
|
||||
S["Berserker Stance"] = "광폭 태세"
|
||||
-- druid
|
||||
S["Bear Form"] = "곰 변신"
|
||||
S["Dire Bear Form"] = "광포한 곰 변신"
|
||||
S["Cat Form"] = "표범 변신"
|
||||
S["Tree of Life"] = "생명의 나무"
|
||||
S["Moonkin Form"] = "달빛야수 변신"
|
||||
-- rogue
|
||||
S["Stealth"] = "은신"
|
||||
@@ -0,0 +1,10 @@
|
||||
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
||||
..\FrameXML\UI.xsd">
|
||||
<Script file="enUS.lua"/>
|
||||
<Script file="deDE.lua"/>
|
||||
<Script file="frFR.lua"/>
|
||||
<Script file="esES.lua"/>
|
||||
<Script file="zhTW.lua"/>
|
||||
<Script file="zhCN.lua"/>
|
||||
<Script file="koKR.lua"/>
|
||||
</Ui>
|
||||
@@ -0,0 +1,16 @@
|
||||
--[[ $Id: ActionBarStates.lua 55603 2007-11-21 10:57:34Z helium $ ]]
|
||||
|
||||
local S = LibStub("AceLocale-3.0"):NewLocale("BT4Stances", "zhCN")
|
||||
if not S then return end
|
||||
-- warrior
|
||||
S["Battle Stance"] = "战斗姿态"
|
||||
S["Defensive Stance"] = "防御姿态"
|
||||
S["Berserker Stance"] = "狂暴姿态"
|
||||
-- druid
|
||||
S["Bear Form"] = "熊形态"
|
||||
S["Dire Bear Form"] = "巨熊形态"
|
||||
S["Cat Form"] = "猎豹形态"
|
||||
S["Tree of Life"] = "生命之树"
|
||||
S["Moonkin Form"] = "枭兽形态"
|
||||
-- rogue
|
||||
S["Stealth"] = "潜行"
|
||||
@@ -0,0 +1,16 @@
|
||||
--[[ $Id: ActionBarStates.lua 55603 2007-11-21 10:57:34Z helium $ ]]
|
||||
|
||||
local S = LibStub("AceLocale-3.0"):NewLocale("BT4Stances", "zhTW")
|
||||
if not S then return end
|
||||
-- warrior
|
||||
S["Battle Stance"] = "戰鬥姿態"
|
||||
S["Defensive Stance"] = "防禦姿態"
|
||||
S["Berserker Stance"] = "狂暴姿態"
|
||||
-- druid
|
||||
S["Bear Form"] = "熊形態"
|
||||
S["Dire Bear Form"] = "巨熊形態"
|
||||
S["Cat Form"] = "獵豹形態"
|
||||
S["Tree of Life"] = "生命之樹"
|
||||
S["Moonkin Form"] = "梟獸形態"
|
||||
-- rogue
|
||||
S["Stealth"] = "潛行"
|
||||
Reference in New Issue
Block a user