mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 01:42:55 +08:00
Fix localisations
This commit is contained in:
parent
26ef7c2637
commit
97bee4db89
@ -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}";
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user