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
1 changed files with 5 additions and 3 deletions

View File

@ -51,10 +51,12 @@ public static class NamedOverlayComponentStrings
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}";
}