New phrase file standard, use xxxx.phrases.txt
authorMichael McKoy <ferret99gt@gmail.com>
Fri Jul 27 00:34:58 2007 +0000 (2007-07-27)
changeset 118785c0934305bd
parent 1186 5abd46b5b5a6
child 1188 a6f55c7c2be9
New phrase file standard, use xxxx.phrases.txt
plugin.basecommands.txt not changed at this time
plugins/adminhelp.sp
plugins/antiflood.sp
plugins/basetriggers.sp
plugins/nextmap.sp
plugins/reservedslots.sp
translations/adminhelp.phrases.txt
translations/antiflood.phrases.txt
translations/basetriggers.phrases.txt
translations/nextmap.phrases.txt
translations/plugin.adminhelp.txt
translations/plugin.antiflood.txt
translations/plugin.basetriggers.txt
translations/plugin.nextmap.txt
translations/plugin.reservedslots.txt
translations/reservedslots.phrases.txt
     1.1 --- a/plugins/adminhelp.sp	Fri Jul 27 00:28:43 2007 +0000
     1.2 +++ b/plugins/adminhelp.sp	Fri Jul 27 00:34:58 2007 +0000
     1.3 @@ -38,7 +38,7 @@
     1.4  public OnPluginStart()
     1.5  {
     1.6  	LoadTranslations("common.phrases");
     1.7 -	LoadTranslations("plugin.adminhelp");
     1.8 +	LoadTranslations("adminhelp.phrases");
     1.9  	RegConsoleCmd("sm_help", HelpCmd, "Displays SourceMod commands and descriptions");
    1.10  	RegConsoleCmd("sm_searchcmd", HelpCmd, "Searches SourceMod commands");
    1.11  }
     2.1 --- a/plugins/antiflood.sp	Fri Jul 27 00:28:43 2007 +0000
     2.2 +++ b/plugins/antiflood.sp	Fri Jul 27 00:34:58 2007 +0000
     2.3 @@ -40,7 +40,7 @@
     2.4  
     2.5  public OnPluginStart()
     2.6  {
     2.7 -	LoadTranslations("plugin.antiflood");
     2.8 +	LoadTranslations("antiflood.phrases");
     2.9  	
    2.10  	RegConsoleCmd("say", CheckChatFlood);
    2.11  	RegConsoleCmd("say_team", CheckChatFlood);
     3.1 --- a/plugins/basetriggers.sp	Fri Jul 27 00:28:43 2007 +0000
     3.2 +++ b/plugins/basetriggers.sp	Fri Jul 27 00:34:58 2007 +0000
     3.3 @@ -43,7 +43,7 @@
     3.4  public OnPluginStart()
     3.5  {
     3.6  	LoadTranslations("common.phrases");
     3.7 -	LoadTranslations("plugin.basetriggers");
     3.8 +	LoadTranslations("basetriggers.phrases");
     3.9  	
    3.10  	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);	
    3.11  	g_Cvar_TimeleftInterval = CreateConVar("sm_timeleft_interval", "0.0", "Display timeleft every x seconds. Default 0.", 0, true, 0.0, true, 1800.0);
     4.1 --- a/plugins/nextmap.sp	Fri Jul 27 00:28:43 2007 +0000
     4.2 +++ b/plugins/nextmap.sp	Fri Jul 27 00:34:58 2007 +0000
     4.3 @@ -49,7 +49,7 @@
     4.4   
     4.5  public OnPluginStart()
     4.6  {
     4.7 -	LoadTranslations("plugin.nextmap");
     4.8 +	LoadTranslations("nextmap.phrases");
     4.9  	
    4.10  	g_VGUIMenu = GetUserMessageId("VGUIMenu");
    4.11  	if (g_VGUIMenu == INVALID_MESSAGE_ID)
     5.1 --- a/plugins/reservedslots.sp	Fri Jul 27 00:28:43 2007 +0000
     5.2 +++ b/plugins/reservedslots.sp	Fri Jul 27 00:34:58 2007 +0000
     5.3 @@ -43,7 +43,7 @@
     5.4  
     5.5  public OnPluginStart()
     5.6  {
     5.7 -	LoadTranslations("plugin.reservedslots");
     5.8 +	LoadTranslations("reservedslots.phrases");
     5.9  	
    5.10  	sm_reserved_slots = CreateConVar("sm_reserved_slots", "0", "Number of reserved player slots", 0, true, 0.0);
    5.11  	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);
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/translations/adminhelp.phrases.txt	Fri Jul 27 00:34:58 2007 +0000
     6.3 @@ -0,0 +1,34 @@
     6.4 +"Phrases"
     6.5 +{
     6.6 +	"SM help commands"
     6.7 +	{
     6.8 +		"en"			"SourceMod Help: Command Information"
     6.9 +	}
    6.10 +
    6.11 +	"No description available"
    6.12 +	{
    6.13 +		"en"			"No description available"
    6.14 +	}
    6.15 +
    6.16 +	"No commands available"
    6.17 +	{
    6.18 +		"en"			"No commands available"
    6.19 +	}
    6.20 +
    6.21 +	"Type sm_help to see more"
    6.22 +	{
    6.23 +		"#format"		"{1:d}"
    6.24 +		"en"			"Type sm_help {1} to see more commands"
    6.25 +	}
    6.26 +
    6.27 +	"Entries n - m in page k"
    6.28 +	{
    6.29 +		"#format"		"{1:d},{2:d},{3:d}"
    6.30 +		"en"			"Entries {1} - {2} in page {3}"
    6.31 +	}
    6.32 +
    6.33 +	"No matching results found"
    6.34 +	{
    6.35 +		"en"			"No matching results found"
    6.36 +	}
    6.37 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/translations/antiflood.phrases.txt	Fri Jul 27 00:34:58 2007 +0000
     7.3 @@ -0,0 +1,7 @@
     7.4 +"Phrases"
     7.5 +{
     7.6 +	"Flooding the server"
     7.7 +	{
     7.8 +		"en"			"You are flooding the server!"
     7.9 +	}
    7.10 +}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/translations/basetriggers.phrases.txt	Fri Jul 27 00:34:58 2007 +0000
     8.3 @@ -0,0 +1,29 @@
     8.4 +"Phrases"
     8.5 +{
     8.6 +	"Timeleft"
     8.7 +	{
     8.8 +		"en"		"Time remaining for map: "
     8.9 +	}
    8.10 +	
    8.11 +	"Thetime"
    8.12 +	{
    8.13 +		"#format"	"{1:s}"	
    8.14 +		"en"		"The current server time is {1}"
    8.15 +	}
    8.16 +	
    8.17 +	"Friendly Fire On"
    8.18 +	{
    8.19 +		"en"		"Friendly Fire is enabled."
    8.20 +	}
    8.21 +	
    8.22 +	"Friendly Fire Off"
    8.23 +	{
    8.24 +		"en"		"Friendly Fire is disabled."
    8.25 +	}
    8.26 +	
    8.27 +	"Current Map"
    8.28 +	{
    8.29 +		"#format"	"{1:s}"
    8.30 +		"en"		"The current map is {1}."
    8.31 +	}
    8.32 +}
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/translations/nextmap.phrases.txt	Fri Jul 27 00:34:58 2007 +0000
     9.3 @@ -0,0 +1,8 @@
     9.4 +"Phrases"
     9.5 +{
     9.6 +	"Next Map"
     9.7 +	{
     9.8 +		#format			"{1:s}"
     9.9 +		"en"			"Next Map: {1}"
    9.10 +	}
    9.11 +}
    10.1 --- a/translations/plugin.adminhelp.txt	Fri Jul 27 00:28:43 2007 +0000
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,34 +0,0 @@
    10.4 -"Phrases"
    10.5 -{
    10.6 -	"SM help commands"
    10.7 -	{
    10.8 -		"en"			"SourceMod Help: Command Information"
    10.9 -	}
   10.10 -
   10.11 -	"No description available"
   10.12 -	{
   10.13 -		"en"			"No description available"
   10.14 -	}
   10.15 -
   10.16 -	"No commands available"
   10.17 -	{
   10.18 -		"en"			"No commands available"
   10.19 -	}
   10.20 -
   10.21 -	"Type sm_help to see more"
   10.22 -	{
   10.23 -		"#format"		"{1:d}"
   10.24 -		"en"			"Type sm_help {1} to see more commands"
   10.25 -	}
   10.26 -
   10.27 -	"Entries n - m in page k"
   10.28 -	{
   10.29 -		"#format"		"{1:d},{2:d},{3:d}"
   10.30 -		"en"			"Entries {1} - {2} in page {3}"
   10.31 -	}
   10.32 -
   10.33 -	"No matching results found"
   10.34 -	{
   10.35 -		"en"			"No matching results found"
   10.36 -	}
   10.37 -}
    11.1 --- a/translations/plugin.antiflood.txt	Fri Jul 27 00:28:43 2007 +0000
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,7 +0,0 @@
    11.4 -"Phrases"
    11.5 -{
    11.6 -	"Flooding the server"
    11.7 -	{
    11.8 -		"en"			"You are flooding the server!"
    11.9 -	}
   11.10 -}
    12.1 --- a/translations/plugin.basetriggers.txt	Fri Jul 27 00:28:43 2007 +0000
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,29 +0,0 @@
    12.4 -"Phrases"
    12.5 -{
    12.6 -	"Timeleft"
    12.7 -	{
    12.8 -		"en"		"Time remaining for map: "
    12.9 -	}
   12.10 -	
   12.11 -	"Thetime"
   12.12 -	{
   12.13 -		"#format"	"{1:s}"	
   12.14 -		"en"		"The current server time is {1}"
   12.15 -	}
   12.16 -	
   12.17 -	"Friendly Fire On"
   12.18 -	{
   12.19 -		"en"		"Friendly Fire is enabled."
   12.20 -	}
   12.21 -	
   12.22 -	"Friendly Fire Off"
   12.23 -	{
   12.24 -		"en"		"Friendly Fire is disabled."
   12.25 -	}
   12.26 -	
   12.27 -	"Current Map"
   12.28 -	{
   12.29 -		"#format"	"{1:s}"
   12.30 -		"en"		"The current map is {1}."
   12.31 -	}
   12.32 -}
    13.1 --- a/translations/plugin.nextmap.txt	Fri Jul 27 00:28:43 2007 +0000
    13.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.3 @@ -1,8 +0,0 @@
    13.4 -"Phrases"
    13.5 -{
    13.6 -	"Next Map"
    13.7 -	{
    13.8 -		#format			"{1:s}"
    13.9 -		"en"			"Next Map: {1}"
   13.10 -	}
   13.11 -}
    14.1 --- a/translations/plugin.reservedslots.txt	Fri Jul 27 00:28:43 2007 +0000
    14.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.3 @@ -1,7 +0,0 @@
    14.4 -"Phrases"
    14.5 -{
    14.6 -	"Slot reserved"
    14.7 -	{
    14.8 -		"en"			"Dropped to due to slot reservation"
    14.9 -	}
   14.10 -}
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/translations/reservedslots.phrases.txt	Fri Jul 27 00:34:58 2007 +0000
    15.3 @@ -0,0 +1,7 @@
    15.4 +"Phrases"
    15.5 +{
    15.6 +	"Slot reserved"
    15.7 +	{
    15.8 +		"en"			"Dropped to due to slot reservation"
    15.9 +	}
   15.10 +}