Add simple wiki button to lobby (#6230)
This commit is contained in:
committed by
GitHub
parent
bec4b66dd8
commit
4a1949d7f0
@@ -40,6 +40,9 @@ namespace Content.Client.Info
|
||||
var websiteButton = new Button {Text = Loc.GetString("server-info-website-button") };
|
||||
websiteButton.OnPressed += args => uriOpener.OpenUri(UILinks.Website);
|
||||
|
||||
var wikiButton = new Button {Text = Loc.GetString("server-info-wiki-button") };
|
||||
wikiButton.OnPressed += args => uriOpener.OpenUri(UILinks.Wiki);
|
||||
|
||||
var reportButton = new Button { Text = Loc.GetString("server-info-report-button") };
|
||||
reportButton.OnPressed += args => uriOpener.OpenUri(UILinks.BugReport);
|
||||
|
||||
@@ -55,6 +58,7 @@ namespace Content.Client.Info
|
||||
buttons.AddChild(rulesButton);
|
||||
buttons.AddChild(discordButton);
|
||||
buttons.AddChild(websiteButton);
|
||||
buttons.AddChild(wikiButton);
|
||||
buttons.AddChild(reportButton);
|
||||
buttons.AddChild(creditsButton);
|
||||
buttons.AddChild(changelogButton);
|
||||
|
||||
@@ -8,5 +8,6 @@
|
||||
public const string Discord = "https://discordapp.com/invite/t2jac3p";
|
||||
public const string BugReport = "https://github.com/space-wizards/space-station-14/issues/new/choose";
|
||||
public const string Website = "https://spacestation14.io";
|
||||
public const string Wiki = "https://wiki.spacestation14.io";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
server-info-rules-button = Rules
|
||||
server-info-discord-button = Discord
|
||||
server-info-website-button = Website
|
||||
server-info-wiki-button = Wiki
|
||||
server-info-report-button = Report Bugs
|
||||
server-info-credits-button = Credits
|
||||
|
||||
Reference in New Issue
Block a user