Test translations

This commit is contained in:
borrageiros 2024-05-15 13:26:38 +02:00
parent a44062965a
commit e4a85da900

View File

@ -2,6 +2,9 @@
// //
// -Momento en el que se cambia al mapa grande, changeToBigMapOn variable // -Momento en el que se cambia al mapa grande, changeToBigMapOn variable
// -Momento en el que se cambia al mapa pequeño, changeToClassicMapOn 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 // CHANGES BY BORRAGEIROS
@ -3211,7 +3214,7 @@ room.onPlayerJoin = function (player) {
}).then((res) => res); }).then((res) => res);
} }
room.sendAnnouncement( 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, player.id,
welcomeColor, welcomeColor,
'bold', 'bold',