// 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." /// public static LocalisableString CannotSendChannel => new TranslatableString(getKey(@"cannot_send.channel"), @"You cannot message this channel at this time."); /// /// "You cannot message this user at this time." /// public static LocalisableString CannotSendUser => new TranslatableString(getKey(@"cannot_send.user"), @"You cannot message this user at this time."); /// /// "There's nothing here, maybe you left the channel or it doesn't exist..." /// public static LocalisableString NotFoundMessage => new TranslatableString(getKey(@"not_found.message"), @"There's nothing here, maybe you left the channel or it doesn't exist..."); /// /// "channel not found" /// public static LocalisableString NotFoundTitle => new TranslatableString(getKey(@"not_found.title"), @"channel not found"); /// /// "unable to send message..." /// public static LocalisableString InputDisabled => new TranslatableString(getKey(@"input.disabled"), @"unable to send message..."); /// /// "Disconnected" /// public static LocalisableString InputDisconnected => new TranslatableString(getKey(@"input.disconnected"), @"Disconnected"); /// /// "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}"; } }