1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 20:47:28 +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"); public static LocalisableString CurrentlyEditing => new TranslatableString(getKey(@"currently_editing"), @"Currently editing");
/// <summary> /// <summary>
/// "Revert to default." /// "All layout elements for layers in the current screen will be reset to defaults."
/// </summary> /// </summary>
public static LocalisableString RevertToDefaultDescription => new TranslatableString(getKey(@"revert_to_default"), @"Revert to default."); 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.");
/// <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");
private static string getKey(string key) => $@"{prefix}:{key}"; private static string getKey(string key) => $@"{prefix}:{key}";
} }

View File

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