Skip to content

Commit

Permalink
Add LOC entries for patchnotes window.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuchenjimmy authored Jan 8, 2025
1 parent d9d2dbb commit def7b05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/ui/lobby/changelog.lua
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,15 @@ Changelog = ClassUI(Group) {
self.FooterDebug:SetSolidColor("ff00ff00")
LayoutHelpers.FillParent(self.FooterDebug, self.Footer)

self.FooterGithubButton = UIUtil.CreateButtonWithDropshadow(self.Footer, '/BUTTON/medium/', "Github")
self.FooterGithubButton = UIUtil.CreateButtonWithDropshadow(self.Footer, '/BUTTON/medium/', "<LOC uilobby_0004>Github")
LayoutHelpers.AtVerticalCenterIn(self.FooterGithubButton, self.Footer)
LayoutHelpers.DepthOverParent(self.FooterGithubButton, self.Footer, 5)
self.FooterGithubButton.Left:Set(function() return self.Footer.Left() - LayoutHelpers.ScaleNumber(10) end)
self.FooterGithubButton.OnClick = function()
OpenURL('http://github.com/FAForever/fa/releases')
end

self.FooterPatchNotesButton = UIUtil.CreateButtonWithDropshadow(self.Footer, '/BUTTON/medium/', "Patchnotes")
self.FooterPatchNotesButton = UIUtil.CreateButtonWithDropshadow(self.Footer, '/BUTTON/medium/', "<LOC uilobby_0005>Patchnotes")
LayoutHelpers.AtVerticalCenterIn(self.FooterPatchNotesButton, self.Footer, 2)
LayoutHelpers.DepthOverParent(self.FooterPatchNotesButton, self.Footer, 5)
self.FooterPatchNotesButton.Right:Set(function() return self.Footer.Right() - LayoutHelpers.ScaleNumber(220) end)
Expand All @@ -162,7 +162,7 @@ Changelog = ClassUI(Group) {
OpenURL('http://patchnotes.faforever.com')
end

self.FooterDiscordButton = UIUtil.CreateButtonWithDropshadow(self.Footer, '/BUTTON/medium/', "Report a bug")
self.FooterDiscordButton = UIUtil.CreateButtonWithDropshadow(self.Footer, '/BUTTON/medium/', "<LOC uilobby_0006>Report a bug")
LayoutHelpers.AtVerticalCenterIn(self.FooterDiscordButton, self.Footer)
LayoutHelpers.DepthOverParent(self.FooterDiscordButton, self.Footer, 5)
self.FooterDiscordButton.Left:Set(function() return self.Footer.Right() - LayoutHelpers.ScaleNumber(170) end)
Expand Down

0 comments on commit def7b05

Please sign in to comment.