From 2722e96fac625dd36d065db8916891a99a883ac0 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Mon, 26 Jul 2010 19:11:06 -0400 Subject: [PATCH] Two more phrases in ice.sp are now able to use translations (bug 4540, r=fyren). --- plugins/funcommands/ice.sp | 8 ++++---- translations/funcommands.phrases.txt | 11 +++++++++++ 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/plugins/funcommands/ice.sp b/plugins/funcommands/ice.sp index fbe5db3a0..ed281b44e 100644 --- a/plugins/funcommands/ice.sp +++ b/plugins/funcommands/ice.sp @@ -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]--; diff --git a/translations/funcommands.phrases.txt b/translations/funcommands.phrases.txt index fdf1faae0..480f72f0c 100644 --- a/translations/funcommands.phrases.txt +++ b/translations/funcommands.phrases.txt @@ -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}"