mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Use existing web localisation for most hardcoded strings
This commit is contained in:
@ -1,22 +1,23 @@
|
||||
// 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 System.ComponentModel;
|
||||
using osu.Framework.Localisation;
|
||||
using osu.Game.Resources.Localisation.Web;
|
||||
|
||||
namespace osu.Game.Online.API.Requests.Responses
|
||||
{
|
||||
public enum APIPlayStyle
|
||||
{
|
||||
[Description("Keyboard")]
|
||||
[LocalisableDescription(typeof(CommonStrings), nameof(CommonStrings.DeviceKeyboard))]
|
||||
Keyboard,
|
||||
|
||||
[Description("Mouse")]
|
||||
[LocalisableDescription(typeof(CommonStrings), nameof(CommonStrings.DeviceMouse))]
|
||||
Mouse,
|
||||
|
||||
[Description("Tablet")]
|
||||
[LocalisableDescription(typeof(CommonStrings), nameof(CommonStrings.DeviceTablet))]
|
||||
Tablet,
|
||||
|
||||
[Description("Touch Screen")]
|
||||
[LocalisableDescription(typeof(CommonStrings), nameof(CommonStrings.DeviceTouch))]
|
||||
Touch,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user