Make reverting changes to a given skin into a "dangerous action"

This commit is contained in:
mk56-spn
2023-02-26 20:38:50 +01:00
parent d679703fa2
commit ff0d1aa9f7
2 changed files with 42 additions and 2 deletions

View File

@ -42,7 +42,17 @@ namespace osu.Game.Localisation
/// <summary>
/// "Currently editing"
/// </summary>
public static LocalisableString CurrentlyEditing => new TranslatableString(getKey(@"currently_editing"), "Currently editing");
public static LocalisableString CurrentlyEditing => new TranslatableString(getKey(@"currently_editing"), @"Currently editing");
/// <summary>
/// "Revert?"
/// </summary>
public static LocalisableString Revert => new TranslatableString(getKey(@"revert"), @"Revert?");
/// <summary>
/// "The skin will return to the state it was in upon import"
/// </summary>
public static LocalisableString ResetDialogue => new TranslatableString(getKey(@"the_skin_will_return_to"), @"The skin will return to the state it was in upon import");
private static string getKey(string key) => $@"{prefix}:{key}";
}