1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 05:22:54 +08:00

Localise menu bar

This commit is contained in:
ansel 2023-01-16 19:39:50 +03:00
parent 26f3b1dbfe
commit 6eb5508404

View File

@ -122,14 +122,14 @@ namespace osu.Game.Skinning.Editor
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Items = new[] Items = new[]
{ {
new MenuItem("File") new MenuItem(CommonStrings.MenuBarFile)
{ {
Items = new[] Items = new[]
{ {
new EditorMenuItem("Save", MenuItemType.Standard, Save), new EditorMenuItem(Resources.Localisation.Web.CommonStrings.ButtonsSave, MenuItemType.Standard, Save),
new EditorMenuItem("Revert to default", MenuItemType.Destructive, revert), new EditorMenuItem(CommonStrings.RevertToDefault, MenuItemType.Destructive, revert),
new EditorMenuItemSpacer(), new EditorMenuItemSpacer(),
new EditorMenuItem("Exit", MenuItemType.Standard, () => skinEditorOverlay?.Hide()), new EditorMenuItem(CommonStrings.Exit, MenuItemType.Standard, () => skinEditorOverlay?.Hide()),
}, },
}, },
} }