mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +08:00
Fix CI code quality
This commit is contained in:
parent
5080d62e77
commit
9f043e725f
@ -10,10 +10,10 @@ namespace osu.Game.Configuration
|
||||
{
|
||||
public enum ScreenshotFormat
|
||||
{
|
||||
[LocalisableDescription(typeof(GraphicsSettingsStrings), nameof(GraphicsSettingsStrings.JPG))]
|
||||
[LocalisableDescription(typeof(GraphicsSettingsStrings), nameof(GraphicsSettingsStrings.Jpg))]
|
||||
Jpg = 1,
|
||||
|
||||
[LocalisableDescription(typeof(GraphicsSettingsStrings), nameof(GraphicsSettingsStrings.PNG))]
|
||||
[LocalisableDescription(typeof(GraphicsSettingsStrings), nameof(GraphicsSettingsStrings.Png))]
|
||||
Png = 2
|
||||
}
|
||||
}
|
||||
|
@ -132,12 +132,12 @@ namespace osu.Game.Localisation
|
||||
/// <summary>
|
||||
/// "JPG (web-friendly)"
|
||||
/// </summary>
|
||||
public static LocalisableString JPG => new TranslatableString(getKey(@"jpg_web_friendly"), @"JPG (web-friendly)");
|
||||
public static LocalisableString Jpg => new TranslatableString(getKey(@"jpg_web_friendly"), @"JPG (web-friendly)");
|
||||
|
||||
/// <summary>
|
||||
/// "PNG (lossless)"
|
||||
/// </summary>
|
||||
public static LocalisableString PNG => new TranslatableString(getKey(@"png_lossless"), @"PNG (lossless)");
|
||||
public static LocalisableString Png => new TranslatableString(getKey(@"png_lossless"), @"PNG (lossless)");
|
||||
|
||||
private static string getKey(string key) => $"{prefix}:{key}";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user