mirror of
https://github.com/ppy/osu
synced 2025-02-17 19:07:07 +00:00
Update button text and make localisable
This commit is contained in:
parent
11f1f44237
commit
4c2819dbc2
@ -49,6 +49,11 @@ namespace osu.Game.Localisation
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString OpenOsuFolder => new TranslatableString(getKey(@"open_osu_folder"), @"Open osu! folder");
|
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>
|
/// <summary>
|
||||||
/// "Change folder location..."
|
/// "Change folder location..."
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -75,8 +75,8 @@ namespace osu.Game.Overlays.Settings.Sections.General
|
|||||||
|
|
||||||
Add(new SettingsButton
|
Add(new SettingsButton
|
||||||
{
|
{
|
||||||
Text = "Compress log files",
|
Text = GeneralSettingsStrings.ExportLogs,
|
||||||
Keywords = new[] { @"bug", "report", "logs" },
|
Keywords = new[] { @"bug", "report", "logs", "files" },
|
||||||
Action = () =>
|
Action = () =>
|
||||||
{
|
{
|
||||||
var logStorage = storage.GetStorageForDirectory(@"logs");
|
var logStorage = storage.GetStorageForDirectory(@"logs");
|
||||||
|
Loading…
Reference in New Issue
Block a user