fix: Update LabelTo, SendMessage, etc to Interpolated Strings (#1283)
This commit is contained in:
parent
0facd73842
commit
537526a328
94 changed files with 514 additions and 769 deletions
|
|
@ -202,8 +202,8 @@ namespace Server.Items
|
|||
|
||||
public override void OnSingleClick(Mobile from)
|
||||
{
|
||||
LabelTo(from, "{0} by {1}", _title, _author);
|
||||
LabelTo(from, "[{0} pages]", _pages.Length);
|
||||
LabelTo(from, $"{_title} by {_author}");
|
||||
LabelTo(from, $"[{_pages.Length} pages]");
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue