mirror of https://github.com/ppy/osu
Update button text and make localisable
This commit is contained in:
parent
11f1f44237
commit
4c2819dbc2
|
@ -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>
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue