feat(i18n): localize all newly upgraded command embeds across 6 languages

- Add complete translations for en, ar-SA, ckb, tr, de-DE, and pt-BR
- Localize author headers, fields, and footers for playnext, remove, move, and trackopt
- Localize audio mastering fields for normalize and volumedefault
- Localize Last.fm whoknows leaderboards and Crown Holder cards
- Localize help command inspector and voice channel picker embeds
- Ensure 0 missing keys and 100% translation coverage
This commit is contained in:
NoLogicAlan committed 2026-10-25 04:03:33 +03:00
1 parent 8689dee50a
commit 63433816c4
16 files changed
+420 -120

No files matched your search

+4 -3
View File
@@ -37,6 +37,7 @@ export async function run(message, data) {
if (!p) return;
const from = data.get("from")?.value;
const to = data.get("to")?.value;
const prefix = this.handler?.getPrefix?.(message.message?.guildId ?? message.channel?.guildId) ?? "%";
if (from === null || from === undefined || from < 1) return message.replyEmbed("Source position must be 1 or greater.").catch(() => {});
if (to === null || to === undefined || to < 1) return message.replyEmbed("Target position must be 1 or greater.").catch(() => {});
@@ -49,10 +50,10 @@ export async function run(message, data) {
const embed = new EmbedBuilder()
.setColor(getGlobalColor())
.setAuthor({ name: "🔀 Track Reordered" })
.setAuthor({ name: this.t(message, "responses.move.reorderedAuthor") })
.setTitle(track?.title?.slice(0, 256) || "Reordered Track")
.setDescription(`Moved from position **#${from}** ➔ **#${to}** in the queue.`)
.setFooter({ text: to === 1 ? "Now playing next after the current song • %np" : "%list to view updated queue" });
.setDescription(this.t(message, "responses.move.reorderedDesc", { from, to }))
.setFooter({ text: to === 1 ? this.t(message, "responses.move.nowPlayingNext", { prefix }) : this.t(message, "responses.move.viewUpdatedQueue", { prefix }) });
if (track?.thumbnail) embed.setThumbnail(track.thumbnail);
message.reply({ embeds: [embed] }).catch(() => {});