Permalink
Browse files

Translate the "Save Changes" button.

Also make the button wider in case some languages need more space.
  • Loading branch information...
1 parent 7970d3b commit 1e31753ca19cd8d642c50ae14b714f36296fb88e @robotboy655 robotboy655 committed Aug 22, 2014
@@ -38,9 +38,9 @@ function PANEL:CreateSaveNotification()
local SavePanel = vgui.Create( "DButton", self )
SavePanel:Dock( TOP )
- SavePanel:DockMargin( 32, 1, 32, 4 )
+ SavePanel:DockMargin( 16, 1, 16, 4 )
SavePanel:SetIcon( "icon16/disk.png" )
- SavePanel:SetText( "Save changes" )
+ SavePanel:SetText( "#spawnmenu.savechanges" )
SavePanel:SetVisible( false )
SavePanel.DoClick = function()
@@ -62,4 +62,4 @@ function PANEL:CreateSaveNotification()
end
-vgui.Register( "ContentSidebar", PANEL, "DPanel" )
+vgui.Register( "ContentSidebar", PANEL, "DPanel" )

0 comments on commit 1e31753

Please sign in to comment.