1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:27:29 +08:00

Reword disclaimer and fix translation keys

This commit is contained in:
Dean Herbert 2022-12-15 22:46:31 +09:00
parent 91adf2e80f
commit 9813bc9544
2 changed files with 8 additions and 9 deletions

View File

@ -12,22 +12,21 @@ namespace osu.Game.Localisation
/// <summary>
/// "User content disclaimer"
/// </summary>
public static LocalisableString UserContentDisclaimer => new TranslatableString(getKey(@"user_content_disclaimer"), @"User content disclaimer");
public static LocalisableString UserContentDisclaimerHeader => new TranslatableString(getKey(@"user_content_disclaimer"), @"User content disclaimer");
/// <summary>
/// "By turning off the &quot;Featured Artist&quot; filter, all user-uploaded content will be displayed.
///
/// This includes content which may not be correctly licensed for use and as such may not be safe for streaming, sharing, or consumption."
/// This includes content that may not be correctly licensed for osu! usage. Browse at your own risk."
/// </summary>
public static LocalisableString ByTurningOffTheFeatured => new TranslatableString(getKey(@"by_turning_off_the_featured"),
@"By turning off the ""Featured Artist"" filter, all user-uploaded content will be displayed.
public static LocalisableString UserContentDisclaimerDescription => new TranslatableString(getKey(@"by_turning_off_the_featured"), @"By turning off the ""Featured Artist"" filter, all user-uploaded content will be displayed.
This includes content which may not be correctly licensed for use and as such may not be safe for streaming, sharing, or consumption.");
This includes content that may not be correctly licensed for osu! usage. Browse at your own risk.");
/// <summary>
/// "I understand"
/// </summary>
public static LocalisableString Understood => new TranslatableString(getKey(@"understood"), @"I understand");
public static LocalisableString UserContentConfirmButtonText => new TranslatableString(getKey(@"understood"), @"I understand");
private static string getKey(string key) => $@"{prefix}:{key}";
}

View File

@ -87,8 +87,8 @@ namespace osu.Game.Overlays.BeatmapListing
{
public FeaturedArtistConfirmDialog(Action confirm)
{
HeaderText = BeatmapOverlayStrings.UserContentDisclaimer;
BodyText = BeatmapOverlayStrings.ByTurningOffTheFeatured;
HeaderText = BeatmapOverlayStrings.UserContentDisclaimerHeader;
BodyText = BeatmapOverlayStrings.UserContentDisclaimerDescription;
Icon = FontAwesome.Solid.ExclamationTriangle;
@ -96,7 +96,7 @@ namespace osu.Game.Overlays.BeatmapListing
{
new PopupDialogDangerousButton
{
Text = BeatmapOverlayStrings.Understood,
Text = BeatmapOverlayStrings.UserContentConfirmButtonText,
Action = confirm
},
new PopupDialogCancelButton