small fixes for play position
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 22s

This commit is contained in:
Mylloon 2024-11-01 19:07:15 +01:00
parent 76b10b1469
commit 750c6b4447
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 4 additions and 4 deletions

View file

@ -187,12 +187,12 @@ export default {
return loc.get("c_play_sub2_name"); return loc.get("c_play_sub2_name");
} }
const estimation = timeToString(queue.estimatedDuration);
return `${loc.get("c_play10")} ${pos} (${loc.get("c_play11")}${estimation})`; return `${loc.get("c_play10")} ${pos} (${loc.get("c_play11")}${estimation})`;
}; };
const estimation = timeToString(queue.estimatedDuration);
return await interaction.followUp({ return await interaction.followUp({
content: `⏱️ | \`${title}\` ${loc.get("c_play5")}, ${loc.get("c_play12")} : ${positionEstimation()}.`, content: `⏱️ | \`${title}\` ${loc.get("c_play5")}, ${loc.get("c_play12")} ${positionEstimation()}.`,
}); });
}, },

View file

@ -96,7 +96,7 @@
"c_play7": "Currently playing", "c_play7": "Currently playing",
"c_play8": "Asked by", "c_play8": "Asked by",
"c_play9": "No results were found", "c_play9": "No results were found",
"c_play10": "position", "c_play10": "in position",
"c_play11": "estimation", "c_play11": "estimation",
"c_play12": "play", "c_play12": "play",

View file

@ -96,7 +96,7 @@
"c_play7": "Joue actuellement", "c_play7": "Joue actuellement",
"c_play8": "Demandé par", "c_play8": "Demandé par",
"c_play9": "Aucun résultat trouvé", "c_play9": "Aucun résultat trouvé",
"c_play10": "position", "c_play10": "en position",
"c_play11": "estimation", "c_play11": "estimation",
"c_play12": "joue", "c_play12": "joue",