Add i18n support to one string

This is mainly to test the extract CI routine that should automatically
commit after this and add the updated extracted string to the .po
template.
This commit is contained in:
Lucas Nicodemus 2022-10-20 02:21:59 -07:00
parent 28838454f5
commit c297b4523e
No known key found for this signature in database

View file

@ -798,7 +798,7 @@ namespace TShockAPI
{
if (String.IsNullOrEmpty(args.Parameters[0]))
{
args.Player.SendErrorMessage("Bad login attempt.");
args.Player.SendErrorMessage(I18n.C.GetString("Bad login attempt."));
return;
}