mirror of https://github.com/ppy/osu
Fix localisations
This commit is contained in:
parent
26ef7c2637
commit
97bee4db89
|
@ -45,14 +45,9 @@ public static class SkinEditorStrings
|
|||
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}";
|
||||
}
|
||||
|
|
|
@ -634,8 +634,8 @@ public partial class RevertConfirmDialog : DangerousActionDialog
|
|||
{
|
||||
public RevertConfirmDialog(Action revert)
|
||||
{
|
||||
HeaderText = SkinEditorStrings.RevertToDefaultDescription;
|
||||
BodyText = SkinEditorStrings.ResetDialogue;
|
||||
HeaderText = CommonStrings.RevertToDefault;
|
||||
BodyText = SkinEditorStrings.RevertToDefaultDescription;
|
||||
DangerousAction = revert;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue