From e4a85da900bc923999b1fe37f8b8c6c0f8b91db2 Mon Sep 17 00:00:00 2001 From: borrageiros Date: Wed, 15 May 2024 13:26:38 +0200 Subject: [PATCH] Test translations --- script_hecho.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/script_hecho.js b/script_hecho.js index a5f185f..e796ff5 100644 --- a/script_hecho.js +++ b/script_hecho.js @@ -2,6 +2,9 @@ // // -Momento en el que se cambia al mapa grande, changeToBigMapOn variable // -Momento en el que se cambia al mapa pequeño, changeToClassicMapOn variable +var translations = { + wellcome: `👋 Welcome ${player.name} !\nEnter "t" before your message to use team chat and "@@" followed by a player name to PM him !` +} // CHANGES BY BORRAGEIROS @@ -3211,7 +3214,7 @@ room.onPlayerJoin = function (player) { }).then((res) => res); } room.sendAnnouncement( - `👋 Welcome ${player.name} !\nEnter "t" before your message to use team chat and "@@" followed by a player name to PM him !`, + translations.wellcome, player.id, welcomeColor, 'bold',