// 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.Resources.Localisation.Web { public static class ApiStrings { private const string prefix = @"osu.Game.Resources.Localisation.Web.Api"; /// /// "Cannot send blank message." /// public static LocalisableString ErrorChatEmpty => new TranslatableString(getKey(@"error.chat.empty"), @"Cannot send blank message."); /// /// "You are sending messages too quickly, please wait a bit before trying again." /// public static LocalisableString ErrorChatLimitExceeded => new TranslatableString(getKey(@"error.chat.limit_exceeded"), @"You are sending messages too quickly, please wait a bit before trying again."); /// /// "The message you are trying to send is too long." /// public static LocalisableString ErrorChatTooLong => new TranslatableString(getKey(@"error.chat.too_long"), @"The message you are trying to send is too long."); /// /// "Act as a chat bot." /// public static LocalisableString ScopesBot => new TranslatableString(getKey(@"scopes.bot"), @"Act as a chat bot."); /// /// "Identify you and read your public profile." /// public static LocalisableString ScopesIdentify => new TranslatableString(getKey(@"scopes.identify"), @"Identify you and read your public profile."); /// /// "Send messages on your behalf." /// public static LocalisableString ScopesChatWrite => new TranslatableString(getKey(@"scopes.chat.write"), @"Send messages on your behalf."); /// /// "Create and edit forum topics and posts on your behalf." /// public static LocalisableString ScopesForumWrite => new TranslatableString(getKey(@"scopes.forum.write"), @"Create and edit forum topics and posts on your behalf."); /// /// "See who you are following." /// public static LocalisableString ScopesFriendsRead => new TranslatableString(getKey(@"scopes.friends.read"), @"See who you are following."); /// /// "Read public data on your behalf." /// public static LocalisableString ScopesPublic => new TranslatableString(getKey(@"scopes.public"), @"Read public data on your behalf."); private static string getKey(string key) => $@"{prefix}:{key}"; } }