Use existing strings

This commit is contained in:
ansel
2023-01-15 14:39:34 +03:00
parent 87650044bb
commit 8777d5349b
4 changed files with 5 additions and 18 deletions

View File

@ -54,11 +54,6 @@ namespace osu.Game.Localisation
/// </summary>
public static LocalisableString View => new TranslatableString(getKey(@"view"), @"View");
/// <summary>
/// "Background dim"
/// </summary>
public static LocalisableString BackgroundDim => new TranslatableString(getKey(@"background_dim"), @"Background dim");
/// <summary>
/// "Waveform opacity"
/// </summary>
@ -79,11 +74,6 @@ namespace osu.Game.Localisation
/// </summary>
public static LocalisableString SetPreviewPointToCurrent => new TranslatableString(getKey(@"set_preview_point_to_current"), @"Set preview point to current time");
/// <summary>
/// "Save"
/// </summary>
public static LocalisableString Save => new TranslatableString(getKey(@"save"), @"Save");
/// <summary>
/// "Export package"
/// </summary>
@ -154,11 +144,6 @@ namespace osu.Game.Localisation
/// </summary>
public static LocalisableString TimelineTicks => new TranslatableString(getKey(@"timeline_ticks"), @"Ticks");
/// <summary>
/// "BPM"
/// </summary>
public static LocalisableString TimelineBpm => new TranslatableString(getKey(@"timeline_bpm"), @"BPM");
private static string getKey(string key) => $@"{prefix}:{key}";
}
}