From c297b4523e419056798c9c75f4357ac823eb0e94 Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Thu, 20 Oct 2022 02:21:59 -0700 Subject: [PATCH] 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. --- TShockAPI/Commands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index 5b9aaf52..1dbe7aa4 100644 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -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; }