Two more phrases in ice.sp are now able to use translations (bug 4540, r=fyren).

This commit is contained in:
Nicholas Hastings 2010-07-26 19:11:06 -04:00
parent 488de0014e
commit 2722e96fac
2 changed files with 15 additions and 4 deletions

View File

@ -159,11 +159,11 @@ public Action:Timer_Freeze(Handle:timer, any:value)
/* HintText doesn't work on Dark Messiah */
if (g_GameEngine != SOURCE_SDK_DARKMESSIAH)
{
PrintHintText(client, "You are now unfrozen.");
PrintHintText(client, "%t", "Unfrozen");
}
else
{
PrintCenterText(client, "You are now unfrozen.");
PrintCenterText(client, "%t", "Unfrozen");
}
return Plugin_Stop;
@ -171,11 +171,11 @@ public Action:Timer_Freeze(Handle:timer, any:value)
if (g_GameEngine != SOURCE_SDK_DARKMESSIAH)
{
PrintHintText(client, "You will be unfrozen in %d seconds.", g_FreezeTime[client]);
PrintHintText(client, "%t", "You will be unfrozen", g_FreezeTime[client]);
}
else
{
PrintCenterText(client, "You will be unfrozen in %d seconds.", g_FreezeTime[client]);
PrintCenterText(client, "%t", "You will be unfrozen", g_FreezeTime[client]);
}
g_FreezeTime[client]--;

View File

@ -118,6 +118,17 @@
"en" "froze {1}."
}
"Unfrozen"
{
"en" "You are now unfrozen."
}
"You will be unfrozen"
{
"#format" "{1:d}"
"en" "You will be unfrozen in {1} seconds."
}
"Toggled FreezeBomb on target"
{
"#format" "{1:t}"