diff --git a/osu.Game/Localisation/DialogStrings.cs b/osu.Game/Localisation/DialogStrings.cs
index a7634575b8..f50268dd03 100644
--- a/osu.Game/Localisation/DialogStrings.cs
+++ b/osu.Game/Localisation/DialogStrings.cs
@@ -29,6 +29,26 @@ namespace osu.Game.Localisation
///
public static LocalisableString Cancel => new TranslatableString(getKey(@"cancel"), @"No! Abort mission");
+ ///
+ /// "Failed to automatically locate an osu!stable installation."
+ ///
+ public static LocalisableString StableDirectoryLocationHeaderText => new TranslatableString(getKey(@"stable_directory_location_header_text"), @"Failed to automatically locate an osu!stable installation.");
+
+ ///
+ /// "An existing install could not be located. If you know where it is, you can help locate it."
+ ///
+ public static LocalisableString StableDirectoryLocationBodyText => new TranslatableString(getKey(@"stable_directory_location_body_text"), @"An existing install could not be located. If you know where it is, you can help locate it.");
+
+ ///
+ /// "Sure! I know where it is located!"
+ ///
+ public static LocalisableString StableDirectoryLocationOkButton => new TranslatableString(getKey(@"stable_directory_location_ok_button"), @"Sure! I know where it is located!");
+
+ ///
+ /// "Actually I don't have osu!stable installed."
+ ///
+ public static LocalisableString StableDirectoryLocationCancelButton => new TranslatableString(getKey(@"stable_directory_location_cancel_button"), @"Actually I don't have osu!stable installed.");
+
private static string getKey(string key) => $@"{prefix}:{key}";
}
}
diff --git a/osu.Game/Localisation/SkinSettingsStrings.cs b/osu.Game/Localisation/SkinSettingsStrings.cs
index 16dca7fd87..c453a09f07 100644
--- a/osu.Game/Localisation/SkinSettingsStrings.cs
+++ b/osu.Game/Localisation/SkinSettingsStrings.cs
@@ -19,6 +19,11 @@ namespace osu.Game.Localisation
///
public static LocalisableString CurrentSkin => new TranslatableString(getKey(@"current_skin"), @"Current skin");
+ ///
+ /// "Skin name"
+ ///
+ public static LocalisableString SkinName => new TranslatableString(getKey(@"skin_name"), @"Skin name");
+
///
/// "Skin layout editor"
///
diff --git a/osu.Game/Overlays/Settings/Sections/Maintenance/StableDirectoryLocationDialog.cs b/osu.Game/Overlays/Settings/Sections/Maintenance/StableDirectoryLocationDialog.cs
index fcbc603c83..ff10a0a84e 100644
--- a/osu.Game/Overlays/Settings/Sections/Maintenance/StableDirectoryLocationDialog.cs
+++ b/osu.Game/Overlays/Settings/Sections/Maintenance/StableDirectoryLocationDialog.cs
@@ -5,6 +5,7 @@ using System.Threading.Tasks;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Screens;
+using osu.Game.Localisation;
using osu.Game.Overlays.Dialog;
using osu.Game.Screens;
@@ -17,20 +18,20 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
public StableDirectoryLocationDialog(TaskCompletionSource taskCompletionSource)
{
- HeaderText = "Failed to automatically locate an osu!stable installation.";
- BodyText = "An existing install could not be located. If you know where it is, you can help locate it.";
+ HeaderText = DialogStrings.StableDirectoryLocationHeaderText;
+ BodyText = DialogStrings.StableDirectoryLocationBodyText;
Icon = FontAwesome.Solid.QuestionCircle;
Buttons = new PopupDialogButton[]
{
new PopupDialogOkButton
{
- Text = "Sure! I know where it is located!",
+ Text = DialogStrings.StableDirectoryLocationOkButton,
Action = () => Schedule(() => performer.PerformFromScreen(screen => screen.Push(new StableDirectorySelectScreen(taskCompletionSource))))
},
new PopupDialogCancelButton
{
- Text = "Actually I don't have osu!stable installed.",
+ Text = DialogStrings.StableDirectoryLocationCancelButton,
Action = () => taskCompletionSource.TrySetCanceled()
}
};
diff --git a/osu.Game/Overlays/Settings/Sections/Maintenance/StableDirectorySelectScreen.cs b/osu.Game/Overlays/Settings/Sections/Maintenance/StableDirectorySelectScreen.cs
index 3f12b9c0df..6d95408ee6 100644
--- a/osu.Game/Overlays/Settings/Sections/Maintenance/StableDirectorySelectScreen.cs
+++ b/osu.Game/Overlays/Settings/Sections/Maintenance/StableDirectorySelectScreen.cs
@@ -8,6 +8,7 @@ using osu.Framework.Allocation;
using osu.Framework.Localisation;
using osu.Framework.Screens;
using osu.Game.Database;
+using osu.Game.Localisation;
namespace osu.Game.Overlays.Settings.Sections.Maintenance
{
@@ -22,7 +23,7 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
protected override bool IsValidDirectory(DirectoryInfo? info) => legacyImportManager.IsUsableForStableImport(info, out _);
- public override LocalisableString HeaderText => "Please select your osu!stable install location";
+ public override LocalisableString HeaderText => MaintenanceSettingsStrings.StableDirectorySelectHeader;
public StableDirectorySelectScreen(TaskCompletionSource taskCompletionSource)
{
diff --git a/osu.Game/Overlays/Settings/Sections/SkinSection.cs b/osu.Game/Overlays/Settings/Sections/SkinSection.cs
index 84cfff6d1f..e0bc193df6 100644
--- a/osu.Game/Overlays/Settings/Sections/SkinSection.cs
+++ b/osu.Game/Overlays/Settings/Sections/SkinSection.cs
@@ -261,7 +261,7 @@ namespace osu.Game.Overlays.Settings.Sections
{
textBox = new FocusedTextBox
{
- PlaceholderText = @"Skin name",
+ PlaceholderText = SkinSettingsStrings.SkinName,
FontSize = OsuFont.DEFAULT_FONT_SIZE,
RelativeSizeAxes = Axes.X,
SelectAllOnFocus = true,