nominations: implement map not in pool phrase (#597)

New English text is “Map ‘%s’ is not in the nominations pool.”
This commit is contained in:
FlaminSarge 2023-03-29 18:39:54 -07:00 committed by GitHub
parent 4eecc80b9a
commit 5ba9816377
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -145,7 +145,7 @@ public Action Command_Addmap(int client, int args)
int status; int status;
if (!g_mapTrie.GetValue(resolvedMap, status)) if (!g_mapTrie.GetValue(resolvedMap, status))
{ {
ReplyToCommand(client, "%t", "Map was not found", displayName); ReplyToCommand(client, "%t", "Map Not In Pool", displayName);
return Plugin_Handled; return Plugin_Handled;
} }
@ -300,7 +300,7 @@ void AttemptNominate(int client, const char[] map, int size)
int status; int status;
if (!g_mapTrie.GetValue(mapname, status)) if (!g_mapTrie.GetValue(mapname, status))
{ {
ReplyToCommand(client, "%t", "Map was not found", displayName); ReplyToCommand(client, "%t", "Map Not In Pool", displayName);
return; return;
} }

View File

@ -68,4 +68,10 @@
{ {
"en" "Nominated" "en" "Nominated"
} }
"Map Not In Pool"
{
"#format" "{1:s}"
"en" "Map '{1}' is not in the nominations pool."
}
} }