// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Localisation; namespace osu.Game.Localisation { public static class StorageErrorDialogStrings { private const string prefix = @"osu.Game.Resources.Localisation.StorageErrorDialog"; /// /// "osu! storage error" /// public static LocalisableString StorageError => new TranslatableString(getKey(@"storage_error"), @"osu! storage error"); /// /// "The specified osu! data location ("{0}") is not accessible. If it is on external storage, please reconnect the device and try again." /// public static LocalisableString LocationIsNotAccessible(string? loc) => new TranslatableString(getKey(@"location_is_not_accessible"), @"The specified osu! data location (""{0}"") is not accessible. If it is on external storage, please reconnect the device and try again.", loc); /// /// "The specified osu! data location ("{0}") is empty. If you have moved the files, please close osu! and move them back." /// public static LocalisableString LocationIsEmpty(string? loc2) => new TranslatableString(getKey(@"location_is_empty"), @"The specified osu! data location (""{0}"") is empty. If you have moved the files, please close osu! and move them back.", loc2); /// /// "Try again" /// public static LocalisableString TryAgain => new TranslatableString(getKey(@"try_again"), @"Try again"); /// /// "Use default location until restart" /// public static LocalisableString UseDefaultLocation => new TranslatableString(getKey(@"use_default_location"), @"Use default location until restart"); /// /// "Reset to default location" /// public static LocalisableString ResetToDefaultLocation => new TranslatableString(getKey(@"reset_to_default_location"), @"Reset to default location"); /// /// "Start fresh at specified location" /// public static LocalisableString StartFresh => new TranslatableString(getKey(@"start_fresh"), @"Start fresh at specified location"); private static string getKey(string key) => $@"{prefix}:{key}"; } }