Skip to content

Commit ba9ede7

Browse files
author
Maelareth
committed
fix(nicknames): register the tab title for localization
The General > Nicknames tab title used L["Nicknames"] but was never registered in the enUS locale, so it could not be translated. Also drop a stale /dfnick comment in the options panel.
1 parent c1203d2 commit ba9ede7

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Locales/enUS.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,6 +1903,7 @@ L["Marker style"] = true
19031903
L["Match"] = true
19041904
L["My added"] = true
19051905
L["Nickname"] = true
1906+
L["Nicknames"] = true
19061907
L["No B.net friends found."] = true
19071908
L["No characters found."] = true
19081909
L["No group members found."] = true

Options/NicknamesPage.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ function DF.BuildNicknamesPage(guiRef, pageRef, dbRef)
770770
recvContent:SetHeight(mmax(1, n * ROW_HEIGHT))
771771
end
772772

773-
-- Keep this panel in sync with changes made anywhere (e.g. /dfnick).
773+
-- Keep this panel in sync with changes made anywhere (e.g. incoming shares).
774774
NK.onChange = Refresh
775775
Refresh()
776776
end

0 commit comments

Comments
 (0)