From 74e90db64dca62ffdb5b1c50f4c42fbc443423b3 Mon Sep 17 00:00:00 2001 From: Michael McKoy Date: Fri, 27 Jul 2007 00:34:58 +0000 Subject: [PATCH] New phrase file standard, use xxxx.phrases.txt plugin.basecommands.txt not changed at this time --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401193 --- plugins/adminhelp.sp | 2 +- plugins/antiflood.sp | 2 +- plugins/basetriggers.sp | 2 +- plugins/nextmap.sp | 2 +- plugins/reservedslots.sp | 2 +- translations/{plugin.adminhelp.txt => adminhelp.phrases.txt} | 0 translations/{plugin.antiflood.txt => antiflood.phrases.txt} | 0 .../{plugin.basetriggers.txt => basetriggers.phrases.txt} | 0 translations/{plugin.nextmap.txt => nextmap.phrases.txt} | 0 .../{plugin.reservedslots.txt => reservedslots.phrases.txt} | 0 10 files changed, 5 insertions(+), 5 deletions(-) rename translations/{plugin.adminhelp.txt => adminhelp.phrases.txt} (100%) rename translations/{plugin.antiflood.txt => antiflood.phrases.txt} (100%) rename translations/{plugin.basetriggers.txt => basetriggers.phrases.txt} (100%) rename translations/{plugin.nextmap.txt => nextmap.phrases.txt} (100%) rename translations/{plugin.reservedslots.txt => reservedslots.phrases.txt} (100%) diff --git a/plugins/adminhelp.sp b/plugins/adminhelp.sp index 9fa63612..bd8e5452 100644 --- a/plugins/adminhelp.sp +++ b/plugins/adminhelp.sp @@ -38,7 +38,7 @@ public Plugin:myinfo = public OnPluginStart() { LoadTranslations("common.phrases"); - LoadTranslations("plugin.adminhelp"); + LoadTranslations("adminhelp.phrases"); RegConsoleCmd("sm_help", HelpCmd, "Displays SourceMod commands and descriptions"); RegConsoleCmd("sm_searchcmd", HelpCmd, "Searches SourceMod commands"); } diff --git a/plugins/antiflood.sp b/plugins/antiflood.sp index 64cba13a..92675ea8 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("plugin.antiflood"); + LoadTranslations("antiflood.phrases"); RegConsoleCmd("say", CheckChatFlood); RegConsoleCmd("say_team", CheckChatFlood); diff --git a/plugins/basetriggers.sp b/plugins/basetriggers.sp index 084bcaea..c49eb61e 100644 --- a/plugins/basetriggers.sp +++ b/plugins/basetriggers.sp @@ -43,7 +43,7 @@ new Handle:g_Timer_TimeShow = INVALID_HANDLE; public OnPluginStart() { LoadTranslations("common.phrases"); - LoadTranslations("plugin.basetriggers"); + LoadTranslations("basetriggers.phrases"); g_Cvar_TriggerShow = CreateConVar("sm_trigger_show", "1", "Display timeleft to all players? (0 off, 1 on, def. 1)", 0, true, 0.0, true, 1.0); g_Cvar_TimeleftInterval = CreateConVar("sm_timeleft_interval", "0.0", "Display timeleft every x seconds. Default 0.", 0, true, 0.0, true, 1800.0); diff --git a/plugins/nextmap.sp b/plugins/nextmap.sp index b9587b19..dd507455 100644 --- a/plugins/nextmap.sp +++ b/plugins/nextmap.sp @@ -49,7 +49,7 @@ new bool:g_INS = false; public OnPluginStart() { - LoadTranslations("plugin.nextmap"); + LoadTranslations("nextmap.phrases"); g_VGUIMenu = GetUserMessageId("VGUIMenu"); if (g_VGUIMenu == INVALID_MESSAGE_ID) diff --git a/plugins/reservedslots.sp b/plugins/reservedslots.sp index 3743d41b..956817d6 100644 --- a/plugins/reservedslots.sp +++ b/plugins/reservedslots.sp @@ -43,7 +43,7 @@ new Handle:sv_visiblemaxplayers; public OnPluginStart() { - LoadTranslations("plugin.reservedslots"); + LoadTranslations("reservedslots.phrases"); sm_reserved_slots = CreateConVar("sm_reserved_slots", "0", "Number of reserved player slots", 0, true, 0.0); sm_hide_slots = CreateConVar("sm_hide_slots", "0", "If set to 1, reserved slots will hidden (subtracted from the max slot count)", 0, true, 0.0, true, 1.0); diff --git a/translations/plugin.adminhelp.txt b/translations/adminhelp.phrases.txt similarity index 100% rename from translations/plugin.adminhelp.txt rename to translations/adminhelp.phrases.txt diff --git a/translations/plugin.antiflood.txt b/translations/antiflood.phrases.txt similarity index 100% rename from translations/plugin.antiflood.txt rename to translations/antiflood.phrases.txt diff --git a/translations/plugin.basetriggers.txt b/translations/basetriggers.phrases.txt similarity index 100% rename from translations/plugin.basetriggers.txt rename to translations/basetriggers.phrases.txt diff --git a/translations/plugin.nextmap.txt b/translations/nextmap.phrases.txt similarity index 100% rename from translations/plugin.nextmap.txt rename to translations/nextmap.phrases.txt diff --git a/translations/plugin.reservedslots.txt b/translations/reservedslots.phrases.txt similarity index 100% rename from translations/plugin.reservedslots.txt rename to translations/reservedslots.phrases.txt