1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 17:43:05 +08:00

fix review points. items not included in this localization were reverted.

This commit is contained in:
アズタケ 2022-09-20 14:02:11 +09:00
parent 03cc6b8af3
commit d22d009fb3
5 changed files with 7 additions and 41 deletions

View File

@ -134,36 +134,6 @@ namespace osu.Game.Localisation
/// </summary>
public static LocalisableString RestoredAllDeletedModPresets => new TranslatableString(getKey(@"restored_all_deleted_mod_presets"), @"Restored all deleted mod presets!");
/// <summary>
/// "Everything?"
/// </summary>
public static LocalisableString MassDeleteConfirmation => new TranslatableString(getKey(@"mass_delete_confirmation"), @"Everything?");
/// <summary>
/// "All beatmap videos? This cannot be undone!"
/// </summary>
public static LocalisableString MassVideoDeleteConfirmation => new TranslatableString(getKey(@"mass_video_delete_confirmation"), @"All beatmap videos? This cannot be undone!");
/// <summary>
/// "Failed to automatically locate an osu!stable installation."
/// </summary>
public static LocalisableString StableDirectoryLocationHeader => new TranslatableString(getKey(@"stable_directory_location_header"), @"Failed to automatically locate an osu!stable installation.");
/// <summary>
/// "An existing install could not be located. If you know where it is, you can help locate it."
/// </summary>
public static LocalisableString StableDirectoryLocationBody => new TranslatableString(getKey(@"stable_directory_location_body"), @"An existing install could not be located. If you know where it is, you can help locate it.");
/// <summary>
/// "Sure! I know where it is located!"
/// </summary>
public static LocalisableString StableDirectoryLocationOk => new TranslatableString(getKey(@"stable_directory_location_ok"), @"Sure! I know where it is located!");
/// <summary>
/// "Actually I don't have osu!stable installed."
/// </summary>
public static LocalisableString StableDirectoryLocationCancel => new TranslatableString(getKey(@"stable_directory_location_cancel"), @"Actually I don't have osu!stable installed.");
/// <summary>
/// "Please select your osu!stable install location"
/// </summary>

View File

@ -2,7 +2,6 @@
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Game.Localisation;
using osu.Game.Overlays.Dialog;
namespace osu.Game.Overlays.Settings.Sections.Maintenance
@ -11,7 +10,7 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
{
public MassDeleteConfirmationDialog(Action deleteAction)
{
BodyText = MaintenanceSettingsStrings.MassDeleteConfirmation;
BodyText = "Everything?";
DeleteAction = deleteAction;
}
}

View File

@ -2,7 +2,6 @@
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Game.Localisation;
namespace osu.Game.Overlays.Settings.Sections.Maintenance
{
@ -11,7 +10,7 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
public MassVideoDeleteConfirmationDialog(Action deleteAction)
: base(deleteAction)
{
BodyText = MaintenanceSettingsStrings.MassVideoDeleteConfirmation;
BodyText = "All beatmap videos? This cannot be undone!";
}
}
}

View File

@ -7,7 +7,6 @@ using System.Threading.Tasks;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Screens;
using osu.Game.Localisation;
using osu.Game.Overlays.Dialog;
using osu.Game.Screens;
@ -20,20 +19,20 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
public StableDirectoryLocationDialog(TaskCompletionSource<string> taskCompletionSource)
{
HeaderText = MaintenanceSettingsStrings.StableDirectoryLocationHeader;
BodyText = MaintenanceSettingsStrings.StableDirectoryLocationBody;
HeaderText = "Failed to automatically locate an osu!stable installation.";
BodyText = "An existing install could not be located. If you know where it is, you can help locate it.";
Icon = FontAwesome.Solid.QuestionCircle;
Buttons = new PopupDialogButton[]
{
new PopupDialogOkButton
{
Text = MaintenanceSettingsStrings.StableDirectoryLocationOk,
Text = "Sure! I know where it is located!",
Action = () => Schedule(() => performer.PerformFromScreen(screen => screen.Push(new StableDirectorySelectScreen(taskCompletionSource))))
},
new PopupDialogCancelButton
{
Text = MaintenanceSettingsStrings.StableDirectoryLocationCancel,
Text = "Actually I don't have osu!stable installed.",
Action = () => taskCompletionSource.TrySetCanceled()
}
};

View File

@ -8,7 +8,6 @@ using System.Linq;
using System.Threading.Tasks;
using osu.Framework.Localisation;
using osu.Framework.Screens;
using osu.Game.Localisation;
namespace osu.Game.Overlays.Settings.Sections.Maintenance
{
@ -20,7 +19,7 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
protected override bool IsValidDirectory(DirectoryInfo info) => info?.GetFiles("osu!.*.cfg").Any() ?? false;
public override LocalisableString HeaderText => MaintenanceSettingsStrings.StableDirectorySelectHeader;
public override LocalisableString HeaderText => "Please select your osu!stable install location";
public StableDirectorySelectScreen(TaskCompletionSource<string> taskCompletionSource)
{