translations: add new translation strings

This commit is contained in:
shagu
2018-08-23 22:13:30 +02:00
parent eefba7f6a1
commit 061ec1e72f
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -116,8 +116,8 @@ pfUI:RegisterModule("addons", function ()
-- addon profiles
pfUI.addons.profile = CreateFrame("Frame", "pfAddonListProfile", pfUI.addons)
pfUI.addons.profile:SetScript("OnShow", function()
pfUI_addon_profiles["Current"] = GetSelectedAddonsList()
UIDropDownMenu_SetText("Current", pfUI.addons.profile.dropdown)
pfUI_addon_profiles[T["Current"]] = GetSelectedAddonsList()
UIDropDownMenu_SetText(T["Current"], pfUI.addons.profile.dropdown)
end)
pfUI.addons.profile:SetPoint("TOP", pfUI.addons, "TOP", 0, -34)
@@ -190,7 +190,7 @@ pfUI:RegisterModule("addons", function ()
if profile_name then
CreateQuestionDialog(T["Delete profile"] .. " '|cff33ffcc" .. profile_name .. "|r'?", function()
pfUI_addon_profiles[profile_name] = nil
SetAddonProfile("Current")
SetAddonProfile(T["Current"])
end)
end
end)
@@ -270,7 +270,7 @@ pfUI:RegisterModule("addons", function ()
DisableAddOn(this:GetID())
end
pfUI.addons.hasChanged = true
local profile_name = UIDropDownMenu_GetText(pfUI.addons.profile.dropdown) or "Current"
local profile_name = UIDropDownMenu_GetText(pfUI.addons.profile.dropdown) or T["Current"]
pfUI_addon_profiles[profile_name] = GetSelectedAddonsList()
end)
end
+1 -1
View File
@@ -111,7 +111,7 @@ pfUI:RegisterModule("unlock", function ()
end
C.position[frame:GetName()]["scale"] = scale
frame.drag.text:SetText("Scale: " .. scale)
frame.drag.text:SetText(T["Scale"] .. ": " .. scale)
frame.drag.text:SetAlpha(1)
frame.drag:SetScript("OnUpdate", function()