You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
4.7 KiB
C#
94 lines
4.7 KiB
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. 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";
|
|
|
|
/// <summary>
|
|
/// "Bug fixes and minor improvements"
|
|
/// </summary>
|
|
public static LocalisableString Generic => new TranslatableString(getKey(@"generic"), @"Bug fixes and minor improvements");
|
|
|
|
/// <summary>
|
|
/// "changes in {0}"
|
|
/// </summary>
|
|
public static LocalisableString BuildTitle(LocalisableString version) => new TranslatableString(getKey(@"build.title"), @"changes in {0}", version);
|
|
|
|
/// <summary>
|
|
/// "{0} user online|{0} users online"
|
|
/// </summary>
|
|
public static LocalisableString BuildsUsersOnline(LocalisableString countDelimited) => new TranslatableString(getKey(@"builds.users_online"), @"{0} user online|{0} users online", countDelimited);
|
|
|
|
/// <summary>
|
|
/// "by {0}"
|
|
/// </summary>
|
|
public static LocalisableString EntryBy(LocalisableString user) => new TranslatableString(getKey(@"entry.by"), @"by {0}", user);
|
|
|
|
/// <summary>
|
|
/// "changelog listing"
|
|
/// </summary>
|
|
public static LocalisableString IndexPageTitleDefault => new TranslatableString(getKey(@"index.page_title._"), @"changelog listing");
|
|
|
|
/// <summary>
|
|
/// "changes since {0}"
|
|
/// </summary>
|
|
public static LocalisableString IndexPageTitleFrom(LocalisableString from) => new TranslatableString(getKey(@"index.page_title._from"), @"changes since {0}", from);
|
|
|
|
/// <summary>
|
|
/// "changes between {0} and {1}"
|
|
/// </summary>
|
|
public static LocalisableString IndexPageTitleFromTo(LocalisableString from, LocalisableString to) => new TranslatableString(getKey(@"index.page_title._from_to"), @"changes between {0} and {1}", from, to);
|
|
|
|
/// <summary>
|
|
/// "changes in {0}"
|
|
/// </summary>
|
|
public static LocalisableString IndexPageTitleStream(LocalisableString stream) => new TranslatableString(getKey(@"index.page_title._stream"), @"changes in {0}", stream);
|
|
|
|
/// <summary>
|
|
/// "changes in {0} since {1}"
|
|
/// </summary>
|
|
public static LocalisableString IndexPageTitleStreamFrom(LocalisableString stream, LocalisableString from) => new TranslatableString(getKey(@"index.page_title._stream_from"), @"changes in {0} since {1}", stream, from);
|
|
|
|
/// <summary>
|
|
/// "changes in {0} between {1} and {2}"
|
|
/// </summary>
|
|
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);
|
|
|
|
/// <summary>
|
|
/// "changes in {0} up to {1}"
|
|
/// </summary>
|
|
public static LocalisableString IndexPageTitleStreamTo(LocalisableString stream, LocalisableString to) => new TranslatableString(getKey(@"index.page_title._stream_to"), @"changes in {0} up to {1}", stream, to);
|
|
|
|
/// <summary>
|
|
/// "changes up to {0}"
|
|
/// </summary>
|
|
public static LocalisableString IndexPageTitleTo(LocalisableString to) => new TranslatableString(getKey(@"index.page_title._to"), @"changes up to {0}", to);
|
|
|
|
/// <summary>
|
|
/// "Love this update?"
|
|
/// </summary>
|
|
public static LocalisableString SupportHeading => new TranslatableString(getKey(@"support.heading"), @"Love this update?");
|
|
|
|
/// <summary>
|
|
/// "Support further development of osu! and {0} today!"
|
|
/// </summary>
|
|
public static LocalisableString SupportText1(LocalisableString link) => new TranslatableString(getKey(@"support.text_1"), @"Support further development of osu! and {0} today!", link);
|
|
|
|
/// <summary>
|
|
/// "become an osu!supporter"
|
|
/// </summary>
|
|
public static LocalisableString SupportText1Link => new TranslatableString(getKey(@"support.text_1_link"), @"become an osu!supporter");
|
|
|
|
/// <summary>
|
|
/// "Not only will you help speed development, but you will also get some extra features and customisations!"
|
|
/// </summary>
|
|
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}";
|
|
}
|
|
} |