feat: Better message in music category #74

Merged
Anri merged 11 commits from prettify-music into main 2023-02-17 23:06:19 +01:00
3 changed files with 5 additions and 5 deletions
Showing only changes of commit 5c85a1a50b - Show all commits

View file

@ -121,7 +121,8 @@
"c_queue7": "Page",
"c_queue8": "Previous",
"c_queue9": "Next",
"c_queue10": "Sorry, an error occurred.",
"c_queue10": "Currently",
"c_queue11": "Coming up",
"c_skip_name": "skip",
"c_skip_desc": "Play the current song",

View file

@ -122,9 +122,8 @@
"c_queue7": "Page",
"c_queue8": "Précédent",
"c_queue9": "Suivant",
"c_queue10": "Désolé, une erreur est survenue.",
"c_queue11": "Actuellement",
"c_queue12": "À suivre",
"c_queue10": "Actuellement",
"c_queue11": "À suivre",
"c_skip_name": "skip",
"c_skip_desc": "Passe la chanson en cours",

View file

@ -25,7 +25,7 @@ export const embedListQueue = (
embed.setFooter({ text: `${printRepeatMode(queue.repeatMode, loc)}` });
tracks.slice((page - 1) * limit_fields, page * limit_fields).forEach((t, idx) => {
const name = idx == 0 ? loc.get("c_queue11") : idx == 1 ? loc.get("c_queue12") : "\u200b";
const name = idx == 0 ? loc.get("c_queue10") : idx == 1 ? loc.get("c_queue11") : "\u200b";
const idx_track = idx == 0 ? "" : `${idx * page}. `;
embed.addFields({
name,