mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Localize non-localizable setting items
This commit is contained in:
@ -12,7 +12,7 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
|
||||
{
|
||||
public class CollectionsSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => "Collections";
|
||||
protected override LocalisableString Header => MaintenanceSettingsStrings.Collections;
|
||||
|
||||
private SettingsButton importCollectionsButton = null!;
|
||||
|
||||
@ -51,7 +51,7 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
|
||||
private void deleteAllCollections()
|
||||
{
|
||||
realm.Write(r => r.RemoveAll<BeatmapCollection>());
|
||||
notificationOverlay?.Post(new ProgressCompletionNotification { Text = "Deleted all collections!" });
|
||||
notificationOverlay?.Post(new ProgressCompletionNotification { Text = MaintenanceSettingsStrings.DeletedAllCollections });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user