// 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 NewsStrings { private const string prefix = @"osu.Game.Resources.Localisation.Web.News"; /// /// "osu!news" /// public static LocalisableString IndexTitlePage => new TranslatableString(getKey(@"index.title_page"), @"osu!news"); /// /// "Newer posts" /// public static LocalisableString IndexNavNewer => new TranslatableString(getKey(@"index.nav.newer"), @"Newer posts"); /// /// "Older posts" /// public static LocalisableString IndexNavOlder => new TranslatableString(getKey(@"index.nav.older"), @"Older posts"); /// /// "news" /// public static LocalisableString IndexTitleDefault => new TranslatableString(getKey(@"index.title._"), @"news"); /// /// "frontpage" /// public static LocalisableString IndexTitleInfo => new TranslatableString(getKey(@"index.title.info"), @"frontpage"); /// /// "by {0}" /// public static LocalisableString ShowBy(LocalisableString user) => new TranslatableString(getKey(@"show.by"), @"by {0}", user); /// /// "Newer post" /// public static LocalisableString ShowNavNewer => new TranslatableString(getKey(@"show.nav.newer"), @"Newer post"); /// /// "Older post" /// public static LocalisableString ShowNavOlder => new TranslatableString(getKey(@"show.nav.older"), @"Older post"); /// /// "news" /// public static LocalisableString ShowTitleDefault => new TranslatableString(getKey(@"show.title._"), @"news"); /// /// "post" /// public static LocalisableString ShowTitleInfo => new TranslatableString(getKey(@"show.title.info"), @"post"); /// /// "News Archive" /// public static LocalisableString SidebarArchive => new TranslatableString(getKey(@"sidebar.archive"), @"News Archive"); /// /// "Update" /// public static LocalisableString StoreButton => new TranslatableString(getKey(@"store.button"), @"Update"); /// /// "Listing updated." /// public static LocalisableString StoreOk => new TranslatableString(getKey(@"store.ok"), @"Listing updated."); /// /// "Update" /// public static LocalisableString UpdateButton => new TranslatableString(getKey(@"update.button"), @"Update"); /// /// "Post updated." /// public static LocalisableString UpdateOk => new TranslatableString(getKey(@"update.ok"), @"Post updated."); private static string getKey(string key) => $@"{prefix}:{key}"; } }