// 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 ChangelogStrings { private const string prefix = @"osu.Game.Resources.Localisation.Web.Changelog"; /// /// "Bug fixes and minor improvements" /// public static LocalisableString Generic => new TranslatableString(getKey(@"generic"), @"Bug fixes and minor improvements"); /// /// "changes in {0}" /// public static LocalisableString BuildTitle(LocalisableString version) => new TranslatableString(getKey(@"build.title"), @"changes in {0}", version); /// /// "{0} user online|{0} users online" /// public static LocalisableString BuildsUsersOnline(LocalisableString countDelimited) => new TranslatableString(getKey(@"builds.users_online"), @"{0} user online|{0} users online", countDelimited); /// /// "by {0}" /// public static LocalisableString EntryBy(LocalisableString user) => new TranslatableString(getKey(@"entry.by"), @"by {0}", user); /// /// "changelog listing" /// public static LocalisableString IndexPageTitleDefault => new TranslatableString(getKey(@"index.page_title._"), @"changelog listing"); /// /// "changes since {0}" /// public static LocalisableString IndexPageTitleFrom(LocalisableString from) => new TranslatableString(getKey(@"index.page_title._from"), @"changes since {0}", from); /// /// "changes between {0} and {1}" /// public static LocalisableString IndexPageTitleFromTo(LocalisableString from, LocalisableString to) => new TranslatableString(getKey(@"index.page_title._from_to"), @"changes between {0} and {1}", from, to); /// /// "changes in {0}" /// public static LocalisableString IndexPageTitleStream(LocalisableString stream) => new TranslatableString(getKey(@"index.page_title._stream"), @"changes in {0}", stream); /// /// "changes in {0} since {1}" /// public static LocalisableString IndexPageTitleStreamFrom(LocalisableString stream, LocalisableString from) => new TranslatableString(getKey(@"index.page_title._stream_from"), @"changes in {0} since {1}", stream, from); /// /// "changes in {0} between {1} and {2}" /// public static LocalisableString IndexPageTitleStreamFromTo(LocalisableString stream, LocalisableString from, LocalisableString to) => new TranslatableString(getKey(@"index.page_title._stream_from_to"), @"changes in {0} between {1} and {2}", stream, from, to); /// /// "changes in {0} up to {1}" /// public static LocalisableString IndexPageTitleStreamTo(LocalisableString stream, LocalisableString to) => new TranslatableString(getKey(@"index.page_title._stream_to"), @"changes in {0} up to {1}", stream, to); /// /// "changes up to {0}" /// public static LocalisableString IndexPageTitleTo(LocalisableString to) => new TranslatableString(getKey(@"index.page_title._to"), @"changes up to {0}", to); /// /// "Love this update?" /// public static LocalisableString SupportHeading => new TranslatableString(getKey(@"support.heading"), @"Love this update?"); /// /// "Support further development of osu! and {0} today!" /// public static LocalisableString SupportText1(LocalisableString link) => new TranslatableString(getKey(@"support.text_1"), @"Support further development of osu! and {0} today!", link); /// /// "become an osu!supporter" /// public static LocalisableString SupportText1Link => new TranslatableString(getKey(@"support.text_1_link"), @"become an osu!supporter"); /// /// "Not only will you help speed development, but you will also get some extra features and customisations!" /// public static LocalisableString SupportText2 => new TranslatableString(getKey(@"support.text_2"), @"Not only will you help speed development, but you will also get some extra features and customisations!"); private static string getKey(string key) => $@"{prefix}:{key}"; } }