1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-25 03:49:55 +08:00

Update button text and make localisable

This commit is contained in:
Dean Herbert
2023-11-28 17:59:05 +09:00
Unverified
parent 11f1f44237
commit 4c2819dbc2
2 changed files with 7 additions and 2 deletions
@@ -49,6 +49,11 @@ namespace osu.Game.Localisation
/// </summary>
public static LocalisableString OpenOsuFolder => new TranslatableString(getKey(@"open_osu_folder"), @"Open osu! folder");
/// <summary>
/// "Export logs"
/// </summary>
public static LocalisableString ExportLogs => new TranslatableString(getKey(@"export_logs"), @"Export logs");
/// <summary>
/// "Change folder location..."
/// </summary>
@@ -75,8 +75,8 @@ namespace osu.Game.Overlays.Settings.Sections.General
Add(new SettingsButton
{
Text = "Compress log files",
Keywords = new[] { @"bug", "report", "logs" },
Text = GeneralSettingsStrings.ExportLogs,
Keywords = new[] { @"bug", "report", "logs", "files" },
Action = () =>
{
var logStorage = storage.GetStorageForDirectory(@"logs");