// 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 ChatStrings { private const string prefix = @"osu.Game.Resources.Localisation.Web.Chat"; /// /// "talking in {0}" /// public static LocalisableString TalkingIn(LocalisableString channel) => new TranslatableString(getKey(@"talking_in"), @"talking in {0}", channel); /// /// "talking with {0}" /// public static LocalisableString TalkingWith(LocalisableString name) => new TranslatableString(getKey(@"talking_with"), @"talking with {0}", name); /// /// "chat" /// public static LocalisableString TitleCompact => new TranslatableString(getKey(@"title_compact"), @"chat"); /// /// "You cannot message this channel at this time. This may be due to any of the following reasons:" /// public static LocalisableString CannotSendChannel => new TranslatableString(getKey(@"cannot_send.channel"), @"You cannot message this channel at this time. This may be due to any of the following reasons:"); /// /// "You cannot message this user at this time. This may be due to any of the following reasons:" /// public static LocalisableString CannotSendUser => new TranslatableString(getKey(@"cannot_send.user"), @"You cannot message this user at this time. This may be due to any of the following reasons:"); /// /// "You were blocked by the recipient" /// public static LocalisableString CannotSendReasonsBlocked => new TranslatableString(getKey(@"cannot_send.reasons.blocked"), @"You were blocked by the recipient"); /// /// "The channel has been moderated" /// public static LocalisableString CannotSendReasonsChannelModerated => new TranslatableString(getKey(@"cannot_send.reasons.channel_moderated"), @"The channel has been moderated"); /// /// "The recipient only accepts messages from people on their friends list" /// public static LocalisableString CannotSendReasonsFriendsOnly => new TranslatableString(getKey(@"cannot_send.reasons.friends_only"), @"The recipient only accepts messages from people on their friends list"); /// /// "You have not played the game enough" /// public static LocalisableString CannotSendReasonsNotEnoughPlays => new TranslatableString(getKey(@"cannot_send.reasons.not_enough_plays"), @"You have not played the game enough"); /// /// "Your session has not been verified" /// public static LocalisableString CannotSendReasonsNotVerified => new TranslatableString(getKey(@"cannot_send.reasons.not_verified"), @"Your session has not been verified"); /// /// "You are currently restricted" /// public static LocalisableString CannotSendReasonsRestricted => new TranslatableString(getKey(@"cannot_send.reasons.restricted"), @"You are currently restricted"); /// /// "You are currently silenced" /// public static LocalisableString CannotSendReasonsSilenced => new TranslatableString(getKey(@"cannot_send.reasons.silenced"), @"You are currently silenced"); /// /// "The recipient is currently restricted" /// public static LocalisableString CannotSendReasonsTargetRestricted => new TranslatableString(getKey(@"cannot_send.reasons.target_restricted"), @"The recipient is currently restricted"); /// /// "unable to send message..." /// public static LocalisableString InputDisabled => new TranslatableString(getKey(@"input.disabled"), @"unable to send message..."); /// /// "type message..." /// public static LocalisableString InputPlaceholder => new TranslatableString(getKey(@"input.placeholder"), @"type message..."); /// /// "Send" /// public static LocalisableString InputSend => new TranslatableString(getKey(@"input.send"), @"Send"); /// /// "Start conversations from a user's profile or a usercard popup." /// public static LocalisableString NoConversationsHowto => new TranslatableString(getKey(@"no-conversations.howto"), @"Start conversations from a user's profile or a usercard popup."); /// /// "Public channels you join via <a href="{0}">osu!lazer</a> will also be visible here." /// public static LocalisableString NoConversationsLazer(LocalisableString link) => new TranslatableString(getKey(@"no-conversations.lazer"), @"Public channels you join via osu!lazer will also be visible here.", link); /// /// "no conversations yet" /// public static LocalisableString NoConversationsTitle => new TranslatableString(getKey(@"no-conversations.title"), @"no conversations yet"); private static string getKey(string key) => $@"{prefix}:{key}"; } }