Rename "Server Info" to ServerInfo (#15436)

This commit is contained in:
Leon Friedrich 2023-04-16 12:55:59 +12:00 committed by GitHub
parent 9269212199
commit 116670ae8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
39 changed files with 27 additions and 27 deletions

View File

@ -61,7 +61,7 @@ namespace Content.Client.Info
private static Control MakeSection(string title, string path, bool markup, IResourceManager res)
{
return new InfoSection(title, res.ContentFileReadAllText($"/Server Info/{path}"), markup);
return new InfoSection(title, res.ContentFileReadAllText($"/ServerInfo/{path}"), markup);
}
}

View File

@ -6,7 +6,7 @@ using Robust.Shared.Log;
namespace Content.Server.Info;
public class InfoSystem : EntitySystem
public sealed class InfoSystem : EntitySystem
{
[Dependency] private readonly IResourceManager _res = default!;
[Dependency] private readonly IConfigurationManager _cfg = default!;
@ -24,7 +24,7 @@ public class InfoSystem : EntitySystem
var rules = "Server could not read its rules.";
try
{
rules = _res.ContentFileReadAllText($"/Server Info/{path}");
rules = _res.ContentFileReadAllText($"/ServerInfo/{path}");
}
catch (Exception)
{

View File

@ -1,4 +1,4 @@
- type: guideEntry
id: Botany
name: guide-entry-botany
text: "/Server Info/Guidebook/Botany.xml"
text: "/ServerInfo/Guidebook/Botany.xml"

View File

@ -1,7 +1,7 @@
- type: guideEntry
id: Engineering
name: guide-entry-engineering
text: "/Server Info/Guidebook/Engineering.xml"
text: "/ServerInfo/Guidebook/Engineering.xml"
children:
- Atmospherics
- Construction
@ -11,29 +11,29 @@
- type: guideEntry
id: Construction
name: guide-entry-construction
text: "/Server Info/Guidebook/Construction.xml"
text: "/ServerInfo/Guidebook/Construction.xml"
- type: guideEntry
id: Atmospherics
name: guide-entry-atmospherics
text: "/Server Info/Guidebook/Atmospherics.xml"
text: "/ServerInfo/Guidebook/Atmospherics.xml"
children:
- Fires
- type: guideEntry
id: Fires
name: guide-entry-fires
text: "/Server Info/Guidebook/Fires.xml"
text: "/ServerInfo/Guidebook/Fires.xml"
- type: guideEntry
id: ShuttleCraft
name: guide-entry-shuttle-craft
text: "/Server Info/Guidebook/Shuttlecraft.xml"
text: "/ServerInfo/Guidebook/Shuttlecraft.xml"
- type: guideEntry
id: Power
name: guide-entry-power
text: "/Server Info/Guidebook/Power.xml"
text: "/ServerInfo/Guidebook/Power.xml"
children:
- AME
- Singularity
@ -41,9 +41,9 @@
- type: guideEntry
id: AME
name: guide-entry-ame
text: "/Server Info/Guidebook/AME.xml"
text: "/ServerInfo/Guidebook/AME.xml"
- type: guideEntry
id: Singularity
name: guide-entry-singularity
text: "/Server Info/Guidebook/Singularity.xml"
text: "/ServerInfo/Guidebook/Singularity.xml"

View File

@ -1,6 +1,6 @@
- type: guideEntry
id: Controls
name: guide-entry-controls
text: "/Server Info/Guidebook/Controls/Controls.xml"
text: "/ServerInfo/Guidebook/Controls/Controls.xml"
children:
- Radio

View File

@ -1,4 +1,4 @@
- type: guideEntry
id: Radio
name: guide-entry-radio
text: "/Server Info/Guidebook/Controls/Radio.xml"
text: "/ServerInfo/Guidebook/Controls/Radio.xml"

View File

@ -1,7 +1,7 @@
- type: guideEntry
id: Science
name: guide-entry-science
text: "/Server Info/Guidebook/Science/Science.xml"
text: "/ServerInfo/Guidebook/Science/Science.xml"
children:
- AnomalousResearch
- Xenoarchaeology
@ -10,7 +10,7 @@
- type: guideEntry
id: AnomalousResearch
name: guide-entry-anomalous-research
text: "/Server Info/Guidebook/Science/AnomalousResearch.xml"
text: "/ServerInfo/Guidebook/Science/AnomalousResearch.xml"
children:
- APE
- ScannersAndVessels
@ -18,17 +18,17 @@
- type: guideEntry
id: ScannersAndVessels
name: guide-entry-scanners-and-vessels
text: "/Server Info/Guidebook/Science/ScannersAndVessels.xml"
text: "/ServerInfo/Guidebook/Science/ScannersAndVessels.xml"
- type: guideEntry
id: APE
name: guide-entry-ape
text: "/Server Info/Guidebook/Science/APE.xml"
text: "/ServerInfo/Guidebook/Science/APE.xml"
- type: guideEntry
id: Xenoarchaeology
name: guide-entry-xenoarchaeology
text: "/Server Info/Guidebook/Science/Xenoarchaeology.xml"
text: "/ServerInfo/Guidebook/Science/Xenoarchaeology.xml"
children:
- ArtifactReports
- TraversalDistorter
@ -36,14 +36,14 @@
- type: guideEntry
id: ArtifactReports
name: guide-entry-artifact-reports
text: "/Server Info/Guidebook/Science/ArtifactReports.xml"
text: "/ServerInfo/Guidebook/Science/ArtifactReports.xml"
- type: guideEntry
id: TraversalDistorter
name: guide-entry-traversal-distorter
text: "/Server Info/Guidebook/Science/TraversalDistorter.xml"
text: "/ServerInfo/Guidebook/Science/TraversalDistorter.xml"
- type: guideEntry
id: MachineUpgrading
name: guide-entry-machine-upgrading
text: "/Server Info/Guidebook/Science/MachineUpgrading.xml"
text: "/ServerInfo/Guidebook/Science/MachineUpgrading.xml"

View File

@ -1,11 +1,11 @@
- type: guideEntry
id: Security
name: guide-entry-security
text: "/Server Info/Guidebook/Security/Security.xml"
text: "/ServerInfo/Guidebook/Security/Security.xml"
children:
- DNA
- type: guideEntry
id: DNA
name: guide-entry-dna
text: "/Server Info/Guidebook/Security/DNA.xml"
text: "/ServerInfo/Guidebook/Security/DNA.xml"

View File

@ -1,7 +1,7 @@
- type: guideEntry
id: Jobs
name: guide-entry-jobs
text: "/Server Info/Guidebook/Jobs.xml"
text: "/ServerInfo/Guidebook/Jobs.xml"
children:
- Botany
- Engineering
@ -11,4 +11,4 @@
- type: guideEntry
id: Survival
name: guide-entry-survival
text: "/Server Info/Guidebook/Survival.xml"
text: "/ServerInfo/Guidebook/Survival.xml"

View File

@ -1,7 +1,7 @@
- type: guideEntry
id: SS14
name: guide-entry-ss14
text: "/Server Info/Guidebook/Space Station 14.xml"
text: "/ServerInfo/Guidebook/Space Station 14.xml"
children:
- Controls
- Jobs