// 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 TabletSettingsStrings { private const string prefix = @"osu.Game.Resources.Localisation.TabletSettings"; /// /// "Tablet" /// public static LocalisableString Tablet => new TranslatableString(getKey(@"tablet"), @"Tablet"); /// /// "No tablet detected!" /// public static LocalisableString NoTabletDetected => new TranslatableString(getKey(@"no_tablet_detected"), @"No tablet detected!"); /// /// "If your tablet is not detected, please read [this FAQ]({0}) for troubleshooting steps." /// public static LocalisableString NoTabletDetectedDescription(string url) => new TranslatableString(getKey(@"no_tablet_detected_description"), @"If your tablet is not detected, please read [this FAQ]({0}) for troubleshooting steps.", url); /// /// "Reset to full area" /// public static LocalisableString ResetToFullArea => new TranslatableString(getKey(@"reset_to_full_area"), @"Reset to full area"); /// /// "Conform to current game aspect ratio" /// public static LocalisableString ConformToCurrentGameAspectRatio => new TranslatableString(getKey(@"conform_to_current_game_aspect_ratio"), @"Conform to current game aspect ratio"); /// /// "X Offset" /// public static LocalisableString XOffset => new TranslatableString(getKey(@"x_offset"), @"X Offset"); /// /// "Y Offset" /// public static LocalisableString YOffset => new TranslatableString(getKey(@"y_offset"), @"Y Offset"); /// /// "Rotation" /// public static LocalisableString Rotation => new TranslatableString(getKey(@"rotation"), @"Rotation"); /// /// "Aspect Ratio" /// public static LocalisableString AspectRatio => new TranslatableString(getKey(@"aspect_ratio"), @"Aspect Ratio"); /// /// "Lock aspect ratio" /// public static LocalisableString LockAspectRatio => new TranslatableString(getKey(@"lock_aspect_ratio"), @"Lock aspect ratio"); private static string getKey(string key) => $@"{prefix}:{key}"; } }