// 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 EditorStrings { private const string prefix = @"osu.Game.Resources.Localisation.Editor"; /// /// "Beatmap editor" /// public static LocalisableString BeatmapEditor => new TranslatableString(getKey(@"beatmap_editor"), @"Beatmap editor"); /// /// "Waveform opacity" /// public static LocalisableString WaveformOpacity => new TranslatableString(getKey(@"waveform_opacity"), @"Waveform opacity"); /// /// "Show hit markers" /// public static LocalisableString ShowHitMarkers => new TranslatableString(getKey(@"show_hit_markers"), @"Show hit markers"); /// /// "Automatically seek after placing objects" /// public static LocalisableString AutoSeekOnPlacement => new TranslatableString(getKey(@"auto_seek_on_placement"), @"Automatically seek after placing objects"); /// /// "Timing" /// public static LocalisableString Timing => new TranslatableString(getKey(@"timing"), @"Timing"); /// /// "Set preview point to current time" /// public static LocalisableString SetPreviewPointToCurrent => new TranslatableString(getKey(@"set_preview_point_to_current"), @"Set preview point to current time"); /// /// "For editing (.olz)" /// public static LocalisableString ExportForEditing => new TranslatableString(getKey(@"export_for_editing"), @"For editing (.olz)"); /// /// "For compatibility (.osz)" /// public static LocalisableString ExportForCompatibility => new TranslatableString(getKey(@"export_for_compatibility"), @"For compatibility (.osz)"); /// /// "Create new difficulty" /// public static LocalisableString CreateNewDifficulty => new TranslatableString(getKey(@"create_new_difficulty"), @"Create new difficulty"); /// /// "Change difficulty" /// public static LocalisableString ChangeDifficulty => new TranslatableString(getKey(@"change_difficulty"), @"Change difficulty"); /// /// "Delete difficulty" /// public static LocalisableString DeleteDifficulty => new TranslatableString(getKey(@"delete_difficulty"), @"Delete difficulty"); /// /// "setup" /// public static LocalisableString SetupScreen => new TranslatableString(getKey(@"setup_screen"), @"setup"); /// /// "compose" /// public static LocalisableString ComposeScreen => new TranslatableString(getKey(@"compose_screen"), @"compose"); /// /// "design" /// public static LocalisableString DesignScreen => new TranslatableString(getKey(@"design_screen"), @"design"); /// /// "timing" /// public static LocalisableString TimingScreen => new TranslatableString(getKey(@"timing_screen"), @"timing"); /// /// "verify" /// public static LocalisableString VerifyScreen => new TranslatableString(getKey(@"verify_screen"), @"verify"); /// /// "Playback speed" /// public static LocalisableString PlaybackSpeed => new TranslatableString(getKey(@"playback_speed"), @"Playback speed"); /// /// "Test!" /// public static LocalisableString TestBeatmap => new TranslatableString(getKey(@"test_beatmap"), @"Test!"); /// /// "Waveform" /// public static LocalisableString TimelineWaveform => new TranslatableString(getKey(@"timeline_waveform"), @"Waveform"); /// /// "Ticks" /// public static LocalisableString TimelineTicks => new TranslatableString(getKey(@"timeline_ticks"), @"Ticks"); /// /// "{0:0}°" /// public static LocalisableString RotationUnsnapped(float newRotation) => new TranslatableString(getKey(@"rotation_unsnapped"), @"{0:0}°", newRotation); /// /// "{0:0}° (snapped)" /// public static LocalisableString RotationSnapped(float newRotation) => new TranslatableString(getKey(@"rotation_snapped"), @"{0:0}° (snapped)", newRotation); /// /// "Limit distance snap placement to current time" /// public static LocalisableString LimitedDistanceSnap => new TranslatableString(getKey(@"limited_distance_snap_grid"), @"Limit distance snap placement to current time"); /// /// "Must be in edit mode to handle editor links" /// public static LocalisableString MustBeInEditorToHandleLinks => new TranslatableString(getKey(@"must_be_in_editor_to_handle_links"), @"Must be in edit mode to handle editor links"); /// /// "Failed to parse editor link" /// public static LocalisableString FailedToParseEditorLink => new TranslatableString(getKey(@"failed_to_parse_edtior_link"), @"Failed to parse editor link"); private static string getKey(string key) => $@"{prefix}:{key}"; } }