1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-10 22:17:20 +08:00

Use localisation from osu web for the report button

This commit is contained in:
GAMIS65 2025-03-06 22:48:08 +01:00
parent 30fb2c3f2b
commit e39b551b48

View File

@ -26,6 +26,7 @@ using osu.Game.Resources.Localisation.Web;
using osuTK;
using osuTK.Graphics;
using ChatStrings = osu.Game.Localisation.ChatStrings;
using WebUsersStrings = osu.Game.Resources.Localisation.Web.UsersStrings;
namespace osu.Game.Overlays.Chat
{
@ -178,7 +179,7 @@ namespace osu.Game.Overlays.Chat
}
if (!user.Equals(api.LocalUser.Value))
items.Add(new OsuMenuItem("Report", MenuItemType.Destructive, ReportRequested));
items.Add(new OsuMenuItem(WebUsersStrings.ReportButtonText, MenuItemType.Destructive, ReportRequested));
return items.ToArray();
}