Skip to content

Commit

Permalink
Added misssing place for addon name localisation
Browse files Browse the repository at this point in the history
  • Loading branch information
mooms committed May 28, 2024
1 parent 6b41c71 commit e2a8e2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ local function createFrame()
frameToggle:SetScript("OnEnter", function(self)
GameTooltip:ClearLines()
GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT")
GameTooltip:AddLine(string.format(addon.Loc["Toggle the %s UI"], const.ADDON_NAME), 1, 1, 1)
GameTooltip:AddLine(string.format(addon.Loc["Toggle the %s UI"], addon.Loc[const.ADDON_NAME]), 1, 1, 1)
GameTooltip:Show()
end)
frameToggle:SetScript("OnLeave", function()
Expand Down
2 changes: 1 addition & 1 deletion Locales/zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Private.Locales["zhCN"] = {
["Scrappable Items"] = "可拆解物品",
["NOTHING TO SCRAP"] = "*无可拆解物品*",
["Resocket Gems"] = "重新镶嵌宝石",
["Toggle the %s UI"] = "切换 %s 界面", -- %s is the Addon name and needs to be included!
["Toggle the %s UI"] = "切换%s界面", -- %s is the Addon name and needs to be included!
["Search Gems"] = "搜索宝石",
["Unowned"] = "未拥有",
["Show Unowned Gems in the List."] = "在列表中显示未拥有的宝石。",
Expand Down

0 comments on commit e2a8e2e

Please sign in to comment.