make combo message translatable (#47)

* Update ChatCommandPatch.cs

* Update en_US.json
This commit is contained in:
PHGaming121 authored and GitHub committed 2024-03-27 07:53:36 +01:00
1 parent 8da90a828a
commit c77725b8ef
2 files changed
+3 -2

No files matched your search

+2 -2
View File
@@ -285,7 +285,7 @@ internal class ChatCommands
sb.AppendLine();
}
sb.Append("\n<b><u>Usage Format:</u></b>\n/combo [add/ban/remove/allow] [main role] [addon]");
sb.Append(GetString("ComboUsage"));
Utils.SendMessage("\n", localPlayerId, sb.ToString());
break;
@@ -1421,4 +1421,4 @@ internal class RpcSendChatPatch
__result = true;
return false;
}
}
}
+1
View File
@@ -2067,6 +2067,7 @@
"ComboRemove": "{0} and {1} will no longer spawn together.",
"ComboBan": "{0} and {1} will never spawn together.",
"ComboAllow": "{0} and {1} can now spawn together.",
"ComboUsage": "\n<b><u>Usage Format:</u></b>\n/combo [add/ban/remove/allow] [main role] [addon]",
"ERR-000-000-0": "No Error",
"ERR-000-900-0": "Test Error Lv.0",
"ERR-000-910-1": "Test Error Lv.1",