actionbar: add translations

This commit is contained in:
shagu
2019-05-01 15:47:29 +02:00
parent c115e97f34
commit 8426d7d7c1
2 changed files with 23 additions and 7 deletions
+5 -5
View File
@@ -981,11 +981,11 @@ pfUI:RegisterModule("actionbar", 20400, function ()
-- Localize custom keybinds for additional actionbars (see Bindings.xml)
local names = {
["PAGING"] = "Paging",
["STANCEONE"] = "Stance 1",
["STANCETWO"] = "Stance 2",
["STANCETHREE"] = "Stance 3",
["STANCEFOUR"] = "Stance 4",
["PAGING"] = T["Paging Actionbar"],
["STANCEONE"] = T["Stance Bar 1"],
["STANCETWO"] = T["Stance Bar 2"],
["STANCETHREE"] = T["Stance Bar 3"],
["STANCEFOUR"] = T["Stance Bar 4"],
}
for name, loc in pairs(names) do
+18 -2
View File
@@ -1727,8 +1727,24 @@ pfUI:RegisterModule("gui", 20400, function ()
end)
-- Shared Actionbar Settings
local barnames = { {1, "Main Actionbar"}, {6, "Top Actionbar"}, {5, "Left Actionbar"}, {3, "Right Actionbar"}, {4, "Vertical Actionbar"},
{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"}
local barnames = {
-- 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