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}"