// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Localisation; namespace osu.Game.Resources.Localisation.Web.ModelValidation { public static class FulfillmentsStrings { private const string prefix = @"osu.Game.Resources.Localisation.Web.ModelValidation.Fulfillments"; /// /// "only 1 username change allowed per order fulfillment." /// public static LocalisableString UsernameChangeOnlyOne => new TranslatableString(getKey(@"username_change.only_one"), @"only 1 username change allowed per order fulfillment."); /// /// "Username change cost exceeds amount paid ({0} > {1})" /// public static LocalisableString UsernameChangeInsufficientPaid(LocalisableString expected, LocalisableString actual) => new TranslatableString(getKey(@"username_change.insufficient_paid"), @"Username change cost exceeds amount paid ({0} > {1})", expected, actual); /// /// "Current username ({0}) is not the same as change to revoke ({1})" /// public static LocalisableString UsernameChangeRevertingUsernameMismatch(LocalisableString current, LocalisableString username) => new TranslatableString(getKey(@"username_change.reverting_username_mismatch"), @"Current username ({0}) is not the same as change to revoke ({1})", current, username); /// /// "Donation is less than required for osu!supporter tag gift ({0} > {1})" /// public static LocalisableString SupporterTagInsufficientPaid(LocalisableString actual, LocalisableString expected) => new TranslatableString(getKey(@"supporter_tag.insufficient_paid"), @"Donation is less than required for osu!supporter tag gift ({0} > {1})", actual, expected); private static string getKey(string key) => $@"{prefix}:{key}"; } }