// 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 CommentsStrings { private const string prefix = @"osu.Game.Resources.Localisation.Web.Comments"; /// /// "deleted" /// public static LocalisableString Deleted => new TranslatableString(getKey(@"deleted"), @"deleted"); /// /// "deleted {0} by {1}" /// public static LocalisableString DeletedBy(LocalisableString timeago, LocalisableString user) => new TranslatableString(getKey(@"deleted_by"), @"deleted {0} by {1}", timeago, user); /// /// "system" /// public static LocalisableString DeletedBySystem => new TranslatableString(getKey(@"deleted_by_system"), @"system"); /// /// "{0} deleted comment|{0} deleted comments" /// public static LocalisableString DeletedCount(LocalisableString countDelimited) => new TranslatableString(getKey(@"deleted_count"), @"{0} deleted comment|{0} deleted comments", countDelimited); /// /// "edited {0} by {1}" /// public static LocalisableString Edited(LocalisableString timeago, LocalisableString user) => new TranslatableString(getKey(@"edited"), @"edited {0} by {1}", timeago, user); /// /// "pinned" /// public static LocalisableString Pinned => new TranslatableString(getKey(@"pinned"), @"pinned"); /// /// "No comments yet." /// public static LocalisableString Empty => new TranslatableString(getKey(@"empty"), @"No comments yet."); /// /// "load replies" /// public static LocalisableString LoadReplies => new TranslatableString(getKey(@"load_replies"), @"load replies"); /// /// "{0} reply|{0} replies" /// public static LocalisableString RepliesCount(LocalisableString countDelimited) => new TranslatableString(getKey(@"replies_count"), @"{0} reply|{0} replies", countDelimited); /// /// "Comments" /// public static LocalisableString Title => new TranslatableString(getKey(@"title"), @"Comments"); /// /// "Beatmap" /// public static LocalisableString CommentableNameBeatmapset => new TranslatableString(getKey(@"commentable_name.beatmapset"), @"Beatmap"); /// /// "Changelog" /// public static LocalisableString CommentableNameBuild => new TranslatableString(getKey(@"commentable_name.build"), @"Changelog"); /// /// "News" /// public static LocalisableString CommentableNameNewsPost => new TranslatableString(getKey(@"commentable_name.news_post"), @"News"); /// /// "Deleted Item" /// public static LocalisableString CommentableNameDeleted => new TranslatableString(getKey(@"commentable_name._deleted"), @"Deleted Item"); /// /// "Press enter to {0}. Use shift+enter for new line." /// public static LocalisableString EditorTextareaHintDefault(LocalisableString action) => new TranslatableString(getKey(@"editor.textarea_hint._"), @"Press enter to {0}. Use shift+enter for new line.", action); /// /// "save" /// public static LocalisableString EditorTextareaHintEdit => new TranslatableString(getKey(@"editor.textarea_hint.edit"), @"save"); /// /// "post" /// public static LocalisableString EditorTextareaHintNew => new TranslatableString(getKey(@"editor.textarea_hint.new"), @"post"); /// /// "reply" /// public static LocalisableString EditorTextareaHintReply => new TranslatableString(getKey(@"editor.textarea_hint.reply"), @"reply"); /// /// "Sign in to comment" /// public static LocalisableString GuestButtonNew => new TranslatableString(getKey(@"guest_button.new"), @"Sign in to comment"); /// /// "Sign in to reply" /// public static LocalisableString GuestButtonReply => new TranslatableString(getKey(@"guest_button.reply"), @"Sign in to reply"); /// /// "comments" /// public static LocalisableString IndexNavComments => new TranslatableString(getKey(@"index.nav_comments"), @"comments"); /// /// "listing" /// public static LocalisableString IndexNavTitle => new TranslatableString(getKey(@"index.nav_title"), @"listing"); /// /// "no comments found..." /// public static LocalisableString IndexNoComments => new TranslatableString(getKey(@"index.no_comments"), @"no comments found..."); /// /// "Edit the comment here" /// public static LocalisableString PlaceholderEdit => new TranslatableString(getKey(@"placeholder.edit"), @"Edit the comment here"); /// /// "Type new comment here" /// public static LocalisableString PlaceholderNew => new TranslatableString(getKey(@"placeholder.new"), @"Type new comment here"); /// /// "Type your response here" /// public static LocalisableString PlaceholderReply => new TranslatableString(getKey(@"placeholder.reply"), @"Type your response here"); /// /// "comments" /// public static LocalisableString ShowNavTitle => new TranslatableString(getKey(@"show.nav_title"), @"comments"); private static string getKey(string key) => $@"{prefix}:{key}"; } }