1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-07 21:59:49 -05:00

Add missing localized strings

This commit is contained in:
Jbleezy 2023-12-27 00:02:20 -08:00
parent 5d49990f5e
commit 0ec81ce712
4 changed files with 52 additions and 14 deletions

View File

@ -93,6 +93,30 @@ LANG_ENGLISH "Clip Ammo!"
REFERENCE ZOMBIE_POWERUP_CLIP_EMPTY
LANG_ENGLISH "Clip Empty!"
REFERENCE ZOMBIE_WAITING_FOR_MORE_PLAYER_CAPS
LANG_ENGLISH "WAITING FOR &&1 MORE PLAYER [&&2/&&3]"
REFERENCE ZOMBIE_WAITING_FOR_MORE_PLAYERS_CAPS
LANG_ENGLISH "WAITING FOR &&1 MORE PLAYERS [&&2/&&3]"
REFERENCE ZOMBIE_WAITING_FOR_PLAYER_READY_CAPS
LANG_ENGLISH "WAITING FOR &&1 PLAYER TO BE READY [&&2/&&3]"
REFERENCE ZOMBIE_WAITING_FOR_PLAYERS_READY_CAPS
LANG_ENGLISH "WAITING FOR &&1 PLAYERS TO BE READY [&&2/&&3]"
REFERENCE ZOMBIE_READY_UP_HOWTO_CAPS
LANG_ENGLISH "PRESS ^3[{+gostand}]^7 OR ^3[{+activate}]^7 TO READY UP"
REFERENCE ZOMBIE_PRE_GAME_ENDS_IN_CAPS
LANG_ENGLISH "PRE-GAME ENDS IN"
REFERENCE ZOMBIE_MATCH_BEGINS_IN_CAPS
LANG_ENGLISH "MATCH BEGINS IN"
REFERENCE ZOMBIE_ROUND_BEGINS_IN_CAPS
LANG_ENGLISH "ROUND &&1 BEGINS IN"
REFERENCE ZOMBIE_ZGRIEF_INTRO
LANG_ENGLISH "Make enemy players bleed out to gain score!"
@ -972,6 +996,9 @@ LANG_ENGLISH "Hold ^3[{+activate}]^7 for Quick Revive [Cost: &&1]"
REFERENCE ZOMBIE_PERK_TOMBSTONE
LANG_ENGLISH "Hold ^3[{+activate}]^7 for Tombstone Soda [Cost: &&1]"
REFERENCE ZM_CRAFTABLES_CHANGE_BUILD
LANG_ENGLISH "Press ^3[{+actionslot 1}]^7 or ^3[{+actionslot 2}]^7 to change item"
REFERENCE ZOMBIE_BUILD_TURBINE
LANG_ENGLISH "Hold ^3[{+activate}]^7 to craft Turbine"

View File

@ -693,14 +693,14 @@ wait_for_all_players_ready()
num_waiting_for = level.pregame_minplayers - num_players;
players_str = "PLAYERS";
players_str = &"ZOMBIE_WAITING_FOR_MORE_PLAYERS_CAPS";
if (num_waiting_for == 1)
{
players_str = "PLAYER";
players_str = &"ZOMBIE_WAITING_FOR_MORE_PLAYER_CAPS";
}
level.pregame_hud setText("WAITING FOR " + num_waiting_for + " MORE " + players_str + " [" + num_players + "/" + level.pregame_minplayers + "]");
level.pregame_hud setText(players_str, num_waiting_for, num_players, level.pregame_minplayers);
wait 0.05;
@ -712,7 +712,7 @@ wait_for_all_players_ready()
level.ready_up_hud = createServerFontString("objective", 1.5);
level.ready_up_hud setPoint("CENTER", "CENTER", 0, -115);
level.ready_up_hud.color = (1, 1, 1);
level.ready_up_hud setText("PRESS ^3[{+gostand}]^7 OR ^3[{+activate}]^7 TO READY UP");
level.ready_up_hud setText(&"ZOMBIE_READY_UP_HOWTO_CAPS");
}
if (isDedicated() && !(is_gametype_active("zgrief") && getDvarInt("ui_gametype_team_change")))
@ -723,7 +723,7 @@ wait_for_all_players_ready()
if (!isDefined(level.ready_up_timer_hud))
{
level.ready_up_countdown_hud = countdown_hud("PRE-GAME ENDS IN", level.ready_up_time);
level.ready_up_countdown_hud = countdown_hud(&"ZOMBIE_PRE_GAME_ENDS_IN_CAPS", undefined, level.ready_up_time);
}
}
@ -819,14 +819,14 @@ wait_for_all_players_ready()
num_waiting_for = players.size - num_ready;
players_str = "PLAYERS";
players_str = &"ZOMBIE_WAITING_FOR_PLAYERS_READY_CAPS";
if (num_waiting_for == 1)
{
players_str = "PLAYER";
players_str = &"ZOMBIE_WAITING_FOR_PLAYER_READY_CAPS";
}
level.pregame_hud setText("WAITING FOR " + num_waiting_for + " " + players_str + " TO BE READY [" + num_ready + "/" + players.size + "]");
level.pregame_hud setText(players_str, num_waiting_for, num_ready, players.size);
wait 0.05;
@ -945,7 +945,7 @@ check_for_team_change()
}
}
countdown_hud(text, time)
countdown_hud(text, text_param, time)
{
countdown_hud = createServerFontString("objective", 2.2);
countdown_hud setPoint("CENTER", "CENTER", 0, 0);
@ -959,7 +959,14 @@ countdown_hud(text, time)
countdown_hud thread countdown_hud_timer(time);
countdown_hud.countdown_text setText(text);
if (isdefined(text_param))
{
countdown_hud.countdown_text setText(text, text_param);
}
else
{
countdown_hud.countdown_text setText(text);
}
countdown_hud.alpha = 1;
countdown_hud.countdown_text.alpha = 1;

View File

@ -546,7 +546,7 @@ choose_open_buildable(player)
hud.fontscale = 1;
hud.alpha = 1;
hud.color = (1, 1, 1);
hud settext("Press [{+actionslot 1}] or [{+actionslot 2}] to change item");
hud settext(&"ZM_CRAFTABLES_CHANGE_BUILD");
self.open_buildable_checking_input = 1;
self.openbuildablehudelem = hud;

View File

@ -1103,14 +1103,16 @@ round_start_wait(time, initial)
level thread zombie_spawn_wait(zombie_spawn_time);
text = "MATCH BEGINS IN";
text = &"ZOMBIE_MATCH_BEGINS_IN_CAPS";
text_param = undefined;
if (level.scr_zm_ui_gametype_obj == "zsnr")
{
text = "ROUND " + level.snr_round_number + " BEGINS IN";
text = &"ZOMBIE_ROUND_BEGINS_IN_CAPS";
text_param = level.snr_round_number;
}
countdown_hud = scripts\zm\replaced\_zm::countdown_hud(text, time);
countdown_hud = scripts\zm\replaced\_zm::countdown_hud(text, text_param, time);
wait time;
@ -3455,5 +3457,7 @@ spawn_bots()
}
level.bots[i].pers["isBot"] = 1;
wait 1;
}
}