1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:27:29 +08:00

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 @@ 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>

View File

@ -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");