From f00c6819eab68a8f92efbefe9b4eaee4cd4c2328 Mon Sep 17 00:00:00 2001 From: Jbleezy Date: Thu, 28 Dec 2023 03:23:01 -0800 Subject: [PATCH] Convert team change strings to localized strings --- english/localizedstrings/reimagined.str | 6 ++++++ scripts/zm/replaced/_zm_gametype.gsc | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/english/localizedstrings/reimagined.str b/english/localizedstrings/reimagined.str index 87e63cda..a1e4179e 100644 --- a/english/localizedstrings/reimagined.str +++ b/english/localizedstrings/reimagined.str @@ -93,6 +93,12 @@ LANG_ENGLISH "Clip Ammo!" REFERENCE ZOMBIE_POWERUP_CLIP_EMPTY LANG_ENGLISH "Clip Empty!" +REFERENCE ZOMBIE_ONLY_CHANGE_TEAMS_UNBALANCED +LANG_ENGLISH "Can only change teams if unbalanced." + +REFERENCE ZOMBIE_WAITING_FOR_TEAM_CHANGE +LANG_ENGLISH "Waiting for other player to change teams." + REFERENCE ZOMBIE_WAITING_FOR_MORE_PLAYER_CAPS LANG_ENGLISH "WAITING FOR &&1 MORE PLAYER [&&2/&&3]" diff --git a/scripts/zm/replaced/_zm_gametype.gsc b/scripts/zm/replaced/_zm_gametype.gsc index 957f4c60..817c3084 100644 --- a/scripts/zm/replaced/_zm_gametype.gsc +++ b/scripts/zm/replaced/_zm_gametype.gsc @@ -423,7 +423,7 @@ do_team_change() if (teamplayers - 1 <= otherteamplayers) { - self iprintln("Can only change teams if unbalanced."); + self iprintln(&"ZOMBIE_ONLY_CHANGE_TEAMS_UNBALANCED"); return; } } @@ -458,7 +458,7 @@ do_team_change() if (!valid_num) { - self iprintln("Waiting for other player to change teams."); + self iprintln(&"ZOMBIE_WAITING_FOR_TEAM_CHANGE"); level waittill("team_change", team);