Skip to content

Commit c5d0a1f

Browse files
committed
Rename "Label" to "ORTSLabel"
1 parent 46a143d commit c5d0a1f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Source/Documentation/Manual/cabs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ The string appearing on the screen when the mouse browses over a command control
473473
can be customized with following line, to be added within the control block in the
474474
.cvf file::
475475

476-
Label ( "string" )
476+
ORTSLabel ( "string" )
477477
478478
Multiple screen pages on displays
479479
---------------------------------

Source/Orts.Formats.Msts/CabViewFile.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ public CVCDial(STFReader stf, string basepath)
599599
ToDegree = stf.ReadFloat(STFReader.UNITS.None, null);
600600
stf.SkipRestOfBlock();
601601
}),
602-
new STFReader.TokenProcessor("label", ()=>{
602+
new STFReader.TokenProcessor("ortslabel", ()=>{
603603
stf.MustMatch("(");
604604
Label = stf.ReadString();
605605
stf.SkipRestOfBlock();
@@ -693,7 +693,7 @@ public CVCGauge(STFReader stf, string basepath)
693693
}
694694
}),
695695
new STFReader.TokenProcessor("ortsangle", () =>{ Rotation = ParseRotation(stf); }),
696-
new STFReader.TokenProcessor("label", ()=>{
696+
new STFReader.TokenProcessor("ortslabel", ()=>{
697697
stf.MustMatch("(");
698698
Label = stf.ReadString();
699699
stf.SkipRestOfBlock();
@@ -824,7 +824,7 @@ public CVCDigital(STFReader stf, string basepath)
824824
}),
825825
new STFReader.TokenProcessor("ortsfont", ()=>{ParseFont(stf); }),
826826
new STFReader.TokenProcessor("ortsangle", () => {Rotation = ParseRotation(stf); }),
827-
new STFReader.TokenProcessor("label", ()=>{
827+
new STFReader.TokenProcessor("ortslabel", ()=>{
828828
stf.MustMatch("(");
829829
Label = stf.ReadString();
830830
stf.SkipRestOfBlock();
@@ -1073,7 +1073,7 @@ public CVCDiscrete(STFReader stf, string basepath, DiscreteStates discreteState)
10731073
_ValuesRead++;
10741074
}
10751075
}),
1076-
new STFReader.TokenProcessor("label", ()=>{
1076+
new STFReader.TokenProcessor("ortslabel", ()=>{
10771077
stf.MustMatch("(");
10781078
Label = stf.ReadString();
10791079
stf.SkipRestOfBlock();

0 commit comments

Comments
 (0)