From a2a54f60003371c72f7635023a0605a3848750a8 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Fri, 15 Jun 2007 21:03:34 +0000 Subject: [PATCH] Moved antiflood related phrase from core.cfg to plugin.antiflood.cfg --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40945 --- plugins/antiflood.sp | 2 +- translations/core.cfg | 5 ----- translations/plugin.antiflood.cfg | 7 +++++++ 3 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 translations/plugin.antiflood.cfg diff --git a/plugins/antiflood.sp b/plugins/antiflood.sp index 1ecc2179..be328a20 100644 --- a/plugins/antiflood.sp +++ b/plugins/antiflood.sp @@ -40,7 +40,7 @@ new Handle:sm_flood_time; /* Handle to sm_flood_time convar */ public OnPluginStart() { - LoadTranslations("core.cfg"); + LoadTranslations("plugin.antiflood.cfg"); RegConsoleCmd("say", CheckChatFlood); RegConsoleCmd("say_team", CheckChatFlood); diff --git a/translations/core.cfg b/translations/core.cfg index f19140de..d096fadb 100644 --- a/translations/core.cfg +++ b/translations/core.cfg @@ -19,9 +19,4 @@ { "en" "Exit" } - - "Flooding the server" - { - "en" "You are flooding the server!" - } } diff --git a/translations/plugin.antiflood.cfg b/translations/plugin.antiflood.cfg new file mode 100644 index 00000000..0f25ff87 --- /dev/null +++ b/translations/plugin.antiflood.cfg @@ -0,0 +1,7 @@ +"Phrases" +{ + "Flooding the server" + { + "en" "You are flooding the server!" + } +}