1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 09:07:25 +08:00

use same code style

Co-authored-by: frenzibyte <frenzibyte@gmail.com>
This commit is contained in:
kj415j45 2021-07-19 20:02:39 +08:00
parent 48d398b04a
commit 3a4da6b867

View File

@ -51,10 +51,12 @@ namespace osu.Game.Localisation
public static LocalisableString NewsDescription => new TranslatableString(getKey(@"news"), @"get up-to-date on community happenings");
/// <inheritdoc cref="LayoutStrings.MenuHelpGetWiki"/>
public static LocalisableString WikiTitle => LayoutStrings.MenuHelpGetWiki;
public static LocalisableString WikiTitle => PageTitleStrings.MainWikiControllerDefault;
/// <inheritdoc cref="PageTitleStrings.MainWikiControllerDefault"/>
public static LocalisableString WikiDescription => PageTitleStrings.MainWikiControllerDefault;
/// <summary>
/// "knowledge base"
/// </summary>
public static LocalisableString WikiDescription => new TranslatableString(getKey(@"wiki"), @"knowledge base");
private static string getKey(string key) => $"{prefix}:{key}";
}