mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Move DownloadButtonStrings -> CommonStrings
This commit is contained in:
@ -29,6 +29,16 @@ namespace osu.Game.Localisation
|
||||
/// </summary>
|
||||
public static LocalisableString Height => new TranslatableString(getKey(@"height"), @"Height");
|
||||
|
||||
/// <summary>
|
||||
/// "Downloading..."
|
||||
/// </summary>
|
||||
public static LocalisableString Downloading => new TranslatableString(getKey(@"downloading"), @"Downloading...");
|
||||
|
||||
/// <summary>
|
||||
/// "Importing..."
|
||||
/// </summary>
|
||||
public static LocalisableString Importing => new TranslatableString(getKey(@"importing"), @"Importing...");
|
||||
|
||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,24 +0,0 @@
|
||||
// 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.Localisation
|
||||
{
|
||||
public static class DownloadButtonStrings
|
||||
{
|
||||
private const string prefix = @"osu.Game.Resources.Localisation.DownloadButton";
|
||||
|
||||
/// <summary>
|
||||
/// "Downloading..."
|
||||
/// </summary>
|
||||
public static LocalisableString Downloading => new TranslatableString(getKey(@"downloading"), @"Downloading...");
|
||||
|
||||
/// <summary>
|
||||
/// "Importing..."
|
||||
/// </summary>
|
||||
public static LocalisableString Importing => new TranslatableString(getKey(@"importing"), @"Importing...");
|
||||
|
||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user