From da20bb69895bb61b96e2146a5b1b0fea63434ef6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lobo=20Metal=C3=BArgico?= <43734867+LoboMetalurgico@users.noreply.github.com> Date: Mon, 10 Aug 2020 23:07:21 -0300 Subject: [PATCH] Shard Master Translation --- src/sharding.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sharding.js b/src/sharding.js index 1f59e9f..3ae47e5 100644 --- a/src/sharding.js +++ b/src/sharding.js @@ -28,7 +28,7 @@ const manager = new Discord.ShardingManager(`./${pkg.main}`, { totalShards: config.sharding.totalShards }); -const logPrefix = `${chalk.gray('[')}${chalk.yellow('SHARD MASTER')}${chalk.gray(']')}`; +const logPrefix = `${chalk.gray('[')}${chalk.yellow(language.shard.master)}${chalk.gray(']')}`; manager.on('launch', shard => console.log(`${logPrefix} ${shard.id} (${shard.id + 1}/${manager.totalShards}) ${language.shard.launch.replace('[shard] ', '')}`)); process.on('exit', code => console.log(`${logPrefix} ${chalk.red(language.shard.exit)} ${language.shard.exitCode}`, code));