1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 13:22:55 +08:00

Merge pull request #26378 from wooster0/typos

Fix wiki link path inconsistencies
This commit is contained in:
Bartłomiej Dach 2024-01-04 08:12:04 +01:00 committed by GitHub
commit cfdc9e5887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -275,7 +275,7 @@ Phasellus eu nunc nec ligula semper fringilla. Aliquam magna neque, placerat sed
AddStep("set content", () => AddStep("set content", () =>
{ {
markdownContainer.Text = @" markdownContainer.Text = @"
This is a paragraph containing `inline code` synatax. This is a paragraph containing `inline code` syntax.
Oh wow I do love the `WikiMarkdownContainer`, it is very cool! Oh wow I do love the `WikiMarkdownContainer`, it is very cool!
This is a line before the fenced code block: This is a line before the fenced code block:

View File

@ -17,7 +17,7 @@ namespace osu.Game.Overlays.Wiki
{ {
public partial class WikiHeader : BreadcrumbControlOverlayHeader public partial class WikiHeader : BreadcrumbControlOverlayHeader
{ {
private const string index_path = "Main_Page"; private const string index_path = "Main_page";
public static LocalisableString IndexPageString => LayoutStrings.HeaderHelpIndex; public static LocalisableString IndexPageString => LayoutStrings.HeaderHelpIndex;

View File

@ -19,7 +19,7 @@ namespace osu.Game.Overlays
{ {
public partial class WikiOverlay : OnlineOverlay<WikiHeader> public partial class WikiOverlay : OnlineOverlay<WikiHeader>
{ {
private const string index_path = @"main_page"; private const string index_path = "Main_page";
public string CurrentPath => path.Value; public string CurrentPath => path.Value;
@ -161,7 +161,7 @@ namespace osu.Game.Overlays
path.Value = "error"; path.Value = "error";
LoadDisplay(articlePage = new WikiArticlePage($@"{api.WebsiteRootUrl}/wiki/", LoadDisplay(articlePage = new WikiArticlePage($@"{api.WebsiteRootUrl}/wiki/",
$"Something went wrong when trying to fetch page \"{originalPath}\".\n\n[Return to the main page](Main_Page).")); $"Something went wrong when trying to fetch page \"{originalPath}\".\n\n[Return to the main page](Main_page)."));
} }
private void showParentPage() private void showParentPage()