Use existing localised error message

This commit is contained in:
Dean Herbert
2022-08-03 20:15:42 +09:00
parent 7354f9e6ba
commit d3954fc583
2 changed files with 4 additions and 3 deletions

View File

@ -5,14 +5,15 @@ using osu.Framework.Allocation;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Overlays.Notifications;
using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Database
{
public class TooManyDownloadsNotification : SimpleNotification
{
public TooManyDownloadsNotification(string humanisedModelName)
public TooManyDownloadsNotification()
{
Text = $"You have downloaded too many {humanisedModelName}s! Please try again later.";
Text = BeatmapsetsStrings.DownloadLimitExceeded;
Icon = FontAwesome.Solid.ExclamationCircle;
}