From 5c85a1a50b08a621c83593a0fab39f37d38b1c7b Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 17 Feb 2023 23:01:49 +0100 Subject: [PATCH] remove useless string --- src/locales/en-US.json | 3 ++- src/locales/fr.json | 5 ++--- src/utils/music.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/locales/en-US.json b/src/locales/en-US.json index ccc6f40..1a1a03c 100644 --- a/src/locales/en-US.json +++ b/src/locales/en-US.json @@ -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", diff --git a/src/locales/fr.json b/src/locales/fr.json index 3ca6516..da817db 100644 --- a/src/locales/fr.json +++ b/src/locales/fr.json @@ -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", diff --git a/src/utils/music.ts b/src/utils/music.ts index f29b5d6..21bf43d 100644 --- a/src/utils/music.ts +++ b/src/utils/music.ts @@ -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,