// 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 WikiStrings { private const string prefix = @"osu.Game.Resources.Localisation.Web.Wiki"; /// /// "Requested page is not yet translated to the selected language ({0}). Showing English version." /// public static LocalisableString ShowFallbackTranslation(LocalisableString language) => new TranslatableString(getKey(@"show.fallback_translation"), @"Requested page is not yet translated to the selected language ({0}). Showing English version.", language); /// /// "The content on this page is incomplete or outdated. If you are able to help out, please consider updating the article!" /// public static LocalisableString ShowIncompleteOrOutdated => new TranslatableString(getKey(@"show.incomplete_or_outdated"), @"The content on this page is incomplete or outdated. If you are able to help out, please consider updating the article!"); /// /// "Requested page "{0}" could not be found." /// public static LocalisableString ShowMissing(LocalisableString keyword) => new TranslatableString(getKey(@"show.missing"), @"Requested page ""{0}"" could not be found.", keyword); /// /// "Not Found" /// public static LocalisableString ShowMissingTitle => new TranslatableString(getKey(@"show.missing_title"), @"Not Found"); /// /// "Requested page could not be found for currently selected language." /// public static LocalisableString ShowMissingTranslation => new TranslatableString(getKey(@"show.missing_translation"), @"Requested page could not be found for currently selected language."); /// /// "This page does not meet the standards of the osu! wiki and needs to be cleaned up or rewritten. If you are able to help out, please consider updating the article!" /// public static LocalisableString ShowNeedsCleanupOrRewrite => new TranslatableString(getKey(@"show.needs_cleanup_or_rewrite"), @"This page does not meet the standards of the osu! wiki and needs to be cleaned up or rewritten. If you are able to help out, please consider updating the article!"); /// /// "Search existing pages for {0}." /// public static LocalisableString ShowSearch(LocalisableString link) => new TranslatableString(getKey(@"show.search"), @"Search existing pages for {0}.", link); /// /// "This article is incomplete and waiting on someone to expand it." /// public static LocalisableString ShowStub => new TranslatableString(getKey(@"show.stub"), @"This article is incomplete and waiting on someone to expand it."); /// /// "Contents" /// public static LocalisableString ShowToc => new TranslatableString(getKey(@"show.toc"), @"Contents"); /// /// "Show on GitHub" /// public static LocalisableString ShowEditLink => new TranslatableString(getKey(@"show.edit.link"), @"Show on GitHub"); /// /// "Refresh" /// public static LocalisableString ShowEditRefresh => new TranslatableString(getKey(@"show.edit.refresh"), @"Refresh"); /// /// "This translation is provided for convenience only. The original {0} shall be the sole legally binding version of this text." /// public static LocalisableString ShowTranslationLegal(LocalisableString @default) => new TranslatableString(getKey(@"show.translation.legal"), @"This translation is provided for convenience only. The original {0} shall be the sole legally binding version of this text.", @default); /// /// "This page contains an outdated translation of the original content. Please check the {0} for the most accurate information (and consider updating the translation if you are able to help out)!" /// public static LocalisableString ShowTranslationOutdated(LocalisableString @default) => new TranslatableString(getKey(@"show.translation.outdated"), @"This page contains an outdated translation of the original content. Please check the {0} for the most accurate information (and consider updating the translation if you are able to help out)!", @default); /// /// "English version" /// public static LocalisableString ShowTranslationDefault => new TranslatableString(getKey(@"show.translation.default"), @"English version"); private static string getKey(string key) => $@"{prefix}:{key}"; } }