GPCM: Fix positional format strings in ban errors

This commit is contained in:
Palapeli 2025-03-07 09:08:03 -05:00
parent 81475368bd
commit c2ef0069ed
No known key found for this signature in database
GPG Key ID: 1FFE8F556A474925

View File

@ -253,9 +253,9 @@ var (
MessageRMC: map[byte]string{
LangEnglish: "" +
"You are banned from public matches.\n" +
"Reason: %s" +
"Reason: %[3]s\n" +
"Error Code: %[1]d\n" +
"Support Info: NG%08[2]x\n",
"Support Info: NG%08[2]x",
},
}
@ -264,9 +264,9 @@ var (
MessageRMC: map[byte]string{
LangEnglish: "" +
"You have been banned from public matches.\n" +
"Reason: %s" +
"Reason: %[3]s\n" +
"Error Code: %[1]d\n" +
"Support Info: NG%08[2]x\n",
"Support Info: NG%08[2]x",
},
}
@ -309,7 +309,7 @@ var (
MessageRMC: map[byte]string{
LangEnglish: "" +
"You have been kicked from WiiLink WFC.\n" +
"Reason: %s" +
"Reason: %[3]s\n" +
"Error Code: %[1]d\n" +
"Support Info: NG%08[2]x\n",
},