mirror of
https://github.com/ppy/osu.git
synced 2025-03-10 21:40:34 +08:00
Use localisation from osu web for the report button
This commit is contained in:
parent
30fb2c3f2b
commit
e39b551b48
@ -26,6 +26,7 @@ using osu.Game.Resources.Localisation.Web;
|
|||||||
using osuTK;
|
using osuTK;
|
||||||
using osuTK.Graphics;
|
using osuTK.Graphics;
|
||||||
using ChatStrings = osu.Game.Localisation.ChatStrings;
|
using ChatStrings = osu.Game.Localisation.ChatStrings;
|
||||||
|
using WebUsersStrings = osu.Game.Resources.Localisation.Web.UsersStrings;
|
||||||
|
|
||||||
namespace osu.Game.Overlays.Chat
|
namespace osu.Game.Overlays.Chat
|
||||||
{
|
{
|
||||||
@ -178,7 +179,7 @@ namespace osu.Game.Overlays.Chat
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!user.Equals(api.LocalUser.Value))
|
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();
|
return items.ToArray();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user