Browse Source

Fix `string`s not useding correct `Text` conversion methods

develop
Anton Tarasenko 2 years ago
parent
commit
739376fbc4
  1. 6
      sources/Commands/ACommandUserData.uc

6
sources/Commands/ACommandUserData.uc

@ -30,7 +30,7 @@ protected function BuildData(CommandDataBuilder builder)
builder.ParamText(P("groupName"))
.OptionalParams()
.ParamText(P("dataName"))
.Describe(P("Reads user data stored for targeted user under group"
.Describe(F("Reads user data stored for targeted user under group"
@ "{$TextEmphasis `groupName`} and name"
@ "{$TextEmphasis `dataName`}. If {$TextEmphasis `dataName`} is"
@ "omitted, the data inside the whjole group will be read."));
@ -38,7 +38,7 @@ protected function BuildData(CommandDataBuilder builder)
.ParamText(P("groupName"))
.ParamText(P("dataName"))
.ParamJSON(P("newData"))
.Describe(P("Stores new user data {$TextEmphasis `newData`} for"
.Describe(F("Stores new user data {$TextEmphasis `newData`} for"
@ "targeted user under group {$TextEmphasis `groupName`} and name"
@ "{$TextEmphasis `dataName`}."));
}
@ -87,7 +87,7 @@ private final function UserDataRead(
targetPlayer
.BorrowConsole()
.UseColorOnce(_.color.TextFailure)
.Write(F("There was an internal error with `userdata` command. "))
.Write(P("There was an internal error with `userdata` command. "))
.Write(P("Please report it!"));
return;
}

Loading…
Cancel
Save