Update button text and make localisable

This commit is contained in:
Dean Herbert 2023-11-28 17:59:05 +09:00
parent 11f1f44237
commit 4c2819dbc2
No known key found for this signature in database
2 changed files with 7 additions and 2 deletions

View File

@ -49,6 +49,11 @@ public static class GeneralSettingsStrings
/// </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>

View File

@ -75,8 +75,8 @@ private void load(Storage storage, OsuConfigManager config, OsuGame game)
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");