mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-23 20:40:50 +00:00
actionbar: add translations
This commit is contained in:
@@ -981,11 +981,11 @@ pfUI:RegisterModule("actionbar", 20400, function ()
|
|||||||
|
|
||||||
-- Localize custom keybinds for additional actionbars (see Bindings.xml)
|
-- Localize custom keybinds for additional actionbars (see Bindings.xml)
|
||||||
local names = {
|
local names = {
|
||||||
["PAGING"] = "Paging",
|
["PAGING"] = T["Paging Actionbar"],
|
||||||
["STANCEONE"] = "Stance 1",
|
["STANCEONE"] = T["Stance Bar 1"],
|
||||||
["STANCETWO"] = "Stance 2",
|
["STANCETWO"] = T["Stance Bar 2"],
|
||||||
["STANCETHREE"] = "Stance 3",
|
["STANCETHREE"] = T["Stance Bar 3"],
|
||||||
["STANCEFOUR"] = "Stance 4",
|
["STANCEFOUR"] = T["Stance Bar 4"],
|
||||||
}
|
}
|
||||||
|
|
||||||
for name, loc in pairs(names) do
|
for name, loc in pairs(names) do
|
||||||
|
|||||||
+18
-2
@@ -1727,8 +1727,24 @@ pfUI:RegisterModule("gui", 20400, function ()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
-- Shared Actionbar Settings
|
-- Shared Actionbar Settings
|
||||||
local barnames = { {1, "Main Actionbar"}, {6, "Top Actionbar"}, {5, "Left Actionbar"}, {3, "Right Actionbar"}, {4, "Vertical Actionbar"},
|
local barnames = {
|
||||||
{11, "Stance/Shapeshift Bar"}, {12, "Pet Actionbar"}, {2, "Paging Actionbar"}, {7, "Stance Bar 1"}, {8, "Stance Bar 2"}, {9, "Stance Bar 3"}, {10, "Stance Bar 4"}
|
-- default
|
||||||
|
{1, T["Main Actionbar"]},
|
||||||
|
{6, T["Top Actionbar"]},
|
||||||
|
{5, T["Left Actionbar"]},
|
||||||
|
{3, T["Right Actionbar"]},
|
||||||
|
{4, T["Vertical Actionbar"]},
|
||||||
|
|
||||||
|
-- special
|
||||||
|
{2, T["Paging Actionbar"]},
|
||||||
|
{7, T["Stance Bar 1"]},
|
||||||
|
{8, T["Stance Bar 2"]},
|
||||||
|
{9, T["Stance Bar 3"]},
|
||||||
|
{10, T["Stance Bar 4"]},
|
||||||
|
|
||||||
|
-- class
|
||||||
|
{11, T["Shapeshift Bar"]},
|
||||||
|
{12, T["Pet Actionbar"]},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, data in pairs(barnames) do
|
for _, data in pairs(barnames) do
|
||||||
|
|||||||
Reference in New Issue
Block a user