From 5ba98163775ce8a02248c3f3ca3873a044c8f5d6 Mon Sep 17 00:00:00 2001 From: FlaminSarge Date: Wed, 29 Mar 2023 18:39:54 -0700 Subject: [PATCH] nominations: implement map not in pool phrase (#597) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New English text is “Map ‘%s’ is not in the nominations pool.” --- plugins/nominations.sp | 4 ++-- translations/nominations.phrases.txt | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/plugins/nominations.sp b/plugins/nominations.sp index 27226a55..0a083376 100644 --- a/plugins/nominations.sp +++ b/plugins/nominations.sp @@ -145,7 +145,7 @@ public Action Command_Addmap(int client, int args) int 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; } @@ -300,7 +300,7 @@ void AttemptNominate(int client, const char[] map, int size) int status; if (!g_mapTrie.GetValue(mapname, status)) { - ReplyToCommand(client, "%t", "Map was not found", displayName); + ReplyToCommand(client, "%t", "Map Not In Pool", displayName); return; } diff --git a/translations/nominations.phrases.txt b/translations/nominations.phrases.txt index 50916716..81a15bba 100644 --- a/translations/nominations.phrases.txt +++ b/translations/nominations.phrases.txt @@ -68,4 +68,10 @@ { "en" "Nominated" } + + "Map Not In Pool" + { + "#format" "{1:s}" + "en" "Map '{1}' is not in the nominations pool." + } } \ No newline at end of file