You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.2 KiB
C#
29 lines
1.2 KiB
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. 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.Paypal
|
|
{
|
|
public static class ErrorsStrings
|
|
{
|
|
private const string prefix = @"osu.Game.Resources.Localisation.Web.Paypal.Errors";
|
|
|
|
/// <summary>
|
|
/// "The selected payment method was rejected by Paypal."
|
|
/// </summary>
|
|
public static LocalisableString InstrumentDeclined => new TranslatableString(getKey(@"instrument_declined"), @"The selected payment method was rejected by Paypal.");
|
|
|
|
/// <summary>
|
|
/// "No payment information was found."
|
|
/// </summary>
|
|
public static LocalisableString InvalidResourceId => new TranslatableString(getKey(@"invalid_resource_id"), @"No payment information was found.");
|
|
|
|
/// <summary>
|
|
/// "The payment was rejected, but we're not sure why."
|
|
/// </summary>
|
|
public static LocalisableString Unknown => new TranslatableString(getKey(@"unknown"), @"The payment was rejected, but we're not sure why.");
|
|
|
|
private static string getKey(string key) => $@"{prefix}:{key}";
|
|
}
|
|
} |