1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 04:32:57 +08:00

Fix localisations

This commit is contained in:
Dean Herbert 2023-03-07 18:07:53 +09:00
parent 26ef7c2637
commit 97bee4db89
2 changed files with 4 additions and 9 deletions

View File

@ -45,14 +45,9 @@ namespace osu.Game.Localisation
public static LocalisableString CurrentlyEditing => new TranslatableString(getKey(@"currently_editing"), @"Currently editing");
/// <summary>
/// "Revert to default."
/// "All layout elements for layers in the current screen will be reset to defaults."
/// </summary>
public static LocalisableString RevertToDefaultDescription => new TranslatableString(getKey(@"revert_to_default"), @"Revert to default.");
/// <summary>
/// "Return the skin to its default state"
/// </summary>
public static LocalisableString ResetDialogue => new TranslatableString(getKey(@"return_the_skin_to_its"), @"Return the skin to its default state");
public static LocalisableString RevertToDefaultDescription => new TranslatableString(getKey(@"revert_to_default_description"), @"All layout elements for layers in the current screen will be reset to defaults.");
private static string getKey(string key) => $@"{prefix}:{key}";
}

View File

@ -634,8 +634,8 @@ namespace osu.Game.Overlays.SkinEditor
{
public RevertConfirmDialog(Action revert)
{
HeaderText = SkinEditorStrings.RevertToDefaultDescription;
BodyText = SkinEditorStrings.ResetDialogue;
HeaderText = CommonStrings.RevertToDefault;
BodyText = SkinEditorStrings.RevertToDefaultDescription;
DangerousAction = revert;
}
}