diff --git a/commands/autoplay.mjs b/commands/autoplay.mjs index efeb0b3..9738d98 100644 --- a/commands/autoplay.mjs +++ b/commands/autoplay.mjs @@ -594,9 +594,9 @@ export async function run(msg, data) { const embed = new EmbedBuilder() .setColor(0xe9196c) .setAuthor({ name: `🔁 ${this.t(msg, "responses.autoplay.autoplayTitleEnabled")}` }) - .setTitle("🟢 Active") + .setTitle(this.t(msg, "responses.autoplay.statusActive")) .setDescription(this.t(msg, "responses.autoplay.autoplayDescEnabled")) - .setFooter({ text: `${this.t(msg, "responses.autoplay.autoplayEngine")} • ${prefix}autoplay to disable` }); + .setFooter({ text: `${this.t(msg, "responses.autoplay.autoplayEngine")} • ${this.t(msg, "responses.autoplay.disableHint", { prefix })}` }); return msg.reply({ embeds: [embed] }); } else { @@ -614,9 +614,9 @@ export async function run(msg, data) { const embed = new EmbedBuilder() .setColor(0xe9196c) .setAuthor({ name: `⏹️ ${this.t(msg, "responses.autoplay.autoplayTitleDisabled")}` }) - .setTitle("🔴 Disabled") + .setTitle(this.t(msg, "responses.autoplay.statusDisabled")) .setDescription(this.t(msg, "responses.autoplay.autoplayDescDisabled")) - .setFooter({ text: `${prefix}autoplay to enable` }); + .setFooter({ text: this.t(msg, "responses.autoplay.enableHint", { prefix }) }); return msg.reply({ embeds: [embed] }); } diff --git a/commands/bassboost.mjs b/commands/bassboost.mjs index 4b3466d..2fa9774 100644 --- a/commands/bassboost.mjs +++ b/commands/bassboost.mjs @@ -83,9 +83,9 @@ export async function run(message, data) { if (levelArg === "off" || levelArg === "none" || levelArg === "reset") { await p.applyFilter({}, null); embed.setAuthor({ name: `🔊 ${this.t(message, "responses.bassboost.eqTitle")}` }) - .setTitle("⏹️ Bass Boost Off") + .setTitle(this.t(message, "responses.bassboost.offTitle")) .setDescription(this.t(message, "responses.bassboost.disabled")) - .setFooter({ text: `${prefix}bassboost ` }); + .setFooter({ text: this.t(message, "responses.bassboost.offFooter", { prefix }) }); return message.reply({ embeds: [embed] }).catch(() => {}); } @@ -121,7 +121,7 @@ export async function run(message, data) { embed .setAuthor({ name: `🔊 ${this.t(message, "responses.bassboost.eqTitle")}` }) - .setTitle(`Bass Boost: ${preset.label}`) + .setTitle(this.t(message, "responses.bassboost.activeTitle", { level: preset.label })) .setDescription(desc) .setFooter({ text: this.t(message, "responses.bassboost.resetHint", { prefix }) }); diff --git a/commands/clear.mjs b/commands/clear.mjs index 88bcb40..c97e8a5 100644 --- a/commands/clear.mjs +++ b/commands/clear.mjs @@ -61,7 +61,7 @@ export async function run(msg, data) { .setAuthor({ name: `🗑️ ${this.t(msg, "responses.clear.clearedTitle")}` }) .setTitle(this.t(msg, "responses.clear.cleared")) .setDescription(this.t(msg, "responses.clear.clearedSummary", { count, plural: pluralStr })) - .setFooter({ text: `${prefix}play to start a new queue` }); + .setFooter({ text: this.t(msg, "responses.clear.footerHint", { prefix }) }); msg.reply({ embeds: [embed] }).catch(() => {}); } diff --git a/commands/forceleave.mjs b/commands/forceleave.mjs index f5cf540..1633373 100644 --- a/commands/forceleave.mjs +++ b/commands/forceleave.mjs @@ -35,24 +35,27 @@ export const command = new CommandBuilder() */ export async function run(msg, data) { const cid = cleanId(data.get("channelId").value); + const buildForceLeaveEmbed = (desc) => new EmbedBuilder() + .setColor(getGlobalColor()) + .setAuthor({ name: this.t(msg, "responses.forceleave.authorAdmin") }) + .setTitle(this.t(msg, "responses.forceleave.titleEviction")) + .setDescription(desc) + .setFooter({ text: this.t(msg, "responses.forceleave.footerTip", { channel: cid }) }); + const targetChannel = await resolveChannelCached(this.client, cid); if (!targetChannel) { - const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(msg, "responses.forceleave.channelNotFound")); - return msg.reply({ embeds: [embed] }); + return msg.reply({ embeds: [buildForceLeaveEmbed(this.t(msg, "responses.forceleave.channelNotFound"))] }); } if (cleanId(msg.message?.guildId) !== cleanId(targetChannel.guildId)) { - const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(msg, "responses.forceleave.wrongServer")); - return msg.reply({ embeds: [embed] }); + return msg.reply({ embeds: [buildForceLeaveEmbed(this.t(msg, "responses.forceleave.wrongServer"))] }); } const p = this.players.playerMap.get(cid) ?? [...this.players.playerMap.values()].find((player) => cleanId(player?._channelId) === cid); if (!p) { - const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(msg, "responses.forceleave.playerNotFound")); - return msg.reply({ embeds: [embed] }); + return msg.reply({ embeds: [buildForceLeaveEmbed(this.t(msg, "responses.forceleave.playerNotFound"))] }); } if (!p.connection) { - const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(msg, "responses.forceleave.playerNotInit")); - return msg.reply({ embeds: [embed] }); + return msg.reply({ embeds: [buildForceLeaveEmbed(this.t(msg, "responses.forceleave.playerNotInit"))] }); } await this.players.leave(msg, cid); } diff --git a/commands/join.mjs b/commands/join.mjs index 47f9b34..8584f26 100644 --- a/commands/join.mjs +++ b/commands/join.mjs @@ -67,8 +67,13 @@ export async function run(message, data) { if (rawArg) { const resolvedId = resolveChannelId(rawArg, this, message); if (!resolvedId) { - const embed = new EmbedBuilder().setColor(getGlobalColor()) - .setDescription(this.t(message, "responses.join.voiceChannelNotFound")); + const prefix = this.handler.getPrefix(getMessageGuildId(message)); + const embed = new EmbedBuilder() + .setColor(getGlobalColor()) + .setAuthor({ name: this.t(message, "responses.join.promptAuthor") }) + .setTitle(this.t(message, "responses.join.promptTitle")) + .setDescription(this.t(message, "responses.join.voiceChannelNotFound")) + .setFooter({ text: this.t(message, "responses.join.promptFooter", { prefix }) }); return message.reply({ embeds: [embed] }); } return this.players.initPlayer(message, resolvedId); @@ -77,8 +82,12 @@ export async function run(message, data) { const { channelId: cid } = await this.players.checkVoiceChannels(message); if (!cid) { const prefix = this.handler.getPrefix(getMessageGuildId(message)); - const embed = new EmbedBuilder().setColor(getGlobalColor()) - .setDescription(this.t(message, "responses.join.noVoiceChannel", { prefix })); + const embed = new EmbedBuilder() + .setColor(getGlobalColor()) + .setAuthor({ name: this.t(message, "responses.join.promptAuthor") }) + .setTitle(this.t(message, "responses.join.promptTitle")) + .setDescription(this.t(message, "responses.join.noVoiceChannel", { prefix })) + .setFooter({ text: this.t(message, "responses.join.promptFooter", { prefix }) }); return message.reply({ embeds: [embed] }); } diff --git a/commands/lastfm/discovery.mjs b/commands/lastfm/discovery.mjs index 950b8c6..490b6da 100644 --- a/commands/lastfm/discovery.mjs +++ b/commands/lastfm/discovery.mjs @@ -159,23 +159,52 @@ export async function runDiscoveryActions(msg, data, lastfm, prefix, userId, tar }); } - const lines = trendingData.map((item, i) => { - const num = String(i + 1).padStart(2, " "); - const link = item.url ? `[${item.name}](${item.url})` : item.name; - const artistStr = item.artist ? ` by **${item.artist}**` : ""; - const extra = item.listeners ? ` — ${Utils.formatNumber(item.listeners)} ${this.t(msg, "responses.lastfm.listeners")}` : item.playcount ? ` — ${Utils.formatNumber(item.playcount)} ${this.t(msg, "responses.lastfm.plays")}` : ""; - return `\`${num}.\` ${link}${artistStr}${extra}`; - }); + const isArtists = tokenTextTr === "artists"; + trendingTitle = isArtists + ? this.t(msg, "responses.lastfm.trendingTitleArtists") + : this.t(msg, "responses.lastfm.trendingTitleTracks"); - const desc = lines.join("\n").slice(0, 4096); + const top1 = trendingData[0]; + const runners = trendingData.slice(1, 10); - return msg.reply({ - embeds: [new EmbedBuilder() - .setColor(getGlobalColor()) - .setTitle(trendingTitle) - .setDescription(desc) - .setFooter({ text: `💡 Use token option: tracks or artists` })] - }); + const embed = new EmbedBuilder() + .setColor(getGlobalColor()) + .setAuthor({ name: this.t(msg, "responses.lastfm.trendingAuthor") }) + .setTitle(trendingTitle) + .setFooter({ text: this.t(msg, "responses.lastfm.trendingFooterPro", { prefix }) }); + + if (top1) { + const link = top1.url ? `[${top1.name}](${top1.url})` : top1.name; + const artistStr = top1.artist ? ` by **${top1.artist}**` : ""; + const extra = top1.listeners + ? ` · **${Utils.formatNumber(top1.listeners)}** ${this.t(msg, "responses.lastfm.listeners")}` + : (top1.playcount ? ` · **${Utils.formatNumber(top1.playcount)}** ${this.t(msg, "responses.lastfm.plays")}` : ""); + embed.addFields({ + name: `🥇 ${this.t(msg, "responses.lastfm.trendingPodium1")}`, + value: `**${link}**${artistStr}${extra}`, + inline: false + }); + } + + if (runners.length > 0) { + const MEDALS = ["🥈", "🥉"]; + const lines = runners.map((item, i) => { + const badge = i < 2 ? MEDALS[i] : `\`#${i + 2}\``; + const link = item.url ? `[${item.name}](${item.url})` : item.name; + const artistStr = item.artist ? ` · ${item.artist}` : ""; + const extra = item.listeners + ? ` (${Utils.formatNumber(item.listeners)})` + : (item.playcount ? ` (${Utils.formatNumber(item.playcount)})` : ""); + return `${badge} **${link}**${artistStr}${extra}`; + }); + embed.addFields({ + name: `🔥 ${this.t(msg, "responses.lastfm.trendingRunnersUp")}`, + value: lines.join("\n").slice(0, 1024), + inline: false + }); + } + + return msg.reply({ embeds: [embed] }); } case "geo": diff --git a/commands/lastfm/help.mjs b/commands/lastfm/help.mjs index 5f85288..3861153 100644 --- a/commands/lastfm/help.mjs +++ b/commands/lastfm/help.mjs @@ -1,8 +1,7 @@ /** * @module commands/lastfm/help - * @description Fallback help action for the lastfm command (the original - * switch's `default` branch). Extracted verbatim; reached when the action - * matches no known action name. + * @description Fallback help action for the lastfm command. + * Dispatched when the subcommand action matches 'help' or an unknown action. */ import { EmbedBuilder } from "@fluxerjs/core"; @@ -17,83 +16,45 @@ import { getGlobalColor } from "../../src/ui/index.mjs"; * @param {string} userId - The invoking user's ID. * @param {string|null} targetUserId - The targeted user's ID, if any. * @param {string} action - The resolved action name. - * @returns {Promise<*>} Whatever the original switch returned for this action. + * @returns {Promise<*>} Embed response for Last.fm help. */ export async function runLastFmHelp(msg, data, lastfm, prefix, userId, targetUserId, action) { - return msg.reply({ - embeds: [new EmbedBuilder() - .setColor(getGlobalColor()) - .setDescription([ - `🎵 **Last.fm Commands:**`, - ``, - `\`${prefix}lastfm link\` — Link your Last.fm account`, - `\`${prefix}lastfm unlink\` — Disconnect your account`, - `\`${prefix}lastfm scrobble\` — Toggle auto-scrobbling`, - `\`${prefix}lastfm np\` — Show your Last.fm now playing`, - `\`${prefix}lastfm profile\` — View your Last.fm profile (or another user's with user option)`, - `\`${prefix}lastfm loved\` — View your loved tracks`, - `\`${prefix}lastfm top\` — View your top tracks (supports period)`, - `\`${prefix}lastfm artists\` — View your top artists (supports period)`, - `\`${prefix}lastfm recent\` — View your recent tracks`, - `\`${prefix}lastfm playlists\` — View your Last.fm playlists`, - `\`${prefix}lastfm leaderboard\` — Scrobble leaderboard`, - `\`${prefix}lastfm love\` — Love the current track`, - `\`${prefix}lastfm unlove\` — Unlove the current track`, - ``, - `🔍 **Info Commands:**`, - `\`${prefix}lastfm whoknows [artist]\` — Who in the server listens to an artist`, - `\`${prefix}lastfm whoknowstrack\` — Who knows a specific track`, - `\`${prefix}lastfm whoknowsalbum\` — Who knows a specific album`, - `\`${prefix}lastfm artistinfo\` — Detailed info about an artist`, - `\`${prefix}lastfm albuminfo\` — Detailed info about an album`, - `\`${prefix}lastfm trackinfo\` — Detailed info about a track`, - `\`${prefix}lastfm topalbums\` — View your top albums (supports period)`, - `\`${prefix}lastfm toptags\` — View your top tags/genres`, - `\`${prefix}lastfm tag \` — View info about a specific tag`, - `\`${prefix}lastfm compare @user\` — Compare your taste with another user`, - `\`${prefix}lastfm cover\` — Get album cover art for the current track`, - ``, - `🏷️ **Tag Commands:**`, - `\`${prefix}lastfm artisttags\` — Top tags for an artist`, - `\`${prefix}lastfm albumtags\` — Top tags for an album`, - `\`${prefix}lastfm tracktags\` — Top tags for a track`, - `\`${prefix}lastfm tagalbums \` — Top albums for a tag`, - ``, - `👥 **Social Commands:**`, - `\`${prefix}lastfm affinity\` — Find users with similar taste`, - `\`${prefix}lastfm crowns\` — View your artist crowns (#1 listener)`, - `\`${prefix}lastfm friends\` — View your Last.fm friends`, - `\`${prefix}lastfm refreshmembers\` — Refresh server member cache`, - ``, - `📊 **Charts & Discovery:**`, - `\`${prefix}lastfm weekly [artists|tracks|albums]\` — Weekly charts`, - `\`${prefix}lastfm trending [tracks|artists]\` — Global trending on Last.fm`, - `\`${prefix}lastfm geo [artists|tracks] \` — Top by country`, - `\`${prefix}lastfm artisttracks\` — Your scrobbles for an artist`, - `\`${prefix}lastfm search \` — Universal search`, - ``, - `🎶 **Play from Last.fm:**`, - `\`${prefix}lastfm play loved\` — Play your loved tracks`, - `\`${prefix}lastfm play top\` — Play your top tracks`, - `\`${prefix}lastfm play recent\` — Play your recent tracks`, - `\`${prefix}lastfm play albums\` — Play your top albums`, - `\`${prefix}lastfm play artists\` — Play your top artists' tracks`, - `\`${prefix}lastfm play playlist 1\` — Play a playlist`, - ``, - `🎧 **Play with a specific provider (defaults to \`top\`):**`, - `\`${prefix}lastfm play sp\` or \`${prefix}lastfm play sp:top\` — Play top tracks, search on Spotify`, - `\`${prefix}lastfm play td\` or \`${prefix}lastfm play td:top\` — Play top tracks, search on Tidal`, - `\`${prefix}lastfm play dz\` or \`${prefix}lastfm play dz:top\` — Play top tracks, search on Deezer`, - `\`${prefix}lastfm play yt\` or \`${prefix}lastfm play yt:top\` — Play top tracks, search on YouTube`, - ``, - `🎧 **Last.fm as resolve provider (all categories):**`, - `\`${prefix}lastfm play lf:loved\` — Play loved tracks, search on Last.fm`, - `\`${prefix}lastfm play lf:top\` — Play top tracks, search on Last.fm`, - `\`${prefix}lastfm play lf:recent\` — Play recent tracks, search on Last.fm`, - `\`${prefix}lastfm play lf:albums\` — Play top albums, search on Last.fm`, - `\`${prefix}lastfm play lf:artists\` — Play top artists, search on Last.fm`, - ``, - `💡 Or use inline: \`${prefix}play lastfm:loved\` or \`${prefix}play lastfm:sp\` or \`${prefix}play lastfm:td:top\``, - ].join("\n"))] - }); + const pfx = prefix || "%"; + + const accountLines = [ + `• \`${pfx}fm link\` · \`${pfx}fm unlink\` · \`${pfx}fm scrobble\` · \`${pfx}fm np\``, + `• \`${pfx}fm profile\` · \`${pfx}fm loved\` · \`${pfx}fm top\` · \`${pfx}fm artists\` · \`${pfx}fm recent\``, + `• \`${pfx}fm love\` · \`${pfx}fm unlove\` · \`${pfx}fm playlists\`` + ].join("\n"); + + const discoveryLines = [ + `• \`${pfx}fm artistinfo\` · \`${pfx}fm albuminfo\` · \`${pfx}fm trackinfo\` · \`${pfx}fm cover\``, + `• \`${pfx}fm trending\` · \`${pfx}fm weekly\` · \`${pfx}fm tag \` · \`${pfx}fm geo \``, + `• \`${pfx}fm artisttags\` · \`${pfx}fm albumtags\` · \`${pfx}fm tagalbums \`` + ].join("\n"); + + const socialLines = [ + `• \`${pfx}whoknows [artist]\` · \`${pfx}fm wkt\` · \`${pfx}fm wka\``, + `• \`${pfx}fm crowns\` · \`${pfx}fm compare @user\` · \`${pfx}fm affinity\` · \`${pfx}fm lb\``, + `• \`${pfx}fm friends\` · \`${pfx}fm refreshmembers\`` + ].join("\n"); + + const playbackLines = [ + `• \`${pfx}fm play loved\` · \`${pfx}fm play top\` · \`${pfx}fm play albums\` · \`${pfx}fm play artists\``, + `• Cross-provider: \`${pfx}fm play sp:top\` (Spotify) · \`yt:top\` · \`dz:top\` · \`td:top\`` + ].join("\n"); + + const embed = new EmbedBuilder() + .setColor(getGlobalColor()) + .setAuthor({ name: this.t(msg, "responses.lastfm.helpAuthor") }) + .setTitle(this.t(msg, "responses.lastfm.helpTitle")) + .addFields( + { name: this.t(msg, "responses.lastfm.helpCategoryAccount"), value: accountLines, inline: false }, + { name: this.t(msg, "responses.lastfm.helpCategoryDiscovery"), value: discoveryLines, inline: false }, + { name: this.t(msg, "responses.lastfm.helpCategorySocial"), value: socialLines, inline: false }, + { name: this.t(msg, "responses.lastfm.helpCategoryPlayback"), value: playbackLines, inline: false } + ) + .setFooter({ text: this.t(msg, "responses.lastfm.helpFooterPro", { prefix: pfx }) }); + + return msg.reply({ embeds: [embed] }); } diff --git a/commands/lastfm/info.mjs b/commands/lastfm/info.mjs index 2d6b94e..e8f18c4 100644 --- a/commands/lastfm/info.mjs +++ b/commands/lastfm/info.mjs @@ -196,18 +196,39 @@ export async function runInfoActions(msg, data, lastfm, prefix, userId, targetUs const embed = new EmbedBuilder() .setColor(getGlobalColor()) + .setAuthor({ name: this.t(msg, "responses.lastfm.albumSpotlightAuthor") }) .setTitle(`💿 ${info.name}`) .setURL(info.url || undefined) .setThumbnail(info.image || undefined); - const fields = []; - if (info.artist) { - fields.push({ name: "Artist", value: info.artist, inline: true }); + embed.setDescription(`*by* **${info.artist}**`); } + const fields = []; + if (info.userplaycount != null && user) { - fields.push({ name: "Your Plays", value: Utils.formatNumber(info.userplaycount), inline: true }); + fields.push({ + name: `🎧 ${this.t(msg, "responses.lastfm.albumFieldYourPlays")}`, + value: `**${Utils.formatNumber(info.userplaycount)}**`, + inline: true, + }); + } + + if (info.tracks?.length) { + fields.push({ + name: `🎼 ${this.t(msg, "responses.lastfm.albumFieldTracks")}`, + value: `**${info.tracks.length}**`, + inline: true, + }); + } + + if (info.listeners) { + fields.push({ + name: `👥 ${this.t(msg, "responses.lastfm.trackFieldListeners")}`, + value: `**${Utils.formatNumber(Number(info.listeners))}**`, + inline: true, + }); } if (info.tags?.length) { @@ -215,21 +236,36 @@ export async function runInfoActions(msg, data, lastfm, prefix, userId, targetUs const tagLower = String(t).toLowerCase().replace(/\s+/g, "+"); return `[${t}](https://www.last.fm/tag/${encodeURIComponent(tagLower)})`; }).join(" · "); - fields.push({ name: "Tags", value: tagStr, inline: false }); + fields.push({ + name: `🏷️ ${this.t(msg, "responses.lastfm.albumFieldTags")}`, + value: tagStr, + inline: false, + }); } if (info.tracks?.length) { - const trackLines = info.tracks.slice(0, 15).map((t, i) => { - const num = String(i + 1).padStart(2, " "); + const trackLines = info.tracks.slice(0, 10).map((t, i) => { + const num = String(i + 1).padStart(2, "0"); const dur = t.duration > 0 ? ` (${formatDuration(t.duration)})` : ""; const link = t.url ? `[${t.name}](${t.url})` : t.name; return `\`${num}.\` ${link}${dur}`; }); - fields.push({ name: "Tracklist", value: trackLines.join("\n").slice(0, 1024), inline: false }); + const extraCount = info.tracks.length > 10 ? `\n*... +${info.tracks.length - 10} more*` : ""; + fields.push({ + name: `📜 ${this.t(msg, "responses.lastfm.albumFieldTracklist")}`, + value: (trackLines.join("\n") + extraCount).slice(0, 1024), + inline: false, + }); } embed.addFields(...fields); - embed.setFooter({ text: user ? `Last.fm: ${user.username}` : "Last.fm" }); + embed.setFooter({ + text: this.t(msg, "responses.lastfm.albumFooterPro", { + prefix, + artist: info.artist || "Artist", + album: info.name, + }), + }); return msg.reply({ embeds: [embed] }); } @@ -291,6 +327,7 @@ export async function runInfoActions(msg, data, lastfm, prefix, userId, targetUs const embed = new EmbedBuilder() .setColor(getGlobalColor()) + .setAuthor({ name: this.t(msg, "responses.lastfm.trackSpotlightAuthor") }) .setTitle(`🎵 ${info.name}`) .setURL(info.url || undefined); @@ -298,30 +335,55 @@ export async function runInfoActions(msg, data, lastfm, prefix, userId, targetUs embed.setThumbnail(info.album?.image?.[2]?.["#text"] || info.album?.image?.[1]?.["#text"]); } + let desc = ""; + if (info.artist?.name || info.artist?.["#text"]) { + const aName = String(info.artist?.name ?? info.artist?.["#text"]); + desc += `*by* **${aName}**`; + } + if (info.album?.title) { + desc += ` · *from* **${info.album.title}**`; + } + if (info.wiki?.summary) { + const cleanSummary = info.wiki.summary.replace(/<[^>]*>/g, "").trim(); + if (cleanSummary.length > 0) { + const truncated = cleanSummary.length > 200 ? cleanSummary.slice(0, 197) + "..." : cleanSummary; + desc += (desc ? "\n\n" : "") + truncated; + } + } + if (desc) embed.setDescription(desc); + const fields = []; - if (info.artist?.name || info.artist?.["#text"]) { - fields.push({ name: "Artist", value: String(info.artist?.name ?? info.artist?.["#text"] ?? "Unknown"), inline: true }); - } - - if (info.album?.title) { - fields.push({ name: "Album", value: info.album.title, inline: true }); - } - if (info.listeners) { - fields.push({ name: "Listeners", value: Utils.formatNumber(Number(info.listeners)), inline: true }); + fields.push({ + name: `👥 ${this.t(msg, "responses.lastfm.trackFieldListeners")}`, + value: `**${Utils.formatNumber(Number(info.listeners))}**`, + inline: true, + }); } if (info.playcount) { - fields.push({ name: "Global Plays", value: Utils.formatNumber(Number(info.playcount)), inline: true }); + fields.push({ + name: `📈 ${this.t(msg, "responses.lastfm.trackFieldPlays")}`, + value: `**${Utils.formatNumber(Number(info.playcount))}**`, + inline: true, + }); } if (info.userplaycount) { - fields.push({ name: "Your Plays", value: Utils.formatNumber(Number(info.userplaycount)), inline: true }); + fields.push({ + name: `🎧 ${this.t(msg, "responses.lastfm.trackFieldUserPlays")}`, + value: `**${Utils.formatNumber(Number(info.userplaycount))}**`, + inline: true, + }); } const userLoved = info.userloved === "1" || info.userloved === 1 || info.userloved === true; - fields.push({ name: "Loved", value: userLoved ? "❤️ Yes" : "🖤 No", inline: true }); + fields.push({ + name: `❤️ ${this.t(msg, "responses.lastfm.trackFieldLoved")}`, + value: userLoved ? this.t(msg, "responses.lastfm.lovedStatusYes") : this.t(msg, "responses.lastfm.lovedStatusNo"), + inline: true, + }); if (info.toptags?.tag?.length) { const tagStr = info.toptags.tag.slice(0, 8).map(t => { @@ -329,34 +391,40 @@ export async function runInfoActions(msg, data, lastfm, prefix, userId, targetUs const tagLower = String(tagName).toLowerCase().replace(/\s+/g, "+"); return `[${tagName}](https://www.last.fm/tag/${encodeURIComponent(tagLower)})`; }).join(" · "); - fields.push({ name: "Tags", value: tagStr, inline: false }); - } - - embed.addFields(...fields); - - if (info.wiki?.summary) { - const cleanSummary = info.wiki.summary.replace(/<[^>]*>/g, "").trim(); - if (cleanSummary.length > 0) { - const truncated = cleanSummary.length > 200 ? cleanSummary.slice(0, 197) + "..." : cleanSummary; - embed.setDescription(truncated); - } + fields.push({ + name: `🏷️ ${this.t(msg, "responses.lastfm.trackFieldTags")}`, + value: tagStr, + inline: false, + }); } let similarTracks = []; try { - similarTracks = await lastfm.getSimilarTracks(artistName, trackName, 5); + similarTracks = await lastfm.getSimilarTracks(artistName, trackName, 4); } catch(e) { logger.warn("[LastFm] Error:", e?.message); } if (similarTracks.length) { const simStr = similarTracks.map(t => { const matchPct = Math.round(t.match * 100); const link = t.url ? `[${t.name}](${t.url})` : t.name; - return `${link} by **${t.artist}** (${matchPct}%)`; + return `${link} — **${t.artist}** \`(${matchPct}% match)\``; }).join("\n"); - embed.addFields({ name: "Similar Tracks", value: simStr.slice(0, 1024), inline: false }); + fields.push({ + name: `✨ ${this.t(msg, "responses.lastfm.trackFieldSimilar")}`, + value: simStr.slice(0, 1024), + inline: false, + }); } - embed.setFooter({ text: `Last.fm: ${user.username}` }); + embed.addFields(...fields); + embed.setFooter({ + text: this.t(msg, "responses.lastfm.trackFooterPro", { + prefix, + user: user.username, + track: info.name, + artist: artistName, + }), + }); return msg.reply({ embeds: [embed] }); } diff --git a/commands/lastfm/listening.mjs b/commands/lastfm/listening.mjs index edd36a8..34613e3 100644 --- a/commands/lastfm/listening.mjs +++ b/commands/lastfm/listening.mjs @@ -36,25 +36,32 @@ export const LISTENING_ACTIONS = new Set([ * @param {function(string, object=): string} tr - Translator bound to the invoking message. * @param {boolean} [showPlaycount=false] - Whether to show play counts. * @param {string} [prefix="%"] - The command prefix for the footer hint. + * @param {string|null} [authorName=null] - Optional author header text. * @returns {EmbedBuilder} The constructed embed. */ -function buildTrackList(username, title, tracks, tr, showPlaycount = false, prefix = "%") { +function buildTrackList(username, title, tracks, tr, showPlaycount = false, prefix = "%", authorName = null) { const lines = tracks.map((t, i) => { - const num = String(i + 1).padStart(2, " "); + const num = String(i + 1).padStart(2, "0"); let name = t.name; if (name.length > 40) name = name.slice(0, 37) + "..."; const link = t.url ? `[${name}](${t.url})` : name; - const extra = showPlaycount && t.playcount ? ` (${t.playcount} ${tr("responses.lastfm.plays")})` : ""; + const extra = showPlaycount && t.playcount ? ` \`(${t.playcount} ${tr("responses.lastfm.plays")})\`` : ""; return `\`${num}.\` ${link} — **${t.artist}**${extra}`; }); const desc = lines.join("\n").slice(0, 4096); - return new EmbedBuilder() + const embed = new EmbedBuilder() .setColor(getGlobalColor()) .setTitle(title) /* locale titles (lovedTitle/topTitle/recentTitle) already embed {{username}} */ .setDescription(desc) .setFooter({ text: tr("responses.lastfm.trackListFooter", { prefix }) }); + + if (authorName) { + embed.setAuthor({ name: authorName }); + } + + return embed; } /** @@ -70,29 +77,43 @@ function buildTrackList(username, title, tracks, tr, showPlaycount = false, pref * @returns {EmbedBuilder} The constructed embed. */ function buildLeaderboardEmbed(lb, pageIdx, prefix, tr, opts = {}) { - const MEDALS = ["🥇", "🥈", "🥉"]; const startRank = pageIdx * lb.perPage; const requesterId = opts.requesterId ? String(opts.requesterId) : null; const lines = lb.entries.map((entry, i) => { const rank = startRank + i + 1; - const head = rank <= 3 ? `${MEDALS[rank - 1]} ` : ""; const who = entry.userId ? `<@${entry.userId}>` : (entry.username || "?"); - const lfName = entry.username ? ` — *${entry.username}*` : ""; + const lfName = entry.username ? ` (*${entry.username}*)` : ""; const marker = requesterId && String(entry.userId) === requesterId ? ` **${tr("responses.lastfm.leaderboardYou")}**` : ""; const count = Utils.formatNumber(entry.scrobbleCount); - return `${head}**${rank}.** ${who}${lfName} — **${count}** ${tr("responses.lastfm.leaderboardScrobbles")}${marker}`; + + if (rank === 1) { + return `🥇 **#1 ${tr("responses.lastfm.leaderboardChampion")}**\n> ${who}${lfName} — **${count}** ${tr("responses.lastfm.leaderboardScrobbles")}${marker}`; + } + if (rank === 2) { + return `🥈 **#2** ${who}${lfName} — **${count}** ${tr("responses.lastfm.leaderboardScrobbles")}${marker}`; + } + if (rank === 3) { + return `🥉 **#3** ${who}${lfName} — **${count}** ${tr("responses.lastfm.leaderboardScrobbles")}${marker}`; + } + const num = String(rank).padStart(2, "0"); + return `\`${num}.\` ${who}${lfName} — **${count}** ${tr("responses.lastfm.leaderboardScrobbles")}${marker}`; }); - const desc = (lines.join("\n") + (opts.extraLine ? `\n\n${opts.extraLine}` : "")).slice(0, 4096); + let desc = lines.join("\n\n"); + if (opts.extraLine) { + desc += `\n\n────────────────────\n${opts.extraLine}`; + } + const title = lb.scope === "server" ? tr("responses.lastfm.leaderboardTitleServer") : tr("responses.lastfm.leaderboardTitleGlobal"); return new EmbedBuilder() .setColor(getGlobalColor()) + .setAuthor({ name: tr("responses.lastfm.leaderboardAuthorPro") }) .setTitle(title) - .setDescription(desc) + .setDescription(desc.slice(0, 4096)) .setFooter({ text: tr("responses.lastfm.leaderboardFooterSync", { prefix }) }); } @@ -130,7 +151,7 @@ export async function runListeningActions(msg, data, lastfm, prefix, userId, tar }); } - return msg.reply({ embeds: [buildTrackList(user.username, tr("responses.lastfm.lovedTitle", { username: user.username }), tracks, tr, false, prefix)] }); + return msg.reply({ embeds: [buildTrackList(user.username, tr("responses.lastfm.lovedTitle", { username: user.username }), tracks, tr, false, prefix, tr("responses.lastfm.trackListAuthorLoved"))] }); } case "top": { @@ -155,7 +176,7 @@ export async function runListeningActions(msg, data, lastfm, prefix, userId, tar } const periodLabel = period !== "overall" ? ` (${period})` : ""; - return msg.reply({ embeds: [buildTrackList(user.username, tr("responses.lastfm.topTitle", { username: user.username }) + periodLabel, tracks, tr, true, prefix)] }); + return msg.reply({ embeds: [buildTrackList(user.username, tr("responses.lastfm.topTitle", { username: user.username }) + periodLabel, tracks, tr, true, prefix, tr("responses.lastfm.trackListAuthorTop"))] }); } case "leaderboard": @@ -273,7 +294,7 @@ export async function runListeningActions(msg, data, lastfm, prefix, userId, tar }); } - return msg.reply({ embeds: [buildTrackList(user.username, tr("responses.lastfm.recentTitle", { username: user.username }), tracks, tr, false, prefix)] }); + return msg.reply({ embeds: [buildTrackList(user.username, tr("responses.lastfm.recentTitle", { username: user.username }), tracks, tr, false, prefix, tr("responses.lastfm.trackListAuthorRecent"))] }); } case "artists": { @@ -299,7 +320,7 @@ export async function runListeningActions(msg, data, lastfm, prefix, userId, tar const periodLabel = period !== "overall" ? ` (${period})` : ""; const lines = artists.map((a, i) => { - const num = String(i + 1).padStart(2, " "); + const num = String(i + 1).padStart(2, "0"); let name = a.name; if (name.length > 40) name = name.slice(0, 37) + "..."; const link = a.url ? `[${name}](${a.url})` : name; @@ -311,7 +332,8 @@ export async function runListeningActions(msg, data, lastfm, prefix, userId, tar return msg.reply({ embeds: [new EmbedBuilder() .setColor(getGlobalColor()) - .setTitle(tr("responses.lastfm.artistsTitle", { username: user.username }) + periodLabel) + .setAuthor({ name: tr("responses.lastfm.artistsTitle", { username: user.username }) }) + .setTitle(`🎤 ${tr("responses.lastfm.artistsTitle", { username: user.username })}${periodLabel}`) .setDescription(desc) .setFooter({ text: tr("responses.lastfm.artistsFooter", { prefix }) })] }); diff --git a/commands/lastfm/playback.mjs b/commands/lastfm/playback.mjs index 96165fc..ac9a1a9 100644 --- a/commands/lastfm/playback.mjs +++ b/commands/lastfm/playback.mjs @@ -109,9 +109,12 @@ export async function playLastFmCategory(ctx, msg, userId, category, options = { let statusMsg; try { statusMsg = await msg.reply({ - embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription( - `${categoryEmoji} Fetching your ${categoryLabel} tracks from Last.fm${resolveLabel}...` - )] + embeds: [new EmbedBuilder().setColor(getGlobalColor()) + .setAuthor({ name: ctx.t(msg, "responses.lastfm.playDirectoryAuthor") }) + .setTitle(ctx.t(msg, "responses.lastfm.playLoadingTitle")) + .setDescription( + `${categoryEmoji} Fetching your ${categoryLabel} tracks from Last.fm${resolveLabel}...` + )] }); } catch (e) { logger.warn("[LastfmCmd] Error:", e?.message); statusMsg = null; } @@ -128,9 +131,11 @@ export async function playLastFmCategory(ctx, msg, userId, category, options = { } if (!result.tracks.length) { - const noTracks = { embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription( - `${categoryEmoji} No ${categoryLabel.toLowerCase()} tracks found for **${result.username}**.` - )] }; + const noTracks = { embeds: [new EmbedBuilder().setColor(getGlobalColor()) + .setAuthor({ name: ctx.t(msg, "responses.lastfm.playDirectoryAuthor") }) + .setDescription( + `${categoryEmoji} No ${categoryLabel.toLowerCase()} tracks found for **${result.username}**.` + )] }; if (statusMsg) statusMsg.edit(noTracks).catch(() => msg.reply(noTracks)); else msg.reply(noTracks); return; @@ -141,9 +146,18 @@ export async function playLastFmCategory(ctx, msg, userId, category, options = { if (statusMsg) { statusMsg.edit({ - embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription( - `${categoryEmoji} Loading **${result.tracks.length}** ${categoryLabel.toLowerCase()} tracks from **${result.username}**${resolveLabel}...` - )] + embeds: [new EmbedBuilder().setColor(getGlobalColor()) + .setAuthor({ name: ctx.t(msg, "responses.lastfm.playDirectoryAuthor") }) + .setTitle(ctx.t(msg, "responses.lastfm.playLoadingTitle")) + .setDescription( + ctx.t(msg, "responses.lastfm.playLoadingDesc", { + emoji: categoryEmoji, + count: result.tracks.length, + category: categoryLabel.toLowerCase(), + username: result.username, + provider: resolveLabel, + }) + )] }).catch(() => {}); } @@ -168,12 +182,17 @@ export async function playLastFmCategory(ctx, msg, userId, category, options = { } const summary = []; - if (added > 0) summary.push(`✅ Added **${added}** track${added !== 1 ? "s" : ""} to the queue`); - if (failed > 0) summary.push(`⚠️ ${failed} track${failed !== 1 ? "s" : ""} couldn't be found`); + if (added > 0) summary.push(`✅ ${ctx.t(msg, "responses.lastfm.playDoneAdded", { count: added })}`); + if (failed > 0) summary.push(`⚠️ ${ctx.t(msg, "responses.lastfm.playDoneNotFound", { count: failed })}`); - const doneEmbed = { embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription( - `${categoryEmoji} **${categoryLabel} Tracks — ${result.username}**\n${summary.join(" · ")}` - )] }; + const doneEmbed = { embeds: [new EmbedBuilder().setColor(getGlobalColor()) + .setAuthor({ name: ctx.t(msg, "responses.lastfm.playDirectoryAuthor") }) + .setTitle(ctx.t(msg, "responses.lastfm.playDoneTitle")) + .setDescription( + `${categoryEmoji} **${categoryLabel} Tracks — ${result.username}**\n\n` + + summary.join("\n") + ) + .setFooter({ text: ctx.t(msg, "responses.lastfm.playDirectoryFooter", { prefix }) })] }; if (statusMsg) statusMsg.edit(doneEmbed).catch(() => msg.reply(doneEmbed)); else msg.reply(doneEmbed); @@ -278,42 +297,33 @@ export async function runPlaybackActions(msg, data, lastfm, prefix, userId, targ if (!parsed.category) { const lfProviderNote = parsed.showAllCategories && parsed.resolveProvider - ? `\n\n💡 \`${prefix}lastfm play ${parsed.resolveProvider}:\` — Specify a category after the provider:` + ? `\n💡 \`${prefix}lastfm play ${parsed.resolveProvider}:\`` : ""; - return msg.reply({ - embeds: [new EmbedBuilder().setColor(ERROR_COLOR).setDescription([ - `❌ Usage: \`${prefix}lastfm play \``, - ``, - `**Categories:**`, - `\`loved\` — Play your loved tracks`, - `\`top\` — Play your top tracks`, - `\`recent\` — Play your recent tracks`, - `\`albums\` — Play your top albums`, - `\`artists\` — Play your top artists' tracks`, - `\`playlist \` — Play a playlist (use \`${prefix}lastfm playlists\` to list)`, - ``, - `**With a search provider (defaults to \`top\`):**`, - `\`${prefix}lastfm play td\` or \`${prefix}lastfm play td:top\` — Play top tracks, search on Tidal`, - `\`${prefix}lastfm play sp\` or \`${prefix}lastfm play sp:top\` — Play top tracks, search on Spotify`, - `\`${prefix}lastfm play dz\` or \`${prefix}lastfm play dz:top\` — Play top tracks, search on Deezer`, - `\`${prefix}lastfm play yt\` or \`${prefix}lastfm play yt:top\` — Play top tracks, search on YouTube`, - ``, - `**Last.fm as resolve provider (all categories):**`, - `\`${prefix}lastfm play lf:loved\` — Play loved tracks, search on Last.fm`, - `\`${prefix}lastfm play lf:top\` — Play top tracks, search on Last.fm`, - `\`${prefix}lastfm play lf:recent\` — Play recent tracks, search on Last.fm`, - `\`${prefix}lastfm play lf:albums\` — Play top albums, search on Last.fm`, - `\`${prefix}lastfm play lf:artists\` — Play top artists, search on Last.fm`, - ``, - `**Examples:**`, - `\`${prefix}lastfm play loved\``, - `\`${prefix}lastfm play td\``, - `\`${prefix}lastfm play sp:top\``, - `\`${prefix}lastfm play lf:loved\``, - `\`${prefix}lastfm play playlist 1\``, - lfProviderNote, - ].join("\n"))] - }); + + const directoryEmbed = new EmbedBuilder() + .setColor(getGlobalColor()) + .setAuthor({ name: this.t(msg, "responses.lastfm.playDirectoryAuthor") }) + .setTitle(this.t(msg, "responses.lastfm.playDirectoryTitle")) + .setDescription( + `\`${prefix}lastfm play [provider]\`\n\n` + + `**${this.t(msg, "responses.lastfm.playDirectoryCollections")}:**\n` + + `• \`loved\` — ${this.t(msg, "responses.lastfm.playCategoryLoved")}\n` + + `• \`top\` — ${this.t(msg, "responses.lastfm.playCategoryTop")}\n` + + `• \`recent\` — ${this.t(msg, "responses.lastfm.playCategoryRecent")}\n` + + `• \`albums\` — ${this.t(msg, "responses.lastfm.playCategoryAlbums")}\n` + + `• \`artists\` — ${this.t(msg, "responses.lastfm.playCategoryArtists")}\n` + + `• \`playlist \` — ${this.t(msg, "responses.lastfm.playCategoryPlaylist")}` + ) + .addFields({ + name: `🌐 ${this.t(msg, "responses.lastfm.playDirectoryProviders")}`, + value: + "`sp` (Spotify) · `td` (Tidal) · `dz` (Deezer) · `yt` (YouTube) · `lf` (Last.fm)\n" + + `*Examples:* \`${prefix}fm play loved\` · \`${prefix}fm play td:top\` · \`${prefix}fm play lf:loved\`${lfProviderNote}`, + inline: false, + }) + .setFooter({ text: this.t(msg, "responses.lastfm.playDirectoryFooter", { prefix }) }); + + return msg.reply({ embeds: [directoryEmbed] }); } return playLastFmCategory(this, msg, userId, parsed.category, { diff --git a/commands/lastfm/tags.mjs b/commands/lastfm/tags.mjs index e532ad9..ec5c22d 100644 --- a/commands/lastfm/tags.mjs +++ b/commands/lastfm/tags.mjs @@ -75,39 +75,56 @@ export async function runTagActions(msg, data, lastfm, prefix, userId, targetUse const embed = new EmbedBuilder() .setColor(getGlobalColor()) - .setTitle(`🏷️ ${tagInfo.name}`) - .setURL(tagInfo.url || undefined); - - const fields = []; - fields.push({ name: "Reach", value: Utils.formatNumber(tagInfo.reach), inline: true }); - fields.push({ name: "Total Taggings", value: Utils.formatNumber(tagInfo.count), inline: true }); - - if (topArtists.length) { - const artistStr = topArtists.map((a, i) => { - const link = a.url ? `[${a.name}](${a.url})` : a.name; - return `${i + 1}. ${link} (**${Utils.formatNumber(a.playcount)}** ${this.t(msg, "responses.lastfm.plays")})`; - }).join("\n"); - fields.push({ name: "Top Artists", value: artistStr.slice(0, 1024), inline: false }); - } - - if (topTracks.length) { - const trackStr = topTracks.map((t, i) => { - const link = t.url ? `[${t.name}](${t.url})` : t.name; - return `${i + 1}. ${link} by **${t.artist}**`; - }).join("\n"); - fields.push({ name: "Top Tracks", value: trackStr.slice(0, 1024), inline: false }); - } - - embed.addFields(...fields); + .setAuthor({ name: this.t(msg, "responses.lastfm.tagAuthor") }) + .setTitle(tagInfo.name) + .setURL(tagInfo.url || undefined) + .setFooter({ text: this.t(msg, "responses.lastfm.tagFooterPro", { tag: tagInfo.name }) }); if (tagInfo.summary) { const cleanSummary = tagInfo.summary.replace(/<[^>]*>/g, "").trim(); if (cleanSummary.length > 0) { - const truncated = cleanSummary.length > 300 ? cleanSummary.slice(0, 297) + "..." : cleanSummary; - embed.setDescription(truncated); + const truncated = cleanSummary.length > 280 ? cleanSummary.slice(0, 277) + "..." : cleanSummary; + embed.setDescription(`> *${truncated}*`); } } + embed.addFields( + { + name: this.t(msg, "responses.lastfm.tagFieldReach"), + value: `👥 **${Utils.formatNumber(tagInfo.reach)}**`, + inline: true + }, + { + name: this.t(msg, "responses.lastfm.tagFieldTaggings"), + value: `🏷️ **${Utils.formatNumber(tagInfo.count)}**`, + inline: true + } + ); + + if (topArtists.length) { + const artistStr = topArtists.slice(0, 5).map((a, i) => { + const link = a.url ? `[${a.name}](${a.url})` : a.name; + return `\`${i + 1}.\` ${link} (${Utils.formatNumber(a.playcount)} ${this.t(msg, "responses.lastfm.plays")})`; + }).join(" · "); + embed.addFields({ + name: this.t(msg, "responses.lastfm.tagFieldPillars"), + value: artistStr.slice(0, 1024), + inline: false + }); + } + + if (topTracks.length) { + const trackStr = topTracks.slice(0, 5).map((t, i) => { + const link = t.url ? `[${t.name}](${t.url})` : t.name; + return `\`${i + 1}.\` ${link} — **${t.artist}**`; + }).join("\n"); + embed.addFields({ + name: this.t(msg, "responses.lastfm.tagFieldTopTracks"), + value: trackStr.slice(0, 1024), + inline: false + }); + } + return msg.reply({ embeds: [embed] }); } diff --git a/commands/lastfm/whoknows.mjs b/commands/lastfm/whoknows.mjs index ff55c3b..4f3062d 100644 --- a/commands/lastfm/whoknows.mjs +++ b/commands/lastfm/whoknows.mjs @@ -192,25 +192,40 @@ export async function runWhoknowsActions(msg, data, lastfm, prefix, userId, targ }); } + const pct = Math.min(100, Math.max(0, Math.round(comparison.matchPercentage ?? 0))); + const filledBars = Math.round(pct / 10); + const emptyBars = 10 - filledBars; + const bar = "█".repeat(filledBars) + "░".repeat(emptyBars); + + let level = "Low"; + if (pct >= 80) level = "Super"; + else if (pct >= 60) level = "High"; + else if (pct >= 40) level = "Medium"; + else if (pct >= 20) level = "Fair"; + const embed = new EmbedBuilder() .setColor(getGlobalColor()) - .setTitle(this.t(msg, "responses.lastfm.compareTitle")) - .setDescription([ - `**${comparison.user1.username}** vs **${comparison.user2.username}**`, - ``, - `📊 **${comparison.matchPercentage}%** match`, - ``, - `👤 ${comparison.user1.username}: ${comparison.user1.totalArtists} top artists`, - `👤 ${comparison.user2.username}: ${comparison.user2.totalArtists} top artists`, - ].join("\n")); + .setAuthor({ name: this.t(msg, "responses.lastfm.compareAuthor") }) + .setTitle(`${comparison.user1.username} & ${comparison.user2.username}`) + .setDescription( + `📊 **[${bar}] ${pct}% MATCH**\n` + + `*${this.t(msg, "responses.lastfm.compareMeter", { level, score: pct })}*\n\n` + + `👤 **${comparison.user1.username}**: ${Utils.formatNumber(comparison.user1.totalArtists)} artists · ` + + `👤 **${comparison.user2.username}**: ${Utils.formatNumber(comparison.user2.totalArtists)} artists` + ) + .setFooter({ text: this.t(msg, "responses.lastfm.compareFooterPro", { prefix }) }); if (comparison.commonArtists?.length) { - const commonStr = comparison.commonArtists.slice(0, 15).map((a, i) => { + const commonStr = comparison.commonArtists.slice(0, 10).map((a, i) => { const num = String(i + 1).padStart(2, " "); const link = a.url ? `[${a.name}](${a.url})` : a.name; - return `\`${num}.\` ${link} (**${a.playcount}** ${this.t(msg, "responses.lastfm.plays")})`; + return `\`${num}.\` ${link} — **${Utils.formatNumber(a.playcount)}** ${this.t(msg, "responses.lastfm.plays")}`; }).join("\n"); - embed.addFields({ name: `Common Artists (${comparison.commonArtists.length})`, value: commonStr.slice(0, 1024), inline: false }); + embed.addFields({ + name: `${this.t(msg, "responses.lastfm.compareFieldShared")} (${comparison.commonArtists.length})`, + value: commonStr.slice(0, 1024), + inline: false + }); } return msg.reply({ embeds: [embed] }); @@ -340,22 +355,44 @@ export async function runWhoknowsActions(msg, data, lastfm, prefix, userId, targ filteredCrowns = crowns.slice(0, 10); } - const lines = filteredCrowns.slice(0, 20).map(c => { - const link = c.artistUrl ? `[${c.artist}](${c.artistUrl})` : c.artist; - const nextStr = c.nextBest ? ` (next: **${c.nextBest.username}** with ${Utils.formatNumber(c.nextBest.playcount)})` : ""; - return `👑 ${link} — **${Utils.formatNumber(c.userPlaycount)}** ${this.t(msg, "responses.lastfm.plays")}${nextStr}`; - }); - - const desc = lines.join("\n").slice(0, 4096); + const topCrown = filteredCrowns[0]; + const rest = filteredCrowns.slice(1, 15); const embed = new EmbedBuilder() .setColor(getGlobalColor()) + .setAuthor({ name: this.t(msg, "responses.lastfm.crownsAuthor") }) .setTitle(this.t(msg, "responses.lastfm.crownsTitle", { username: user.username })) - .setDescription(desc) - .setFooter({ text: this.t(msg, "responses.lastfm.crownsFooter", { count: filteredCrowns.length, plural: filteredCrowns.length !== 1 ? "s" : "" }) }); + .setFooter({ text: this.t(msg, "responses.lastfm.crownsFooterPro", { prefix }) }); - if (filteredCrowns[0]?.image) { - embed.setThumbnail(filteredCrowns[0].image); + if (topCrown) { + const topLink = topCrown.artistUrl ? `[${topCrown.artist}](${topCrown.artistUrl})` : topCrown.artist; + let leadDesc = this.t(msg, "responses.lastfm.crownsUncontested"); + if (topCrown.nextBest && topCrown.nextBest.playcount > 0) { + const lead = topCrown.userPlaycount - topCrown.nextBest.playcount; + leadDesc = `${this.t(msg, "responses.lastfm.crownsLead", { lead: Utils.formatNumber(lead) })} · ${this.t(msg, "responses.lastfm.crownsRunnerUp", { user: topCrown.nextBest.username, plays: Utils.formatNumber(topCrown.nextBest.playcount) })}`; + } + embed.addFields({ + name: `👑 ${this.t(msg, "responses.lastfm.crownsMonopolyField")}`, + value: `**${topLink}** — **${Utils.formatNumber(topCrown.userPlaycount)}** ${this.t(msg, "responses.lastfm.plays")}\n*${leadDesc}*`, + inline: false + }); + } + + if (rest.length > 0) { + const otherLines = rest.map(c => { + const link = c.artistUrl ? `[${c.artist}](${c.artistUrl})` : c.artist; + const runner = c.nextBest ? ` (${c.nextBest.username}: ${Utils.formatNumber(c.nextBest.playcount)})` : ""; + return `👑 ${link} — **${Utils.formatNumber(c.userPlaycount)}**${runner}`; + }); + embed.addFields({ + name: `🏛️ ${this.t(msg, "responses.lastfm.crownsOtherField")} (${filteredCrowns.length})`, + value: otherLines.join("\n").slice(0, 1024), + inline: false + }); + } + + if (topCrown?.image) { + embed.setThumbnail(topCrown.image); } const replyPayload = { embeds: [embed] }; diff --git a/commands/list.mjs b/commands/list.mjs index 7d2db8d..720474f 100644 --- a/commands/list.mjs +++ b/commands/list.mjs @@ -44,7 +44,9 @@ export async function run(message, data) { if (!current && totalTracks === 0) { const embed = new EmbedBuilder() .setColor(0xe9196c) - .setDescription(this.t(message, "responses.list.empty", { prefix })); + .setAuthor({ name: this.t(message, "responses.list.queueTitle") }) + .setDescription(this.t(message, "responses.list.empty", { prefix })) + .setFooter({ text: this.t(message, "responses.play.controlsHint", { prefix }) }); return message.reply({ embeds: [embed] }); } diff --git a/commands/loop.mjs b/commands/loop.mjs index b07a825..4d6004e 100644 --- a/commands/loop.mjs +++ b/commands/loop.mjs @@ -63,7 +63,7 @@ export async function run(message, data) { .setAuthor({ name: `${icon} ${this.t(message, "responses.loop.loopTitle")}` }) .setTitle(badge) .setDescription(desc) - .setFooter({ text: `Cycle: ${prefix}loop song • ${prefix}loop queue` }); + .setFooter({ text: this.t(message, "responses.loop.cycleFooter", { prefix }) }); if (current?.thumbnail) { embed.setThumbnail(current.thumbnail); diff --git a/commands/pause.mjs b/commands/pause.mjs index c894606..ae10daa 100644 --- a/commands/pause.mjs +++ b/commands/pause.mjs @@ -30,8 +30,14 @@ export async function run(message) { return message.reply({ embeds: [embed] }); } + const prefix = this.handler.getPrefix(message.message?.guildId ?? message.channel?.guildId) || "%"; + if (p._paused) { - const embed = new EmbedBuilder().setColor(0xe9196c).setDescription(this.t(message, "responses.pause.alreadyPaused") || "Already paused!"); + const embed = new EmbedBuilder() + .setColor(0xe9196c) + .setAuthor({ name: `⏸️ ${this.t(message, "responses.pause.pausedTitle")}` }) + .setDescription(this.t(message, "responses.pause.alreadyPaused")) + .setFooter({ text: this.t(message, "responses.pause.resumeHint", { prefix }) }); return message.reply({ embeds: [embed] }); } @@ -39,7 +45,6 @@ export async function run(message) { const elapsed = p.getCurrentElapsedDuration(); const trackUrl = current.spotifyUrl || current.url || null; const rawAuthor = current.artist || (typeof current.author === "object" ? current.author?.name : current.author); - const prefix = this.handler.getPrefix(message.message?.guildId ?? message.channel?.guildId) || "%"; let desc = trackUrl ? `**[${Utils.truncate(current.title || this.t(message, "responses.play.unknownTrack"), 50)}](${trackUrl})**` diff --git a/commands/player/embed.mjs b/commands/player/embed.mjs index d1e8ab1..61a7ea9 100644 --- a/commands/player/embed.mjs +++ b/commands/player/embed.mjs @@ -84,6 +84,7 @@ export function buildPlayerEmbed(bot, msg, player, timeout, state = {}) { const builder = new EmbedBuilder() .setColor(0xe9196c) + .setAuthor({ name: bot.t(msg, "responses.player.deckAuthor") }) .setTitle(bot.t(msg, "responses.player.title")) .setDescription(description) .setFooter({ diff --git a/commands/player/lyrics.mjs b/commands/player/lyrics.mjs index ce7eb7d..434d098 100644 --- a/commands/player/lyrics.mjs +++ b/commands/player/lyrics.mjs @@ -78,25 +78,38 @@ export async function openLyricsViewer(bot, msg, player, refresh, session) { let currentPage = 0; const buildLyricsContent = (pageIdx, expired = false, closed = false) => { - const title = Utils.truncate( - player.queue.getCurrent()?.title?.replace(/\(Official.*?\)/gi, '').trim() ?? '', - 50 - ); + const current = player.queue.getCurrent(); + const rawTitle = current?.title?.replace(/\(Official.*?\)/gi, '').trim() ?? 'Unknown Track'; + const title = Utils.truncate(rawTitle, 50); + const artist = current?.artist || (typeof current?.author === "object" ? current?.author?.name : current?.author) || ""; const lyricsSource = lyricsResult.source || "Lyrics"; const footerText = closed ? `👋 Lyrics closed • ${lyricsSource} • ${totalLines} lines` : expired ? `⌛ Controls expired • ${lyricsSource} • ${totalLines} lines` : `${lyricsSource} • ${totalLines} lines total${lyricsResult.synced ? ' • Synced' : ''}`; + const headerLine = artist ? `by **${artist}**${syncBadge} • Page ${pageIdx + 1}/${totalPages}` : `Page ${pageIdx + 1}/${totalPages}${syncBadge}`; const desc = [ - `**${title}**${syncBadge} • Page ${pageIdx + 1}/${totalPages}`, - ``, - '```', + headerLine, + "", + "```", pages[pageIdx], - totalPages > 1 && !expired && !closed ? `\n\n💡 ⬅️ ➡️ Navigate • ❌ Close` : '', - '```' - ].join('\n'); - return { embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription(desc).setFooter({ text: footerText })] }; + totalPages > 1 && !expired && !closed ? "\n\n💡 ⬅️ ➡️ Navigate • ❌ Close" : "", + "```" + ].join("\n"); + + const embed = new EmbedBuilder() + .setColor(getGlobalColor()) + .setAuthor({ name: "🎤 " + (bot.t(msg, "responses.lyrics.author") || "Lyrics") }) + .setTitle(title) + .setDescription(desc) + .setFooter({ text: footerText }); + + if (current?.thumbnail) { + embed.setThumbnail(current.thumbnail); + } + + return { embeds: [embed] }; }; session.activeLyricsMsg = await msg.reply(buildLyricsContent(0)); diff --git a/commands/resume.mjs b/commands/resume.mjs index 1d490d3..9fcab34 100644 --- a/commands/resume.mjs +++ b/commands/resume.mjs @@ -33,8 +33,14 @@ export async function run(message) { return message.reply({ embeds: [embed] }); } + const prefix = this.handler.getPrefix(message.message?.guildId ?? message.channel?.guildId) || "%"; + if (!p._paused) { - const embed = new EmbedBuilder().setColor(0xe9196c).setDescription(this.t(message, "responses.resume.alreadyPlaying") || "Already playing!"); + const embed = new EmbedBuilder() + .setColor(0xe9196c) + .setAuthor({ name: `▶️ ${this.t(message, "responses.resume.resumedTitle")}` }) + .setDescription(this.t(message, "responses.resume.notPaused")) + .setFooter({ text: this.t(message, "responses.resume.pauseHint", { prefix }) }); return message.reply({ embeds: [embed] }); } @@ -42,7 +48,6 @@ export async function run(message) { const elapsed = p.getCurrentElapsedDuration(); const trackUrl = current.spotifyUrl || current.url || null; const rawAuthor = current.artist || (typeof current.author === "object" ? current.author?.name : current.author); - const prefix = this.handler.getPrefix(message.message?.guildId ?? message.channel?.guildId) || "%"; let desc = trackUrl ? `**[${Utils.truncate(current.title || this.t(message, "responses.play.unknownTrack"), 50)}](${trackUrl})**` diff --git a/commands/servers.mjs b/commands/servers.mjs index cc21dcf..08eeef0 100644 --- a/commands/servers.mjs +++ b/commands/servers.mjs @@ -46,7 +46,8 @@ export async function run(msg) { const g = guilds[i]; let name = g.name || "unknown"; if (name.length > 40) name = name.slice(0, 37) + "..."; - const line = `${i + 1}. **${name}** (\`${g.id}\`)`; + const num = String(i + 1).padStart(2, "0"); + const line = `\`${num}.\` **${name}** \`(${g.id})\``; const addedLen = line.length + (currentLines.length ? 1 : 0); if (currentLen + addedLen > MAX_DESC - 20 && currentLines.length > 0) { @@ -73,16 +74,16 @@ export async function run(msg) { const buildPageContent = (pageIdx, expired = false) => { const embed = new EmbedBuilder() .setColor(getGlobalColor()) - .setTitle(this.t(msg, "responses.servers.pageTitle", { count: guilds.length, page: pageIdx + 1, total: totalPages })) + .setAuthor({ name: this.t(msg, "responses.servers.serversAuthor") }) + .setTitle(this.t(msg, "responses.servers.serversTitle")) .setDescription(pages[pageIdx]) .setFooter({ text: expired ? this.t(msg, "responses._common.controlsExpired") : totalPages > 1 - ? this.t(msg, "responses._common.navigateHint") + ? this.t(msg, "responses.servers.serversTelemetryFooter", { page: pageIdx + 1, total: totalPages }) : this.t(msg, "responses.servers.listComplete") - }) - ; + }); return { embeds: [embed] }; }; diff --git a/commands/settings.mjs b/commands/settings.mjs index f8d512b..4a5cfff 100644 --- a/commands/settings.mjs +++ b/commands/settings.mjs @@ -273,15 +273,31 @@ export async function run(message, data) { if (cmd === "helpSettings") { if (!settingKey) { - const keys = this.settingsMgr.getPublicKeys(); - const keyList = keys.map(k => "`" + k + "`").join(", "); - return message.reply(embed( - this.t(message, "responses.settings.helpTitle") + "\n\n" + - this.t(message, "responses.settings.helpAvailable", { settings: keyList }) + "\n\n" + - this.t(message, "responses.settings.helpSubcommands", { prefix }) + "\n\n" + - this.t(message, "responses.settings.helpShortcuts", { prefix }), - { title: "\u2699\ufe0f Settings Help" } - )); + const keys = this.settingsMgr.getPublicKeys(); + const keyTags = keys.map(k => "`" + k + "`").join(" "); + const handbookEmbed = new EmbedBuilder() + .setColor(getGlobalColor()) + .setAuthor({ name: this.t(message, "responses.settings.handbookAuthor") }) + .setTitle(this.t(message, "responses.settings.handbookTitle")) + .setDescription(this.t(message, "responses.settings.handbookDesc")) + .addFields( + { + name: `📋 ${this.t(message, "responses.settings.handbookParamsField")}`, + value: keyTags, + inline: false, + }, + { + name: `⚡ ${this.t(message, "responses.settings.handbookOpsField")}`, + value: + `• \`${prefix}settings get\` — ${this.t(message, "responses.settings.handbookOpGet")}\n` + + `• \`${prefix}settings set \` — ${this.t(message, "responses.settings.handbookOpSet")}\n` + + `• \`${prefix}settings reset \` — ${this.t(message, "responses.settings.handbookOpReset")}\n` + + `• \`${prefix}settings help \` — ${this.t(message, "responses.settings.handbookOpHelp")}`, + inline: false, + } + ) + .setFooter({ text: `${this.t(message, "responses.settings.handbookShortcutsField")}: ${prefix}247 · ${prefix}volume · ${prefix}prefix` }); + return message.reply({ embeds: [handbookEmbed] }); } const rawDescription = this.settingsMgr.descriptions?.[settingKey] ?? this.t(message, "responses.settings.noDescription"); @@ -289,24 +305,47 @@ export async function run(message, data) { const currentVal = set.get(settingKey); const defaultVal = this.settingsMgr.defaults?.[settingKey]; - let extra = ""; + let rangeInfo = ""; if (settingKey === "locale") { - extra = "\n**Valid values:** " + [...VALID_LOCALES].map(l => "`" + l + "`").join(", "); + rangeInfo = [...VALID_LOCALES].map(l => "`" + l + "`").join(", "); } else if (settingKey === "volume") { - extra = "\n**Valid range:** " + VOLUME_MIN + "\u2013" + VOLUME_MAX; + rangeInfo = `${VOLUME_MIN} – ${VOLUME_MAX}`; } else if (BOOL_SETTINGS.has(settingKey)) { - extra = "\n**Valid values:** `true`, `false`, `on`, `off`"; + rangeInfo = "`true`, `false`, `on`, `off`"; } else if (settingKey === "stay_247") { - extra = "\n**Usage:** Join a voice channel and use `247` to toggle.\n\nThe bot stays in that channel and auto-rejoins if disconnected."; + rangeInfo = `${prefix}247`; } - const label = prettifySettingLabel(settingKey, t247, guildId); - return message.reply(embed( - "**\u2699\ufe0f Setting: `" + settingKey + "`**\n\n" + - description + extra + "\n\n" + - "**Current value:** " + displayValue(settingKey, currentVal) + "\n" + - "**Default:** " + displayValue(settingKey, defaultVal), - { title: "\u2699\ufe0f " + settingKey } - )); + const inspectorEmbed = new EmbedBuilder() + .setColor(getGlobalColor()) + .setAuthor({ name: this.t(message, "responses.settings.inspectorTitle") }) + .setTitle(`⚙️ \`${settingKey}\``) + .setDescription(description) + .addFields( + { + name: `📌 ${this.t(message, "responses.settings.settingValueField")}`, + value: displayValue(settingKey, currentVal), + inline: true, + }, + { + name: `🏷️ ${this.t(message, "responses.settings.settingDefaultField")}`, + value: displayValue(settingKey, defaultVal), + inline: true, + } + ); + + if (rangeInfo) { + inspectorEmbed.addFields({ + name: `🎯 ${this.t(message, "responses.settings.settingRangeField")}`, + value: rangeInfo, + inline: false, + }); + } + + inspectorEmbed.setFooter({ + text: this.t(message, "responses.settings.inspectorFooter", { prefix, setting: settingKey }), + }); + + return message.reply({ embeds: [inspectorEmbed] }); } } diff --git a/commands/settings/setters.mjs b/commands/settings/setters.mjs index 1c20364..2f906b9 100644 --- a/commands/settings/setters.mjs +++ b/commands/settings/setters.mjs @@ -6,7 +6,8 @@ */ -import { cleanId, getMessageGuildId } from "../../src/ui/index.mjs"; +import { cleanId, getMessageGuildId, getGlobalColor } from "../../src/ui/index.mjs"; +import { EmbedBuilder } from "@fluxerjs/core"; import runnables from "../../settings/runnables.mjs"; import { parseBool, displayValue, getGuildName, embed, tWrap, prettifySettingLabel, @@ -109,7 +110,30 @@ export async function handleShortcut(ctx, message, settingKey, valueTokens) { } const val = set.get(settingKey); const label = prettifySettingLabel(settingKey, t247, guildId); - return message.reply(embed("**" + label + "**\nValue: " + displayValue(settingKey, val))); + const defaultVal = ctx.settingsMgr?.defaults?.[settingKey]; + const shortcutEmbed = new EmbedBuilder() + .setColor(getGlobalColor()) + .setAuthor({ name: ctx.t(message, "responses.settings.shortcutAuthor") }) + .setTitle(`⚙️ \`${settingKey}\` — ${label}`) + .addFields( + { + name: `📌 ${ctx.t(message, "responses.settings.shortcutValueField")}`, + value: displayValue(settingKey, val), + inline: true, + }, + { + name: `🏷️ ${ctx.t(message, "responses.settings.shortcutDefaultField")}`, + value: displayValue(settingKey, defaultVal), + inline: true, + } + ) + .setFooter({ + text: ctx.t(message, "responses.settings.shortcutHintFooter", { + prefix: ctx.handler?.getPrefix(guildId) ?? "%", + shortcut: settingKey, + }), + }); + return message.reply({ embeds: [shortcutEmbed] }); } const rawValue = valueTokens.join(" "); diff --git a/commands/shuffle.mjs b/commands/shuffle.mjs index ddb7bc5..267d8ad 100644 --- a/commands/shuffle.mjs +++ b/commands/shuffle.mjs @@ -54,7 +54,7 @@ export async function run(message) { .setColor(0xe9196c) .setAuthor({ name: `🔀 ${this.t(message, "responses.shuffle.shuffledTitle")}` }) .setDescription(desc) - .setFooter({ text: `${prefix}queue to view full order` }); + .setFooter({ text: this.t(message, "responses.shuffle.viewOrderFooter", { prefix }) }); if (nextTrack?.thumbnail) { embed.setThumbnail(nextTrack.thumbnail); diff --git a/commands/trackopt.mjs b/commands/trackopt.mjs index 0ba28ec..f996092 100644 --- a/commands/trackopt.mjs +++ b/commands/trackopt.mjs @@ -200,6 +200,8 @@ export async function run(msg, data) { if (current.thumbnail) setEmbed.setThumbnail(current.thumbnail); if (result.alias !== DEFAULT_ALIAS) { setEmbed.setFooter({ text: this.t(msg, "responses.trackopt.playHintFooter", { prefix, alias: result.alias }) }); + } else { + setEmbed.setFooter({ text: this.t(msg, "responses.trackopt.autoApplyFooter", { prefix }) }); } return msg.reply({ embeds: [setEmbed] }); @@ -275,7 +277,8 @@ export async function run(msg, data) { .setAuthor({ name: this.t(msg, "responses.trackopt.appliedAuthor") }) .setTitle(current.title?.slice(0, 256) || "Track Trim") .setDescription(this.t(msg, "responses.trackopt.applied", { alias: aliasLabel, start: Utils.prettifyMS(result.startMs), end: endStr })) - .addFields({ name: this.t(msg, "responses.trackopt.activeCutRangeField"), value: timeline, inline: false }); + .addFields({ name: this.t(msg, "responses.trackopt.activeCutRangeField"), value: timeline, inline: false }) + .setFooter({ text: this.t(msg, "responses.trackopt.playFooterHint", { prefix }) }); if (current.thumbnail) playEmbed.setThumbnail(current.thumbnail); @@ -302,19 +305,35 @@ export async function run(msg, data) { p._clearTrackEndTimer(); } } - if (aliasRaw) { - return msg.reply({ embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(msg, "responses.trackopt.removedAlias", { alias: aliasRaw, title: current.title }))] }); - } - return msg.reply({ embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(msg, "responses.trackopt.removedAll", { title: current.title }))] }); + const removeDesc = aliasRaw + ? this.t(msg, "responses.trackopt.removedAlias", { alias: aliasRaw, title: current.title }) + : this.t(msg, "responses.trackopt.removedAll", { title: current.title }); + + const removeEmbed = new EmbedBuilder() + .setColor(getGlobalColor()) + .setAuthor({ name: this.t(msg, "responses.trackopt.removeAuthor") }) + .setTitle(current.title?.slice(0, 256) || "Track Trim") + .setDescription(removeDesc) + .setFooter({ text: this.t(msg, "responses.trackopt.removeFooter", { prefix }) }); + + if (current.thumbnail) removeEmbed.setThumbnail(current.thumbnail); + + return msg.reply({ embeds: [removeEmbed] }); } if (subCommand === "list") { const rows = await trackOpts.list(userId); if (!rows || rows.length === 0) { - return msg.reply({ embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(msg, "responses.trackopt.listEmpty", { prefix }))] }); + const emptyEmbed = new EmbedBuilder() + .setColor(getGlobalColor()) + .setAuthor({ name: this.t(msg, "responses.trackopt.listAuthor") }) + .setTitle(this.t(msg, "responses.trackopt.listTitleClean", { count: 0 })) + .setDescription(this.t(msg, "responses.trackopt.listEmpty", { prefix })) + .setFooter({ text: this.t(msg, "responses.trackopt.listFooterHint", { prefix }) }); + return msg.reply({ embeds: [emptyEmbed] }); } - let desc = this.t(msg, "responses.trackopt.listTitle", { count: rows.length }) + "\n\n"; + let desc = ""; let lastTrack = ""; for (const row of rows) { const title = row.track_title || row.track_identifier; @@ -330,6 +349,13 @@ export async function run(msg, data) { } desc += "\n" + this.t(msg, "responses.trackopt.listHint", { prefix }); - return msg.reply({ embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription(desc)] }); + const listEmbed = new EmbedBuilder() + .setColor(getGlobalColor()) + .setAuthor({ name: this.t(msg, "responses.trackopt.listAuthor") }) + .setTitle(this.t(msg, "responses.trackopt.listTitleClean", { count: rows.length })) + .setDescription(desc.trim()) + .setFooter({ text: this.t(msg, "responses.trackopt.listFooterHint", { prefix }) }); + + return msg.reply({ embeds: [listEmbed] }); } } diff --git a/commands/volume.mjs b/commands/volume.mjs index 267b65b..906b084 100644 --- a/commands/volume.mjs +++ b/commands/volume.mjs @@ -5,7 +5,7 @@ import { CommandBuilder } from "../src/commands/index.mjs"; import { EmbedBuilder } from "@fluxerjs/core"; -import { MAX_VOLUME } from "../src/utils/UI.mjs"; +import { MAX_VOLUME, ERROR_COLOR } from "../src/utils/UI.mjs"; /** * @type {CommandBuilder} @@ -60,8 +60,10 @@ export async function run(message, data) { const pct = Number(raw); if (pct < 0 || pct > MAX_VOLUME) { const embed = new EmbedBuilder() - .setColor(0xe9196c) - .setDescription(this.t(message, "responses.volume.outOfRange", { max: MAX_VOLUME })); + .setColor(ERROR_COLOR) + .setAuthor({ name: `🔊 ${this.t(message, "responses.volume.volumeAdjusted")}` }) + .setDescription(this.t(message, "responses.volume.outOfRange", { max: MAX_VOLUME })) + .setFooter({ text: this.t(message, "responses.volume.volumeHint", { prefix }) }); return message.reply({ embeds: [embed] }).catch(() => {}); } diff --git a/commands/volumedefault.mjs b/commands/volumedefault.mjs index d079403..f2b417e 100644 --- a/commands/volumedefault.mjs +++ b/commands/volumedefault.mjs @@ -7,7 +7,7 @@ import { CommandBuilder } from "../src/commands/index.mjs"; import { EmbedBuilder } from "@fluxerjs/core"; import { getGlobalColor } from "../src/ui/index.mjs"; import { PermissionFlags } from "@fluxerjs/core"; -import { MAX_VOLUME } from "../src/utils/UI.mjs"; +import { MAX_VOLUME, ERROR_COLOR } from "../src/utils/UI.mjs"; /** * @private @@ -64,11 +64,11 @@ export async function run(message, data) { const raw = volOption?.value; const embed = new EmbedBuilder().setColor(getGlobalColor()); + const pfx = this.handler.getPrefix(message.channel?.guildId ?? message.message?.guildId); if (!volOption || raw === null || raw === undefined || isNaN(Number(raw))) { const currentDefault = set?.get("volume") ?? 100; const currentPlayerVol = Math.round((p.preferredVolume ?? 1) * 100); - const pfx = this.handler.getPrefix(message.channel?.guildId ?? message.message?.guildId); embed .setAuthor({ name: this.t(message, "responses.volumedefault.author") }) .setTitle(this.t(message, "responses.volumedefault.title")) @@ -80,20 +80,30 @@ export async function run(message, data) { .addFields( { name: this.t(message, "responses.volumedefault.fieldDefault"), value: buildVolumeSlider(currentDefault), inline: false }, { name: this.t(message, "responses.volumedefault.fieldActive"), value: `${currentPlayerVol}%`, inline: true } - ); + ) + .setFooter({ text: this.t(message, "responses.volumedefault.footerHint", { prefix: pfx, max: MAX_VOLUME }) }); } else if (!hasManage) { - embed.setDescription(this.t(message, "responses.volumedefault.noPermissionSet")); + embed + .setColor(ERROR_COLOR) + .setAuthor({ name: this.t(message, "responses.volumedefault.author") }) + .setDescription(this.t(message, "responses.volumedefault.noPermissionSet")) + .setFooter({ text: this.t(message, "responses.volumedefault.footerHint", { prefix: pfx, max: MAX_VOLUME }) }); } else { const pct = Number(raw); if (pct < 0 || pct > MAX_VOLUME) { - embed.setDescription(this.t(message, "responses.volumedefault.outOfRange", { max: MAX_VOLUME })); + embed + .setColor(ERROR_COLOR) + .setAuthor({ name: this.t(message, "responses.volumedefault.author") }) + .setDescription(this.t(message, "responses.volumedefault.outOfRange", { max: MAX_VOLUME })) + .setFooter({ text: this.t(message, "responses.volumedefault.footerHint", { prefix: pfx, max: MAX_VOLUME }) }); } else { p.setVolume(pct / 100); if (set) set.set("volume", pct); embed .setAuthor({ name: this.t(message, "responses.volumedefault.authorSaved") }) .setDescription(this.t(message, "responses.volumedefault.saved", { volume: pct })) - .addFields({ name: this.t(message, "responses.volumedefault.fieldNewDefault"), value: buildVolumeSlider(pct), inline: false }); + .addFields({ name: this.t(message, "responses.volumedefault.fieldNewDefault"), value: buildVolumeSlider(pct), inline: false }) + .setFooter({ text: this.t(message, "responses.volumedefault.footerHint", { prefix: pfx, max: MAX_VOLUME }) }); } } diff --git a/commands/vote.mjs b/commands/vote.mjs index 2b5242a..596a2e9 100644 --- a/commands/vote.mjs +++ b/commands/vote.mjs @@ -112,6 +112,7 @@ function buildVotersEmbed(voters, total, page, limit, type, resourceId, expired const embed = new EmbedBuilder() .setColor(getGlobalColor()) + .setAuthor({ name: t(guildId, "responses.vote.voteVotersAuthor") }) .setTitle(`${title}`) .setDescription(desc) .setFooter({ text: footerText }); @@ -146,8 +147,10 @@ export async function run(msg, data) { return msg.reply({ embeds: [new EmbedBuilder() .setColor(getGlobalColor()) + .setAuthor({ name: this.t(msg, "responses.vote.voteAuthor") }) .setTitle(this.t(msg, "responses.vote.infoTitle")) - .setDescription(this.t(msg, "responses.vote.infoDescription", { siteUrl: FLUXERLIST.SITE_URL, prefix }))] + .setDescription(this.t(msg, "responses.vote.infoDescription", { siteUrl: FLUXERLIST.SITE_URL, prefix })) + .setFooter({ text: this.t(msg, "responses.vote.voteFooterHint", { prefix }) })] }); } @@ -169,10 +172,10 @@ export async function run(msg, data) { const embed = new EmbedBuilder() .setColor(getGlobalColor()) - .setAuthor({ name: "🗳️ Vote for Remix" }) + .setAuthor({ name: this.t(msg, "responses.vote.voteAuthor") }) .setTitle(this.t(msg, "responses.vote.voteTitle")) .setDescription(descLines.join("\n")) - .setFooter({ text: `Check your vote status: ${prefix}vote check • %voters` }); + .setFooter({ text: this.t(msg, "responses.vote.voteFooterHint", { prefix }) }); return msg.reply({ embeds: [embed] }); } @@ -192,16 +195,21 @@ export async function run(msg, data) { const resolvedType = type || "bot"; const voted = await fluxerlist.hasVoted(userId); - const embed = new EmbedBuilder().setColor(getGlobalColor()); + const embed = new EmbedBuilder() + .setColor(getGlobalColor()) + .setAuthor({ name: this.t(msg, "responses.vote.voteCheckAuthor") }) + .setTitle(this.t(msg, "responses.vote.voteCheckTitle")); + if (voted === null) { embed.setDescription(this.t(msg, "responses.vote.checkUnknown")); } else if (voted) { - embed.setDescription(this.t(msg, "responses.vote.checkYes", { type: resolvedType })); + embed.setDescription(this.t(msg, "responses.vote.voteCheckYesDesc", { type: resolvedType })); } else { const slug = resourceId || (resolvedType === "server" ? fluxerlist.serverSlug : fluxerlist.botSlug); const voteUrl = slug ? buildVoteLink(resolvedType, slug) : FLUXERLIST.SITE_URL; - embed.setDescription(this.t(msg, "responses.vote.checkNo", { type: resolvedType, url: voteUrl })); + embed.setDescription(this.t(msg, "responses.vote.voteCheckNoDesc", { type: resolvedType, url: voteUrl })); } + embed.setFooter({ text: this.t(msg, "responses.vote.voteCheckFooter", { prefix }) }); return msg.reply({ embeds: [embed] }); } @@ -256,7 +264,7 @@ export async function run(msg, data) { const replyMsg = await msg.reply(buildPage(currentPage, voterData)); if (!replyMsg?.message) return; - const navEmojis = ["\u25C0\uFE0F", "\u25B6\uFE0F", "\u274C"]; + const navEmojis = ["◀️", "▶️", "❌"]; for (const emoji of navEmojis) { await replyMsg.message.react(emoji).catch(() => {}); } @@ -292,7 +300,7 @@ export async function run(msg, data) { }; const unobserve = replyMsg.onReaction(navEmojis, async (e) => { - if (e.emoji_id === "\u274C") { + if (e.emoji_id === "❌") { clearTimeout(emojiTimeout); unobserve?.(); await replyMsg.message.delete().catch(() => {}); @@ -301,9 +309,9 @@ export async function run(msg, data) { resetTimer(); - if (e.emoji_id === "\u25C0\uFE0F") { + if (e.emoji_id === "◀️") { currentPage = currentPage > 1 ? currentPage - 1 : totalPages; - } else if (e.emoji_id === "\u25B6\uFE0F") { + } else if (e.emoji_id === "▶️") { currentPage = currentPage < totalPages ? currentPage + 1 : 1; } @@ -325,14 +333,17 @@ export async function run(msg, data) { return msg.reply({ embeds: [new EmbedBuilder() .setColor(getGlobalColor()) + .setAuthor({ name: this.t(msg, "responses.vote.voteAuthor") }) + .setTitle(this.t(msg, "responses.vote.defaultTitle")) .setDescription([ this.t(msg, "responses.vote.defaultCommandsTitle"), - ``, + "", this.t(msg, "responses.vote.defaultCommandsList", { prefix }), - ``, + "", this.t(msg, "responses.vote.optionsTitle"), this.t(msg, "responses.vote.optionsList", { prefix }), - ].join("\n"))] + ].join("\n")) + .setFooter({ text: this.t(msg, "responses.vote.voteFooterHint", { prefix }) })] }); } } diff --git a/src/core/BotVoiceMixin.mjs b/src/core/BotVoiceMixin.mjs index dc97228..aeb4ed7 100644 --- a/src/core/BotVoiceMixin.mjs +++ b/src/core/BotVoiceMixin.mjs @@ -456,10 +456,18 @@ const BotVoiceMixin = { if (!count) return { count: 0, pos }; if (announce) { + const restoreEmbed = new EmbedBuilder() + .setColor(getGlobalColor()) + .setAuthor({ name: player._t?.("responses._common.restoreAuthor") ?? "🔄 24/7 Voice Watchdog" }) + .setTitle(player._t?.("responses._common.restoreTitle") ?? "Playback Session Restored") + .setDescription( + player._t?.("responses._common.queueRestored", { count }) + ?? `Bot restarted — restored **${count}** song(s) to the queue and reconnected to voice.` + ) + .setFooter({ text: player._t?.("responses._common.restoreFooter") ?? "24/7 Voice Persistence • Playback resuming automatically" }); + player.emit("message", { - embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription( - player._t?.("responses._common.queueRestored", { count }) - ?? `Bot restarted — restored **${count}** song(s) to the queue.`)], + embeds: [restoreEmbed], system: true, }); } diff --git a/storage/locales/bot/ar-SA.json b/storage/locales/bot/ar-SA.json index fc0ba9b..9d73967 100644 --- a/storage/locales/bot/ar-SA.json +++ b/storage/locales/bot/ar-SA.json @@ -244,12 +244,16 @@ "joinPermissionError": "❌ ليس لدي إذن للانضمام إلى <#{{channel}}>. يرجى إعطائي إذن **الاتصال** في ذلك القناة.", "joinFailedPermissions": "❌ فشل الانضمام إلى القناة الصوتية — أذونات مفقودة. يرجى التأكد من أن لدي أذونات **الاتصال** و**التحدث**.", "joinFailedGeneric": "❌ فشل الانضمام إلى القناة الصوتية. يرجى المحاولة مرة أخرى.", - "joinFailedNotFound": "❌ لم يتم العثور على تلك القناة الصوتية." + "joinFailedNotFound": "❌ لم يتم العثور على تلك القناة الصوتية.", + "restoreAuthor": "🔄 مراقب الصوت 24/7", + "restoreTitle": "تمت استعادة جلسة التشغيل", + "restoreFooter": "استمرار الصوت 24/7 • يستأنف التشغيل تلقائياً" }, "clear": { "cleared": "🗑️ تم مسح قائمة الانتظار.", "clearedTitle": "تم تفريغ قائمة الانتظار", - "clearedSummary": "تمت إزالة {{count}} {{plural}} من القائمة" + "clearedSummary": "تمت إزالة {{count}} {{plural}} من القائمة", + "footerHint": "استخدم {{prefix}}play لبدء قائمة انتظار جديدة" }, "debug": { "voiceTitle": "🔧 تصحيح الصوت", @@ -295,7 +299,10 @@ "channelNotFound": "❌ القناة غير موجودة.", "wrongServer": "❌ يجب تنفيذ هذا الأمر في نفس الخادم الذي توجد فيه القناة الصوتية.", "playerNotFound": "❌ المشغّل غير موجود.", - "playerNotInit": "❌ المشغّل غير مهيأ." + "playerNotInit": "❌ المشغّل غير مهيأ.", + "authorAdmin": "🚪 إدارة الصوت", + "titleEviction": "إخلاء القناة إجبارياً", + "footerTip": "القناة المستهدفة: {{channel}} • عملية إدارة القنوات" }, "invite": { "title": "ادعُ Remix", @@ -320,7 +327,10 @@ "connectedAuthor": "🟢 متصل بالقناة الصوتية", "selectVCAuthor": "🔊 اختر قناة صوتية", "selectVCFooter": "تفاعل برقم 1-9 للاتصال • تنتهي الجلسة خلال 30 ثانية", - "playPromptFooter": "شغّل الموسيقى في أي وقت باستخدام {{prefix}}play " + "playPromptFooter": "شغّل الموسيقى في أي وقت باستخدام {{prefix}}play ", + "promptAuthor": "🔊 الاتصال الصوتي", + "promptTitle": "الاتصال بالقناة الصوتية", + "promptFooter": "انضم إلى قناة أو استخدم {{prefix}}join • {{prefix}}help join" }, "leave": { "noVoiceChannel": "⚠️ يرجى الانضمام إلى قناة صوتية أولاً، أو حدد واحدة: `{{prefix}}leave <#channel>`", @@ -373,7 +383,8 @@ "loopOffDesc": "التكرار معطّل", "songLoopBadge": "تكرار مقطع واحد", "queueLoopBadge": "تكرار القائمة", - "loopOffBadge": "التكرار معطّل" + "loopOffBadge": "التكرار معطّل", + "cycleFooter": "تبديل الأوضاع: {{prefix}}loop song • {{prefix}}loop queue" }, "lyrics": { "nothingPlaying": "❌ لا يوجد شيء يعمل حالياً.", @@ -384,7 +395,8 @@ "nodeLinkFooter": "NodeLink • {{lines}} سطر", "sourceFooter": "{{source}} • {{lines}} سطر", "controlsExpired": "⌛ انتهت صلاحية عناصر التحكم • NodeLink • {{lines}} سطر", - "sessionClosed": "تم إغلاق الجلسة • NodeLink • {{lines}} سطر" + "sessionClosed": "تم إغلاق الجلسة • NodeLink • {{lines}} سطر", + "author": "كلمات الأغنية" }, "np": { "loading": "⏳ جارٍ التحميل...", @@ -529,7 +541,8 @@ "lyricsDisplayed": "تم عرض الكلمات ({{lines}} سطر، {{pages}} صفحة)", "lyricsError": "⚠️ خطأ في الكلمات: {{error}}", "previousNotAvailable": "⏮️ المقطع السابق غير متاح بعد.", - "errorGeneric": "⚠️ خطأ: {{error}}" + "errorGeneric": "⚠️ خطأ: {{error}}", + "deckAuthor": "🎛️ وحدة تحكم الصوت عالي الدقة • 48kHz Direct" }, "radio": { "noStations": "❌ لا توجد محطات إذاعية مُعدّة.", @@ -588,7 +601,11 @@ "noServers": "_لم يتم العثور على خوادم._", "title": "🌐 الخوادم ({{count}})", "pageTitle": "🌐 الخوادم ({{count}}) - صفحة {{page}}/{{total}}", - "listComplete": "اكتملت القائمة" + "listComplete": "اكتملت القائمة", + "serversAuthor": "🌐 هيكلية الشبكة", + "serversTitle": "دليل السيرفرات المتصلة", + "serversActiveBadge": "{{count}} سيرفر نشط", + "serversTelemetryFooter": "بيانات السيرفرات في الوقت الفعلي • صفحة {{page}}/{{total}}" }, "settings": { "unknownSetting": "❌ إعداد غير معروف `{{setting}}`.", @@ -712,14 +729,31 @@ "inspectorTitle": "⚙️ فاحص الإعدادات", "settingValueField": "القيمة الحالية", "settingDescField": "الوصف", - "inspectorFooter": "استخدم {{prefix}}settings set {{setting}} للتعديل" + "inspectorFooter": "استخدم {{prefix}}settings set {{setting}} للتعديل", + "handbookTitle": "⚙️ دليل الإعدادات", + "handbookAuthor": "⚙️ دليل تكوين الخادم", + "handbookDesc": "تخصيص سلوك وميزات البوت لهذا الخادم.", + "handbookParamsField": "المعلمات القابلة للضبط", + "handbookOpsField": "عمليات الأوامر", + "handbookOpGet": "عرض لوحة تكوين الخادم", + "handbookOpSet": "تحديث إعداد الخادم", + "handbookOpReset": "إعادة تعيين الإعداد إلى الافتراضي", + "handbookOpHelp": "فحص تفاصيل المعلمة والقيم المسموح بها", + "handbookShortcutsField": "اختصارات مباشرة", + "settingDefaultField": "القيمة الافتراضية", + "settingRangeField": "القيم المسموح بها / النطاق", + "shortcutAuthor": "⚙️ تكوين الخادم", + "shortcutValueField": "القيمة الحالية", + "shortcutDefaultField": "الافتراضي", + "shortcutHintFooter": "للتحديث: {{prefix}}{{shortcut}} • {{prefix}}settings get للوحة الكاملة" }, "shuffle": { "emptyQueue": "لا يوجد شيء لخلطه في قائمة الانتظار.", "shuffled": "🔀 تم خلط قائمة الانتظار", "shuffledTitle": "تم خلط قائمة الانتظار", "shuffledSummary": "تمت إعادة ترتيب {{count}} {{plural}} عشوائيًا", - "newUpNext": "المقطع #1 الجديد التالي" + "newUpNext": "المقطع #1 الجديد التالي", + "viewOrderFooter": "استخدم {{prefix}}queue لعرض ترتيب قائمة الانتظار" }, "skip": { "nothingPlaying": "❌ لا يوجد شيء يعمل حالياً!", @@ -798,7 +832,8 @@ "fieldDefault": "مستوى الصوت الافتراضي", "fieldActive": "مستوى صوت الجلسة الحالية", "authorSaved": "🔊 تم حفظ مستوى الصوت الافتراضي للخادم", - "fieldNewDefault": "المستوى الافتراضي الجديد" + "fieldNewDefault": "المستوى الافتراضي الجديد", + "footerHint": "سيتم تطبيق مستوى الصوت الافتراضي للسيرفر على جميع جلسات التشغيل المستقبلية" }, "gateway": { "missingPermsFallback": "⚠️ تنقصني صلاحيات أحتاجها للعمل بشكل صحيح! المفقودة: **{{perms}}**. يرجى طلب مسؤول الخادم منح هذه الصلاحيات في إعدادات الخادم ← الأدوار." @@ -926,7 +961,80 @@ "artistFieldTags": "الأنواع والوسوم", "artistFooterPro": "لوحة المتصدرين بالسيرفر: {{prefix}}whoknows {{artist}} • {{prefix}}lastfm albums", "coverAuthor": "🖼️ معرض غلاف الألبوم", - "coverFooterPro": "عرض مصغرة الأغنية: {{prefix}}thumbnail • {{prefix}}lastfm albuminfo" + "coverFooterPro": "عرض مصغرة الأغنية: {{prefix}}thumbnail • {{prefix}}lastfm albuminfo", + "helpAuthor": "🎵 مركز أوامر Last.fm", + "helpTitle": "دليل الأوامر", + "helpCategoryAccount": "👤 الحساب والسكربلات", + "helpCategoryDiscovery": "🔍 الاكتشاف والأغلفة", + "helpCategorySocial": "👑 التيجان والمجتمع", + "helpCategoryPlayback": "🎧 التشغيل والبث", + "helpFooterPro": "شغّل من Last.fm: {{prefix}}fm play top • Last.fm v2", + "crownsAuthor": "👑 مجموعة تيجان السيرفر", + "crownsMonopolyField": "التاج الأبرز", + "crownsOtherField": "خزينة التيجان", + "crownsUncontested": "دون منازع", + "crownsLead": "فارق +{{lead}}", + "crownsRunnerUp": "الوصيف: {{user}} ({{plays}})", + "crownsFooterPro": "عرض مستمعي الفنان: {{prefix}}whoknows • {{prefix}}lastfm crowns stolen", + "compareAuthor": "🤝 مصفوفة التوافق الموسيقي", + "compareMeter": "مستوى التوافق: {{level}} ({{score}}%)", + "compareFieldShared": "أبرز الفنانين المشتركين", + "compareFooterPro": "فحص تقارب السيرفر: {{prefix}}lastfm affinity • {{prefix}}lastfm compare", + "trendingAuthor": "🔥 نبض الموسيقى العالمي", + "trendingTitleTracks": "أبرز المسارات الشائعة", + "trendingTitleArtists": "أبرز الفنانين الشائعين", + "trendingBadge": "رائج الآن", + "trendingPodium1": "المركز الأول عالمياً", + "trendingRunnersUp": "بقية الأعمال الرائجة", + "trendingListenersCount": "{{count}} مستمع اليوم", + "trendingFooterPro": "شغّل الرائج: {{prefix}}lastfm play top • {{prefix}}lastfm trending artists", + "tagAuthor": "🏷️ تسليط الضوء على النوع والوسم", + "tagFieldReach": "الوصول العالمي", + "tagFieldTaggings": "إجمالي مرات الوسم", + "tagFieldPillars": "أبرز روّاد النوع", + "tagFieldTopTracks": "المسارات المميزة", + "tagFooterPro": "استكشف ألبومات الوسم: {{prefix}}lastfm tagalbums {{tag}} • {{prefix}}lastfm tag", + "albumSpotlightAuthor": "💿 تسليط الضوء على الألبوم", + "albumFieldArtist": "الفنان", + "albumFieldYourPlays": "استماعاتك", + "albumFieldTracks": "عدد المسارات", + "albumFieldTracklist": "مقتطف من قائمة المسارات", + "albumFieldTags": "الأنواع والوسوم", + "albumFooterPro": "تشغيل الألبوم: {{prefix}}play {{artist}} - {{album}} • {{prefix}}fm cover للغلاف", + "trackSpotlightAuthor": "🎵 تسليط الضوء على المسار", + "trackFieldArtist": "الفنان", + "trackFieldAlbum": "الألبوم", + "trackFieldListeners": "المستمعون عالمياً", + "trackFieldPlays": "إجمالي الاستماعات", + "trackFieldUserPlays": "استماعاتك", + "trackFieldLoved": "حالة التفضيل", + "lovedStatusYes": "مُفضل ❤️", + "lovedStatusNo": "غير مُفضل 🖤", + "trackFieldTags": "الوسوم", + "trackFieldSimilar": "مسارات مشابهة", + "trackFooterPro": "تشغيل المسار: {{prefix}}play {{artist}} - {{track}} • Last.fm: {{user}}", + "leaderboardAuthorPro": "👑 قاعة مشاهير الموسيقى", + "leaderboardChampion": "البطل", + "leaderboardRunnersUp": "منافسو المنصة", + "trackListAuthorLoved": "❤️ المفضلة الشخصية", + "trackListAuthorTop": "🏆 أفضل المسارات", + "trackListAuthorRecent": "⏱️ النشاط الأخير", + "playDirectoryAuthor": "🎧 مركز بث Last.fm", + "playDirectoryTitle": "دليل التشغيل الذكي", + "playDirectoryCollections": "المجموعات الموسيقية المتاحة", + "playDirectoryProviders": "مزودو البحث المدعومون", + "playDirectoryFooter": "تشغيل الموسيقى: {{prefix}}fm play • Last.fm v2", + "playCategoryLoved": "مجموعة الأغاني المفضلة", + "playCategoryTop": "أكثر المسارات استماعاً", + "playCategoryRecent": "سجل الاستماع الأخير", + "playCategoryAlbums": "مجموعات أفضل الألبومات", + "playCategoryArtists": "مجموعة أفضل الفنانين", + "playCategoryPlaylist": "قوائم التشغيل المخصصة", + "playLoadingTitle": "جاري تحميل المسارات", + "playLoadingDesc": "{{emoji}} جاري تحميل **{{count}}** مسار {{category}} لـ **{{username}}**{{provider}}...", + "playDoneTitle": "تم تحديث قائمة التشغيل", + "playDoneAdded": "تمت إضافة **{{count}}** مسار إلى قائمة الانتظار", + "playDoneNotFound": "تعذر العثور على {{count}} مسار" }, "messages": { "missingCriticalPermsTitle": "صلاحيات مفقودة — البوت لا يستطيع العمل بشكل صحيح", @@ -963,7 +1071,16 @@ "unknownDate": "غير معروف", "checkYes": "✅ لديك **تصويت نشط** لهذا {{type}} — شكرًا لك!", "checkNo": "❌ لم تصوّت لهذا {{type}} بعد (أو انتهت صلاحية تصويتك).\n**[صوّت الآن!]({{url}})**", - "checkUnknown": "⚠️ تعذّر التحقق من حالة تصويتك الآن — حاول مجددًا بعد دقيقة." + "checkUnknown": "⚠️ تعذّر التحقق من حالة تصويتك الآن — حاول مجددًا بعد دقيقة.", + "voteCheckAuthor": "🗳️ مجتمع FluxerList", + "voteCheckTitle": "التحقق من تصويت الداعمين", + "voteCheckYesDesc": "✅ لقد **قمـت بالتصويت** لهذا {{type}} على FluxerList — شكراً لدعمك!", + "voteCheckNoDesc": "❌ لم تقم بالتصويت لهذا {{type}} على FluxerList حتى الآن.\n**[صوت الآن على FluxerList]({{url}})**", + "voteCheckFooter": "عرض قائمة المصوتين: {{prefix}}voters • FluxerList", + "voteVotersAuthor": "🏆 كبار الداعمين", + "voteAuthor": "🗳️ مجتمع FluxerList", + "voteFooterHint": "تحقق من حالة تصويتك: {{prefix}}vote check • {{prefix}}voters", + "defaultTitle": "دليل نظام التصويت" }, "seek": { "nothingPlaying": "❌ لا يوجد شيء يعمل حالياً!", @@ -984,7 +1101,11 @@ "autoplayTitleDisabled": "تم تعطيل التشغيل التلقائي", "autoplayDescEnabled": "سيقوم Remix تلقائيًا بإضافة مقاطع مقترحة عند انتهاء القائمة.", "autoplayDescDisabled": "تم إيقاف التشغيل التلقائي. سيتوقف الصوت عند انتهاء القائمة.", - "autoplayEngine": "المحرك: YouTube Mix + Last.fm" + "autoplayEngine": "المحرك: YouTube Mix + Last.fm", + "statusActive": "🟢 مفعّل", + "statusDisabled": "🔴 معطّل", + "disableHint": "{{prefix}}autoplay للتعطيل", + "enableHint": "{{prefix}}autoplay للتفعيل" }, "trackopt": { "notAvailable": "❌ ميزة خيارات المقطع غير متاحة.", @@ -1021,7 +1142,14 @@ "savedListAuthor": "✂️ اقتطاعات المسار المحفوظة", "trimProfilesFooter": "تم حفظ {{count}} ملف اقتطاع • طبّق باستخدام {{prefix}}trackopt play ", "appliedAuthor": "✂️ تم تطبيق اقتطاع المسار", - "activeCutRangeField": "نطاق الاقتطاع النشط" + "activeCutRangeField": "نطاق الاقتطاع النشط", + "autoApplyFooter": "يتم تطبيقه تلقائيًا عند بدء تشغيل هذا المسار • {{prefix}}trackopt list", + "playFooterHint": "تم تطبيق ملف القص النشط على جلسة التشغيل الحالية", + "removeAuthor": "✂️ إدارة قص المسارات", + "removeFooter": "قم بتعيين أوقات قص مخصصة جديدة في أي وقت باستخدام {{prefix}}trackopt set", + "listAuthor": "✂️ دليل قص المسارات", + "listTitleClean": "أوقات القص المحفوظة ({{count}})", + "listFooterHint": "إدارة أوقات القص باستخدام {{prefix}}trackopt set / play / remove" }, "normalize": { "statusEnabled": "🔊 تسوية الصوت الديناميكية (ReplayGain) **مفعلة** حالياً لهذا الخادم.", @@ -1043,7 +1171,10 @@ "subBass": "الباس الفرعي", "midBass": "الباس المتوسط", "high": "التردد العالي", - "resetHint": "إعادة التعيين في أي وقت بـ {{prefix}}bassboost off" + "resetHint": "إعادة التعيين في أي وقت بـ {{prefix}}bassboost off", + "offTitle": "⏹️ إيقاف تضخيم الباس", + "activeTitle": "🔊 تضخيم الباس: {{level}}", + "offFooter": "تطبيق باستخدام {{prefix}}bassboost " }, "speed": { "reset": "⏩ تمت إعادة ضبط سرعة التشغيل إلى الوضع الطبيعي **1.0×**.", diff --git a/storage/locales/bot/ckb.json b/storage/locales/bot/ckb.json index be2733f..b2e939d 100644 --- a/storage/locales/bot/ckb.json +++ b/storage/locales/bot/ckb.json @@ -244,12 +244,16 @@ "joinPermissionError": "❌ مۆڵەتی پێوەستبوون بە <#{{channel}}>م نییە. تکایە مۆڵەتی **پەیوەستبوون**م لەو کەناڵەدا بدە.", "joinFailedPermissions": "❌ سەرکەوتوو نەبوو لە پەیوەستبوون بە کەناڵی دەنگی — مۆڵەتی پێویست نییە. تکایە دڵنیا ببەرەوە لەوەی مۆڵەتی **پەیوەستبوون** و **دەنگدان**م هەیە.", "joinFailedGeneric": "❌ سەرکەوتوو نەبوو لە پەیوەستبوون بە کەناڵی دەنگی. تکایە دووبارە هەوڵبدەرەوە.", - "joinFailedNotFound": "❌ ئەو کەناڵە دەنگییە نەدۆزرایەوە." + "joinFailedNotFound": "❌ ئەو کەناڵە دەنگییە نەدۆزرایەوە.", + "restoreAuthor": "🔄 چاودێری دەنگی 24/7", + "restoreTitle": "دانیشتنی لێدان گەڕێندرایەوە", + "restoreFooter": "مانەوەی دەنگ 24/7 • دەستپێکردنەوەی لێدان بە شێوەیەکی خۆکار" }, "clear": { "cleared": "🗑️ ڕیزبەندییەکە پاککرایەوە.", "clearedTitle": "ڕیزبەندی پاککرایەوە", - "clearedSummary": "{{count}} {{plural}} لە ڕیزبەندی سڕدرانەوە" + "clearedSummary": "{{count}} {{plural}} لە ڕیزبەندی سڕدرانەوە", + "footerHint": "بەکاری بێنە {{prefix}}play بۆ دەستپێکردنی ڕیزبەندی نوێ" }, "debug": { "voiceTitle": "🔧 دیباگی دەنگ", @@ -295,7 +299,10 @@ "channelNotFound": "❌ کەناڵەکە نەدۆزرایەوە.", "wrongServer": "❌ ئەم فەرمانە پێویستە لە هەمان سێرڤەردا بێت کە کەناڵی دەنگی تێدایە.", "playerNotFound": "❌ پەخشکەرەکە نەدۆزرایەوە.", - "playerNotInit": "❌ پەخشکەرەکە ئامادە نەکراوە." + "playerNotInit": "❌ پەخشکەرەکە ئامادە نەکراوە.", + "authorAdmin": "🚪 بەڕێوەبردنی دەنگ", + "titleEviction": "دەرکردنی زۆرەملێ لە کەناڵ", + "footerTip": "کەناڵی مەبەست: {{channel}} • کرداری بەڕێوەبردنی کەناڵەکان" }, "invite": { "title": "Banngکردنی Remix", @@ -320,7 +327,10 @@ "connectedAuthor": "🟢 پەیوەست بوو بە دەنگ", "selectVCAuthor": "🔊 کەناڵێکی دەنگی هەڵبژێرە", "selectVCFooter": "کاردانەوە بکە بە ١-٩ بۆ پەیوەستبوون • بەسەردەچێت لە ٣٠ چرکەدا", - "playPromptFooter": "هەر کاتێک مۆسیقا پەخش بکە بە {{prefix}}play " + "playPromptFooter": "هەر کاتێک مۆسیقا پەخش بکە بە {{prefix}}play ", + "promptAuthor": "🔊 پەیوەندی دەنگی", + "promptTitle": "پەیوەندیکردن بە کەناڵی دەنگی", + "promptFooter": "بچۆ ناو کەناڵێک یان {{prefix}}join بەکاربهێنە • {{prefix}}help join" }, "leave": { "noVoiceChannel": "⚠️ تکایە سەرەتا بەشداری کەناڵێکی دەنگی بکە، یان یەکێک دیاریبکە: `{{prefix}}leave <#channel>`", @@ -373,7 +383,8 @@ "loopOffDesc": "دووبارەکردنەوە ناچالاکە", "songLoopBadge": "دووبارەکردنەوەی یەک تراک", "queueLoopBadge": "دووبارەکردنەوەی ڕیزبەندی", - "loopOffBadge": "ناچالاکە" + "loopOffBadge": "ناچالاکە", + "cycleFooter": "گۆڕینی دۆخەکان: {{prefix}}loop song • {{prefix}}loop queue" }, "lyrics": { "nothingPlaying": "❌ هیچ شتێک پەخش ناکرێت لە ئێستادا.", @@ -384,7 +395,8 @@ "nodeLinkFooter": "NodeLink • {{lines}} هێڵ", "sourceFooter": "{{source}} • {{lines}} هێڵ", "controlsExpired": "⌛ کۆنتڕۆڵەکان بەسەرچوون • NodeLink • {{lines}} هێڵ", - "sessionClosed": "دانیشتن داخرا • NodeLink • {{lines}} هێڵ" + "sessionClosed": "دانیشتن داخرا • NodeLink • {{lines}} هێڵ", + "author": "تێکستی گۆرانی" }, "np": { "loading": "⏳ بارکردن...", @@ -529,7 +541,8 @@ "lyricsDisplayed": "دەق نیشان درا ({{lines}} هێڵ، {{pages}} لاپەڕە)", "lyricsError": "⚠️ هەڵەی دەق: {{error}}", "previousNotAvailable": "⏮️ تراکی پێشوو هێشتا بەردەست نییە.", - "errorGeneric": "⚠️ هەڵە: {{error}}" + "errorGeneric": "⚠️ هەڵە: {{error}}", + "deckAuthor": "🎛️ کۆنتڕۆڵکەری دەنگی Hi-Fi • 48kHz Direct" }, "radio": { "noStations": "❌ هیچ ستەیشنێکی ڕادیۆیی ڕێکنەخراوە.", @@ -588,7 +601,11 @@ "noServers": "_هیچ سێرڤەرێک نەدۆزرایەوە._", "title": "🌐 سێرڤەرەکان ({{count}})", "pageTitle": "🌐 سێرڤەرەکان ({{count}}) - لاپەڕە {{page}}/{{total}}", - "listComplete": "لیست تەواو بوو" + "listComplete": "لیست تەواو بوو", + "serversAuthor": "🌐 تۆڕی پەیوەستکراو", + "serversTitle": "ڕێبەری سێرڤەرە پەیوەستکراوەکان", + "serversActiveBadge": "{{count}} سێرڤەری چالاک", + "serversTelemetryFooter": "زانیاری ڕاستەوخۆی سێرڤەرەکان • پەڕەی {{page}}/{{total}}" }, "settings": { "unknownSetting": "❌ ڕێکخستنی نەناسراو `{{setting}}`.", @@ -712,14 +729,31 @@ "inspectorTitle": "⚙️ پشکنەری ڕێکخستن", "settingValueField": "بەهای ئێستا", "settingDescField": "وەسف", - "inspectorFooter": "{{prefix}}settings set {{setting}} بەکاربهێنە بۆ نوێکردنەوە" + "inspectorFooter": "{{prefix}}settings set {{setting}} بەکاربهێنە بۆ نوێکردنەوە", + "handbookTitle": "⚙️ ڕێبەری ڕێکخستنەکان", + "handbookAuthor": "⚙️ ڕێبەری سازاندنی سێرڤەر", + "handbookDesc": "ڕەفتار و تایبەتمەندییەکانی بۆت بۆ ئەم سێرڤەرە ڕێکبخە.", + "handbookParamsField": "پارامیتەرە ڕێکخراوەکان", + "handbookOpsField": "کردارەکانی فەرمان", + "handbookOpGet": "پیشاندانی داشبۆردی سازاندنی سێرڤەر", + "handbookOpSet": "نوێکردنەوەی ڕێکخستنی سێرڤەر", + "handbookOpReset": "گەڕاندنەوەی ڕێکخستن بۆ بنەڕەتی", + "handbookOpHelp": "پشکنینی وردەکاری و بەها ڕێگەپێدراوەکان", + "handbookShortcutsField": "قەدبڕە ڕاستەوخۆکان", + "settingDefaultField": "بەهای بنەڕەتی", + "settingRangeField": "بەها ڕێگەپێدراوەکان / مەودا", + "shortcutAuthor": "⚙️ سازاندنی سێرڤەر", + "shortcutValueField": "بەهای ئێستا", + "shortcutDefaultField": "بنەڕەتی", + "shortcutHintFooter": "نوێکردنەوە: {{prefix}}{{shortcut}} • {{prefix}}settings get بۆ داشبۆردی تەواو" }, "shuffle": { "emptyQueue": "هیچ شتێک نییە لە ڕیزبەندییەکەدا بۆ تێکەڵکردن.", "shuffled": "🔀 ڕیزبەندییەکە تێکەڵ کرا", "shuffledTitle": "ڕیزبەندی تێکەڵکرا", "shuffledSummary": "{{count}} {{plural}} بە شێوەیەکی هەڕەمەکی تێکەڵکران", - "newUpNext": "تراکی ژمارە ١ی نوێی دواتر" + "newUpNext": "تراکی ژمارە ١ی نوێی دواتر", + "viewOrderFooter": "بەکاری بێنە {{prefix}}queue بۆ بینینی تەواوی ڕیزبەندی" }, "skip": { "nothingPlaying": "❌ هیچ شتێک پەخش ناکرێت لە ئێستادا!", @@ -798,7 +832,8 @@ "fieldDefault": "دەنگی بنەڕەتی", "fieldActive": "دەنگی کاتی ئێستا", "authorSaved": "🔊 دەنگی بنەڕەتیی سێرڤەر پاشەکەوت کرا", - "fieldNewDefault": "ئاستی بنەڕەتی نوێ" + "fieldNewDefault": "ئاستی بنەڕەتی نوێ", + "footerHint": "دەنگی بنەڕەتی سێرڤەر بۆ هەموو دانیشتنەکانی لێدانی داهاتوو جێبەجێ دەکرێت" }, "gateway": { "missingPermsFallback": "⚠️ مۆڵەتەکانم کەمە کە پێویستیم بەوانەیە بۆ کارکردنی دروست! کەمەکان: **{{perms}}**. تکایە لە بەڕێوەبەری سێرڤەر بخۆشتن ئەم مۆڵەتانە لە ڕێکخستنەکانی سێرڤەر ← ڕۆڵەکان." @@ -926,7 +961,80 @@ "artistFieldTags": "جۆر و تاگەکان", "artistFooterPro": "ڕیزبەندی سێرڤەر: {{prefix}}whoknows {{artist}} • {{prefix}}lastfm albums", "coverAuthor": "🖼️ گەلەری کەڤەری ئەلبوم", - "coverFooterPro": "پیشاندانی وێنەی گۆرانی: {{prefix}}thumbnail • {{prefix}}lastfm albuminfo" + "coverFooterPro": "پیشاندانی وێنەی گۆرانی: {{prefix}}thumbnail • {{prefix}}lastfm albuminfo", + "helpAuthor": "🎵 ناوەندی فەرمانەکانی Last.fm", + "helpTitle": "ڕێبەری فەرمانەکان", + "helpCategoryAccount": "👤 ئەژمێر و سکڕۆبڵەکان", + "helpCategoryDiscovery": "🔍 دۆزینەوە و کەڤەرەکان", + "helpCategorySocial": "👑 تاجەکان و کۆمەڵایەتی", + "helpCategoryPlayback": "🎧 لێدان و پەخشکردن", + "helpFooterPro": "لێدان لە Last.fm: {{prefix}}fm play top • Last.fm v2", + "crownsAuthor": "👑 کۆکراوەی تاجەکانی سێرڤەر", + "crownsMonopolyField": "گەورەترین تاج", + "crownsOtherField": "خەزێنەی تاجەکان", + "crownsUncontested": "بێ ڕکابەر", + "crownsLead": "پێشکەوتن بە +{{lead}}", + "crownsRunnerUp": "دووەم: {{user}} ({{plays}})", + "crownsFooterPro": "پیشاندانی گوێگرانی هونەرمەند: {{prefix}}whoknows • {{prefix}}lastfm crowns stolen", + "compareAuthor": "🤝 هاوتاکردنی ئارەزووی مۆسیقا", + "compareMeter": "ئاستی گونجاندن: {{level}} ({{score}}%)", + "compareFieldShared": "هونەرمەندە هاوبەشەکان", + "compareFooterPro": "پشکنینی نزیکی سێرڤەر: {{prefix}}lastfm affinity • {{prefix}}lastfm compare", + "trendingAuthor": "🔥 گڕوتینی مۆسیقای جیهانی", + "trendingTitleTracks": "باوترین تراکەکان", + "trendingTitleArtists": "باوترین هونەرمەندان", + "trendingBadge": "ترێندە ئێستا", + "trendingPodium1": "#1 ترێندی جیهانی", + "trendingRunnersUp": "ترێندەکانی تر", + "trendingListenersCount": "{{count}} گوێگری ئەمڕۆ", + "trendingFooterPro": "لێدانی ترێندەکان: {{prefix}}lastfm play top • {{prefix}}lastfm trending artists", + "tagAuthor": "🏷️ تیشکۆ خستنەسەر جۆر و تاگ", + "tagFieldReach": "گەیشتنی جیهانی", + "tagFieldTaggings": "کۆی گشتی تاگکردن", + "tagFieldPillars": "هونەرمەندە سەرەکییەکان", + "tagFieldTopTracks": "تراکە دیارەکان", + "tagFooterPro": "گەڕان لە ئەلبومەکانی تاگ: {{prefix}}lastfm tagalbums {{tag}} • {{prefix}}lastfm tag", + "albumSpotlightAuthor": "💿 تیشکۆ خستنەسەر ئەلبووم", + "albumFieldArtist": "هونەرمەند", + "albumFieldYourPlays": "گوێگرتنەکانت", + "albumFieldTracks": "ژمارەی تراکەکان", + "albumFieldTracklist": "بەشێک لە لیستی تراکەکان", + "albumFieldTags": "جۆرەکان و تاگەکان", + "albumFooterPro": "لێدانی ئەلبووم: {{prefix}}play {{artist}} - {{album}} • {{prefix}}fm cover بۆ بەرگ", + "trackSpotlightAuthor": "🎵 تیشکۆ خستنەسەر تراک", + "trackFieldArtist": "هونەرمەند", + "trackFieldAlbum": "ئەلبووم", + "trackFieldListeners": "گوێگرانی جیهانی", + "trackFieldPlays": "سەرجەمی گوێگرتنەکان", + "trackFieldUserPlays": "گوێگرتنەکانت", + "trackFieldLoved": "دۆخی دڵخواز", + "lovedStatusYes": "خۆشەویست ❤️", + "lovedStatusNo": "خۆشنەویستراو 🖤", + "trackFieldTags": "تاگەکان", + "trackFieldSimilar": "تراکە هاوشێوەکان", + "trackFooterPro": "لێدانی تراک: {{prefix}}play {{artist}} - {{track}} • Last.fm: {{user}}", + "leaderboardAuthorPro": "👑 هۆڵی ناودارانی مۆسیقا", + "leaderboardChampion": "پاڵەوان", + "leaderboardRunnersUp": "ڕکابەرانی سەکۆ", + "trackListAuthorLoved": "❤️ دڵخوازە تایبەتەکان", + "trackListAuthorTop": "🏆 باڵاترین تراکەکان", + "trackListAuthorRecent": "⏱️ چالاکییەکانی دوایی", + "playDirectoryAuthor": "🎧 ناوەندی لێدانی Last.fm", + "playDirectoryTitle": "ڕێبەری لێدانی زیرەک", + "playDirectoryCollections": "کۆمەڵە مۆسیقاییە بەردەستەکان", + "playDirectoryProviders": "دابینکەرانی گەڕانی پاڵپشتیکراو", + "playDirectoryFooter": "لێدانی مۆسیقا: {{prefix}}fm play • Last.fm v2", + "playCategoryLoved": "کۆمەڵەی گۆرانییە دڵخوازەکان", + "playCategoryTop": "باڵاترین تراکە گوێگیراوەکان", + "playCategoryRecent": "مێژووی گوێگرتنی دوایی", + "playCategoryAlbums": "کۆمەڵەی ئەلبوومە باڵاکان", + "playCategoryArtists": "کۆمەڵەی هونەرمەندە باڵاکان", + "playCategoryPlaylist": "لیستەکانی لێدانی تایبەت", + "playLoadingTitle": "بارکردنی تراکەکان", + "playLoadingDesc": "{{emoji}} بارکردنی **{{count}}** تراکی {{category}} بۆ **{{username}}**{{provider}}...", + "playDoneTitle": "ڕیزبەندی لێدان نوێکرایەوە", + "playDoneAdded": "**{{count}}** تراک بۆ ڕیزبەندی زیادکرا", + "playDoneNotFound": "نەتوانرا {{count}} تراک بدۆزرێتەوە" }, "messages": { "missingCriticalPermsTitle": "مۆڵەتە کەمەکان — بۆت ناتوانێت بە دروستی کار بکات", @@ -963,7 +1071,16 @@ "unknownDate": "نەناسراو", "checkYes": "✅ دەنگدانی **چالاکیت هەیە** بۆ ئەم {{type}} — سوپاس!", "checkNo": "❌ هێشتا دەنگت بۆ ئەم {{type}} نەداوە (یان دەنگت کۆتایی هاتووە).\n**[ئێستا دەنگبدە!]({{url}})**", - "checkUnknown": "⚠️ ئێستا نەتوانرا دۆخی دەنگدانت بپشکنرێت — دوای خولەکێک دووبارە هەوڵبدە." + "checkUnknown": "⚠️ ئێستا نەتوانرا دۆخی دەنگدانت بپشکنرێت — دوای خولەکێک دووبارە هەوڵبدە.", + "voteCheckAuthor": "🗳️ کۆمەڵگەی FluxerList", + "voteCheckTitle": "پشکنینی دەنگدانی لایەنگران", + "voteCheckYesDesc": "✅ تۆ **دەنگت داوە** بەم {{type}} لە FluxerList — سوپاس بۆ پاڵپشتیت!", + "voteCheckNoDesc": "❌ هێشتا دەنگت نەداوە بەم {{type}} لە FluxerList.\n**[ئێستا دەنگ بدە لە FluxerList]({{url}})**", + "voteCheckFooter": "بینینی لیستی دەنگدەران: {{prefix}}voters • FluxerList", + "voteVotersAuthor": "🏆 باڵاترین پاڵپشتیکاران", + "voteAuthor": "🗳️ کۆمەڵگەی FluxerList", + "voteFooterHint": "پشکنینی دۆخی دەنگدانت: {{prefix}}vote check • {{prefix}}voters", + "defaultTitle": "ڕێبەری سیستەمی دەنگدان" }, "seek": { "nothingPlaying": "❌ هیچ شتێک پەخش ناکرێت لە ئێستادا!", @@ -984,7 +1101,11 @@ "autoplayTitleDisabled": "پەخشی خۆکار ناچالاک کرا", "autoplayDescEnabled": "ڕیمیکس خۆکارانە تراکی پێشنیارکراو زیاد دەکات کاتێک ڕیزبەندی تەواو دەبێت.", "autoplayDescDisabled": "پەخشی خۆکار کوژایەوە. دەنگ دەوەستێت کاتێک ڕیزبەندی تەواو دەبێت.", - "autoplayEngine": "ماتۆڕ: YouTube Mix + Last.fm" + "autoplayEngine": "ماتۆڕ: YouTube Mix + Last.fm", + "statusActive": "🟢 چالاکە", + "statusDisabled": "🔴 ناچالاکە", + "disableHint": "{{prefix}}autoplay بۆ ناچالاککردن", + "enableHint": "{{prefix}}autoplay بۆ چالاککردن" }, "trackopt": { "notAvailable": "❌ تایبەتمەندی هەڵبژاردنی تراک بەردەست نییە.", @@ -1021,7 +1142,14 @@ "savedListAuthor": "✂️ بڕینە پاشەکەوتکراوەکانی گۆرانی", "trimProfilesFooter": "{{count}} شێوازی بڕین پاشەکەوت کرا • بەکاربهێنە بە {{prefix}}trackopt play ", "appliedAuthor": "✂️ بڕینی گۆرانی جێبەجێ کرا", - "activeCutRangeField": "مەودای بڕینی چالاک" + "activeCutRangeField": "مەودای بڕینی چالاک", + "autoApplyFooter": "خۆکارانە جێبەجێ دەبێت کاتێک ئەم گۆرانییە لێدەدرێت • {{prefix}}trackopt list", + "playFooterHint": "پرۆفایلی بڕینی چالاک بۆ دانیشتنی لێدانی ئێستا جێبەجێ کرا", + "removeAuthor": "✂️ بەڕێوەبەری بڕینی گۆرانی", + "removeFooter": "لە هەر کاتێکدا کاتی بڕینی نوێ دیاری بکە بە {{prefix}}trackopt set", + "listAuthor": "✂️ لیستی بڕینی گۆرانییەکان", + "listTitleClean": "بڕینە پاشەکەوتکراوەکان ({{count}})", + "listFooterHint": "بەڕێوەبردنی بڕینەکان بە {{prefix}}trackopt set / play / remove" }, "normalize": { "statusEnabled": "🔊 یەکسانسازیی دەنگی داینامیکی (ReplayGain) لەم سێرڤەرەدا **چالاکە**.", @@ -1043,7 +1171,10 @@ "subBass": "باسی ژێرەوە", "midBass": "باسی ناوەند", "high": "دەنگی بەرز", - "resetHint": "ڕێکخستنەوە لە هەر کاتێکدا بە {{prefix}}bassboost off" + "resetHint": "ڕێکخستنەوە لە هەر کاتێکدا بە {{prefix}}bassboost off", + "offTitle": "⏹️ بەرزکردنەوەی باس کوژاوەتەوە", + "activeTitle": "🔊 بەرزکردنەوەی باس: {{level}}", + "offFooter": "جێبەجێکردن بە {{prefix}}bassboost " }, "speed": { "reset": "⏩ خێرایی لێدان گەڕایەوە بۆ باری ئاسایی **1.0×**.", diff --git a/storage/locales/bot/de-DE.json b/storage/locales/bot/de-DE.json index a4dd922..41f98dc 100644 --- a/storage/locales/bot/de-DE.json +++ b/storage/locales/bot/de-DE.json @@ -244,12 +244,16 @@ "joinPermissionError": "❌ Ich habe keine Berechtigung, <#{{channel}}> beizutreten. Bitte gib mir die **Verbinden**-Berechtigung in diesem Kanal.", "joinFailedPermissions": "❌ Beitritt zum Sprachkanal fehlgeschlagen — fehlende Berechtigungen. Bitte stelle sicher, dass ich die **Verbinden**- und **Sprechen**-Berechtigungen habe.", "joinFailedGeneric": "❌ Beitritt zum Sprachkanal fehlgeschlagen. Bitte versuche es erneut.", - "joinFailedNotFound": "❌ Dieser Sprachkanal wurde nicht gefunden." + "joinFailedNotFound": "❌ Dieser Sprachkanal wurde nicht gefunden.", + "restoreAuthor": "🔄 24/7 Voice-Watchdog", + "restoreTitle": "Wiedergabesitzung wiederhergestellt", + "restoreFooter": "24/7 Voice-Persistenz • Wiedergabe wird automatisch fortgesetzt" }, "clear": { "cleared": "🗑️ Warteschlange geleert.", "clearedTitle": "Warteschlange Geleert", - "clearedSummary": "{{count}} {{plural}} aus der Warteschlange entfernt" + "clearedSummary": "{{count}} {{plural}} aus der Warteschlange entfernt", + "footerHint": "Nutze {{prefix}}play , um eine neue Warteschlange zu starten" }, "debug": { "voiceTitle": "🔧 Sprach-Debug", @@ -295,7 +299,10 @@ "channelNotFound": "❌ Kanal nicht gefunden.", "wrongServer": "❌ Dieser Befehl muss im selben Server ausgeführt werden wie der Sprachkanal.", "playerNotFound": "❌ Player nicht gefunden.", - "playerNotInit": "❌ Player nicht initialisiert." + "playerNotInit": "❌ Player nicht initialisiert.", + "authorAdmin": "🚪 Voice-Administration", + "titleEviction": "Kanal-Zwangstrennung", + "footerTip": "Zielkanal: {{channel}} • ManageChannels-Operation" }, "invite": { "title": "Remix einladen", @@ -320,7 +327,10 @@ "connectedAuthor": "🟢 Mit Sprachkanal verbunden", "selectVCAuthor": "🔊 Sprachkanal auswählen", "selectVCFooter": "Reagiere mit 1-9 zum Verbinden • Sitzung läuft in 30s ab", - "playPromptFooter": "Spiele Musik jederzeit ab mit {{prefix}}play " + "playPromptFooter": "Spiele Musik jederzeit ab mit {{prefix}}play ", + "promptAuthor": "🔊 Sprachverbindung", + "promptTitle": "Mit Sprachkanal verbinden", + "promptFooter": "Kanal beitreten oder {{prefix}}join nutzen • {{prefix}}help join" }, "leave": { "noVoiceChannel": "⚠️ Bitte trete zuerst einem Sprachkanal bei oder gib einen an: `{{prefix}}leave <#channel>`", @@ -373,7 +383,8 @@ "loopOffDesc": "Wiederholung deaktiviert", "songLoopBadge": "Einzeltitel-Schleife", "queueLoopBadge": "Warteschlangen-Schleife", - "loopOffBadge": "Aus" + "loopOffBadge": "Aus", + "cycleFooter": "Modi wechseln: {{prefix}}loop song • {{prefix}}loop queue" }, "lyrics": { "nothingPlaying": "❌ Es wird gerade nichts abgespielt.", @@ -384,7 +395,8 @@ "nodeLinkFooter": "NodeLink • {{lines}} Zeilen", "sourceFooter": "{{source}} • {{lines}} Zeilen", "controlsExpired": "⌛ Steuerung abgelaufen • NodeLink • {{lines}} Zeilen", - "sessionClosed": "Sitzung geschlossen • NodeLink • {{lines}} Zeilen" + "sessionClosed": "Sitzung geschlossen • NodeLink • {{lines}} Zeilen", + "author": "Songtext" }, "np": { "loading": "⏳ Laden...", @@ -529,7 +541,8 @@ "lyricsDisplayed": "Songtext angezeigt ({{lines}} Zeilen, {{pages}} Seiten)", "lyricsError": "⚠️ Songtext-Fehler: {{error}}", "previousNotAvailable": "⏮️ Vorheriger Track ist noch nicht verfügbar.", - "errorGeneric": "⚠️ Fehler: {{error}}" + "errorGeneric": "⚠️ Fehler: {{error}}", + "deckAuthor": "🎛️ Hi-Fi Audio-Controller • 48kHz Direct" }, "radio": { "noStations": "❌ Keine Radiosender konfiguriert.", @@ -588,7 +601,11 @@ "noServers": "_Keine Server gefunden._", "title": "🌐 Server ({{count}})", "pageTitle": "🌐 Server ({{count}}) - Seite {{page}}/{{total}}", - "listComplete": "Liste vollständig" + "listComplete": "Liste vollständig", + "serversAuthor": "🌐 Netzwerktopologie", + "serversTitle": "Verzeichnis verbundener Server", + "serversActiveBadge": "{{count}} Server aktiv", + "serversTelemetryFooter": "Echtzeit-Servertelemetrie • Seite {{page}}/{{total}}" }, "settings": { "unknownSetting": "❌ Unbekannte Einstellung `{{setting}}`.", @@ -712,14 +729,31 @@ "inspectorTitle": "⚙️ Einstellungs-Inspektor", "settingValueField": "Aktueller Wert", "settingDescField": "Beschreibung", - "inspectorFooter": "Mit {{prefix}}settings set {{setting}} aktualisieren" + "inspectorFooter": "Mit {{prefix}}settings set {{setting}} aktualisieren", + "handbookTitle": "⚙️ Einstellungs-Handbuch", + "handbookAuthor": "⚙️ Server-Konfigurationsleitfaden", + "handbookDesc": "Bot-Verhalten und Funktionen für diesen Server konfigurieren.", + "handbookParamsField": "Konfigurierbare Parameter", + "handbookOpsField": "Befehlsoperationen", + "handbookOpGet": "Server-Konfigurations-Dashboard anzeigen", + "handbookOpSet": "Server-Einstellung aktualisieren", + "handbookOpReset": "Einstellung auf Standard zurücksetzen", + "handbookOpHelp": "Parameterdetails & zulässige Werte prüfen", + "handbookShortcutsField": "Direkte Tastenkombinationen", + "settingDefaultField": "Standardwert", + "settingRangeField": "Erlaubte Werte / Bereich", + "shortcutAuthor": "⚙️ Server-Konfiguration", + "shortcutValueField": "Aktiver Wert", + "shortcutDefaultField": "Standard", + "shortcutHintFooter": "Aktualisieren: {{prefix}}{{shortcut}} • Vollständiges Panel mit {{prefix}}settings get" }, "shuffle": { "emptyQueue": "Es gibt nichts zum Mischen in der Warteschlange.", "shuffled": "🔀 Warteschlange gemischt", "shuffledTitle": "Warteschlange Gemischt", "shuffledSummary": "{{count}} {{plural}} zufällig neu geordnet", - "newUpNext": "Neuer Titel #1" + "newUpNext": "Neuer Titel #1", + "viewOrderFooter": "Nutze {{prefix}}queue, um die gesamte Reihenfolge anzuzeigen" }, "skip": { "nothingPlaying": "❌ Es wird gerade nichts abgespielt!", @@ -798,7 +832,8 @@ "fieldDefault": "Standard-Lautstärke", "fieldActive": "Aktuelle Sitzungslautstärke", "authorSaved": "🔊 Standard-Serverlautstärke gespeichert", - "fieldNewDefault": "Neuer Standard-Pegel" + "fieldNewDefault": "Neuer Standard-Pegel", + "footerHint": "Die Standardlautstärke des Servers wird für alle zukünftigen Wiedergabesitzungen angewendet" }, "gateway": { "missingPermsFallback": "⚠️ Mir fehlen Berechtigungen, die ich zum ordnungsgemäßen Arbeiten brauche! Fehlend: **{{perms}}**. Bitte einen Server-Administrator, diese Berechtigungen in Servereinstellungen → Rollen zu gewähren." @@ -926,7 +961,80 @@ "artistFieldTags": "Genres & Tags", "artistFooterPro": "Server-Bestenliste: {{prefix}}whoknows {{artist}} • {{prefix}}lastfm albums", "coverAuthor": "🖼️ Album-Cover-Galerie", - "coverFooterPro": "Song-Thumbnail ansehen: {{prefix}}thumbnail • {{prefix}}lastfm albuminfo" + "coverFooterPro": "Song-Thumbnail ansehen: {{prefix}}thumbnail • {{prefix}}lastfm albuminfo", + "helpAuthor": "🎵 Last.fm-Befehlszentrale", + "helpTitle": "Befehlsverzeichnis", + "helpCategoryAccount": "👤 Konto & Scrobbles", + "helpCategoryDiscovery": "🔍 Entdeckung & Cover", + "helpCategorySocial": "👑 Social & Server-Kronen", + "helpCategoryPlayback": "🎧 Wiedergabe & Streaming", + "helpFooterPro": "Von Last.fm abspielen: {{prefix}}fm play top • Last.fm v2", + "crownsAuthor": "👑 Server-Kronen-Sammlung", + "crownsMonopolyField": "Top-Kronen-Monopol", + "crownsOtherField": "Kronen-Tresor", + "crownsUncontested": "unangefochten", + "crownsLead": "+{{lead}} Vorsprung", + "crownsRunnerUp": "Zweitplatzierter: {{user}} ({{plays}})", + "crownsFooterPro": "Künstler-Hörer ansehen: {{prefix}}whoknows • {{prefix}}lastfm crowns stolen", + "compareAuthor": "🤝 Musik-Kompatibilitätsmatrix", + "compareMeter": "Kompatibilität: {{level}} ({{score}}%)", + "compareFieldShared": "Meistgeteilte Künstler", + "compareFooterPro": "Server-Affinität prüfen: {{prefix}}lastfm affinity • {{prefix}}lastfm compare", + "trendingAuthor": "🔥 Globaler Musik-Puls", + "trendingTitleTracks": "Top-Trending-Tracks", + "trendingTitleArtists": "Top-Trending-Künstler", + "trendingBadge": "JETZT VIRAL", + "trendingPodium1": "#1 Weltweiter Trend", + "trendingRunnersUp": "Weitere Trends", + "trendingListenersCount": "{{count}} Hörer heute", + "trendingFooterPro": "Trends abspielen: {{prefix}}lastfm play top • {{prefix}}lastfm trending artists", + "tagAuthor": "🏷️ Genre- & Tag-Spotlight", + "tagFieldReach": "Globale Reichweite", + "tagFieldTaggings": "Gesamte Markierungen", + "tagFieldPillars": "Pionier-Künstler", + "tagFieldTopTracks": "Signatur-Tracks", + "tagFooterPro": "Tag-Alben entdecken: {{prefix}}lastfm tagalbums {{tag}} • {{prefix}}lastfm tag", + "albumSpotlightAuthor": "💿 Album-Spotlight", + "albumFieldArtist": "Künstler", + "albumFieldYourPlays": "Deine Scrobbles", + "albumFieldTracks": "Titelanzahl", + "albumFieldTracklist": "Titellisten-Auszug", + "albumFieldTags": "Genres & Tags", + "albumFooterPro": "Album abspielen: {{prefix}}play {{artist}} - {{album}} • {{prefix}}fm cover für Cover-Art", + "trackSpotlightAuthor": "🎵 Titel-Spotlight", + "trackFieldArtist": "Künstler", + "trackFieldAlbum": "Album", + "trackFieldListeners": "Globale Hörer", + "trackFieldPlays": "Gesamt-Scrobbles", + "trackFieldUserPlays": "Deine Scrobbles", + "trackFieldLoved": "Favoritenstatus", + "lovedStatusYes": "Geliebt ❤️", + "lovedStatusNo": "Nicht geliebt 🖤", + "trackFieldTags": "Tags", + "trackFieldSimilar": "Ähnliche Titel", + "trackFooterPro": "Titel abspielen: {{prefix}}play {{artist}} - {{track}} • Last.fm: {{user}}", + "leaderboardAuthorPro": "👑 Musik-Ruhmeshalle", + "leaderboardChampion": "Champion", + "leaderboardRunnersUp": "Podiumsanwärter", + "trackListAuthorLoved": "❤️ Persönliche Favoriten", + "trackListAuthorTop": "🏆 Top-Titel", + "trackListAuthorRecent": "⏱️ Letzte Aktivität", + "playDirectoryAuthor": "🎧 Last.fm Streaming-Zentrale", + "playDirectoryTitle": "Smart-Playback-Verzeichnis", + "playDirectoryCollections": "Verfügbare Musiksammlungen", + "playDirectoryProviders": "Unterstützte Suchanbieter", + "playDirectoryFooter": "Musik abspielen: {{prefix}}fm play • Last.fm v2", + "playCategoryLoved": "Lieblings-Titel-Sammlung", + "playCategoryTop": "Meistgehörte Titel", + "playCategoryRecent": "Kürzlicher Hörverlauf", + "playCategoryAlbums": "Top-Album-Sammlungen", + "playCategoryArtists": "Top-Künstler-Sammlung", + "playCategoryPlaylist": "Eigene Wiedergabelisten", + "playLoadingTitle": "Titel werden geladen", + "playLoadingDesc": "{{emoji}} Lade **{{count}}** {{category}}-Titel für **{{username}}**{{provider}}...", + "playDoneTitle": "Warteschlange aktualisiert", + "playDoneAdded": "**{{count}}** Titel zur Warteschlange hinzugefügt", + "playDoneNotFound": "{{count}} Titel konnten nicht gefunden werden" }, "messages": { "missingCriticalPermsTitle": "Fehlende Berechtigungen — Bot kann nicht ordnungsgemäß arbeiten", @@ -963,7 +1071,16 @@ "unknownDate": "Unbekannt", "checkYes": "✅ Du hast ein **aktives Votum** für diesen {{type}} — danke!", "checkNo": "❌ Du hast für diesen {{type}} noch nicht abgestimmt (oder dein Votum ist abgelaufen).\n**[Jetzt voten!]({{url}})**", - "checkUnknown": "⚠️ Dein Votum konnte gerade nicht geprüft werden — versuche es in einer Minute erneut." + "checkUnknown": "⚠️ Dein Votum konnte gerade nicht geprüft werden — versuche es in einer Minute erneut.", + "voteCheckAuthor": "🗳️ FluxerList-Community", + "voteCheckTitle": "Unterstützer-Abstimmungsprüfung", + "voteCheckYesDesc": "✅ Du **hast bereits** für diesen {{type}} auf FluxerList abgestimmt — vielen Dank für deinen Support!", + "voteCheckNoDesc": "❌ Du hast für diesen {{type}} auf FluxerList noch nicht abgestimmt.\n**[Jetzt auf FluxerList abstimmen!]({{url}})**", + "voteCheckFooter": "Wählerliste anzeigen: {{prefix}}voters • FluxerList", + "voteVotersAuthor": "🏆 Top-Unterstützer", + "voteAuthor": "🗳️ FluxerList-Community", + "voteFooterHint": "Vote-Status prüfen: {{prefix}}vote check • {{prefix}}voters", + "defaultTitle": "Abstimmungssystem-Handbuch" }, "seek": { "nothingPlaying": "❌ Es wird gerade nichts abgespielt!", @@ -984,7 +1101,11 @@ "autoplayTitleDisabled": "Autoplay Deaktiviert", "autoplayDescEnabled": "Remix fügt automatisch empfohlene Titel hinzu, wenn die Warteschlange endet.", "autoplayDescDisabled": "Autoplay wurde deaktiviert. Die Wiedergabe stoppt am Ende der Warteschlange.", - "autoplayEngine": "Engine: YouTube Mix + Last.fm" + "autoplayEngine": "Engine: YouTube Mix + Last.fm", + "statusActive": "🟢 Aktiv", + "statusDisabled": "🔴 Deaktiviert", + "disableHint": "{{prefix}}autoplay zum Deaktivieren", + "enableHint": "{{prefix}}autoplay zum Aktivieren" }, "trackopt": { "notAvailable": "❌ Track-Optionen-Funktion ist nicht verfügbar.", @@ -1021,7 +1142,14 @@ "savedListAuthor": "✂️ Gespeicherte Titel-Trims", "trimProfilesFooter": "{{count}} Trim-Profil{{plural}} gespeichert • Anwenden mit {{prefix}}trackopt play ", "appliedAuthor": "✂️ Titel-Trim angewendet", - "activeCutRangeField": "Aktiver Schnittbereich" + "activeCutRangeField": "Aktiver Schnittbereich", + "autoApplyFooter": "Wird automatisch angewendet, wenn dieser Track abgespielt wird • {{prefix}}trackopt list", + "playFooterHint": "Aktives Schnittprofil auf die aktuelle Wiedergabesitzung angewendet", + "removeAuthor": "✂️ Track-Schnitt-Manager", + "removeFooter": "Setze jederzeit neue Schnitte mit {{prefix}}trackopt set", + "listAuthor": "✂️ Track-Schnitt-Verzeichnis", + "listTitleClean": "Gespeicherte Track-Schnitte ({{count}})", + "listFooterHint": "Verwalte deine Schnitte mit {{prefix}}trackopt set / play / remove" }, "normalize": { "statusEnabled": "🔊 Dynamische Lautstärkenormalisierung (ReplayGain) ist für diesen Server derzeit **Aktiviert**.", @@ -1043,7 +1171,10 @@ "subBass": "Sub-Bass", "midBass": "Mittel-Bass", "high": "Höhen", - "resetHint": "Jederzeit zurücksetzen mit {{prefix}}bassboost off" + "resetHint": "Jederzeit zurücksetzen mit {{prefix}}bassboost off", + "offTitle": "⏹️ Bass-Boost Aus", + "activeTitle": "🔊 Bass-Boost: {{level}}", + "offFooter": "Anwenden mit {{prefix}}bassboost " }, "speed": { "reset": "⏩ Wiedergabegeschwindigkeit auf normale **1.0×** zurückgesetzt.", diff --git a/storage/locales/bot/en.json b/storage/locales/bot/en.json index 1de3231..43da711 100644 --- a/storage/locales/bot/en.json +++ b/storage/locales/bot/en.json @@ -244,12 +244,16 @@ "joinPermissionError": "❌ I don't have permission to join <#{{channel}}>. Please give me the **Connect** permission in that channel.", "joinFailedPermissions": "❌ Failed to join voice channel — missing permissions. Please make sure I have **Connect** and **Speak** permissions.", "joinFailedGeneric": "❌ Failed to join voice channel. Please try again.", - "joinFailedNotFound": "❌ Could not find that voice channel." + "joinFailedNotFound": "❌ Could not find that voice channel.", + "restoreAuthor": "🔄 24/7 Voice Watchdog", + "restoreTitle": "Playback Session Restored", + "restoreFooter": "24/7 Voice Persistence • Playback resuming automatically" }, "clear": { "cleared": "🗑️ Queue cleared.", "clearedTitle": "Queue Cleared", - "clearedSummary": "Removed {{count}} {{plural}} from the queue" + "clearedSummary": "Removed {{count}} {{plural}} from the queue", + "footerHint": "Use {{prefix}}play to start a new queue" }, "debug": { "voiceTitle": "🔧 Voice Debug", @@ -295,7 +299,10 @@ "channelNotFound": "❌ Channel not found.", "wrongServer": "❌ This command has to be run in the same server as the voice channel.", "playerNotFound": "❌ Player not found.", - "playerNotInit": "❌ Player not initialized." + "playerNotInit": "❌ Player not initialized.", + "authorAdmin": "🚪 Voice Administration", + "titleEviction": "Channel Force Eviction", + "footerTip": "Target channel: {{channel}} • ManageChannels Operation" }, "gateway": { "missingPermsFallback": "⚠️ I'm missing permissions I need to work properly! Missing: **{{perms}}**. Please ask a server administrator to grant these permissions in Server Settings → Roles." @@ -323,7 +330,10 @@ "connectedAuthor": "🟢 Connected to Voice", "selectVCAuthor": "🔊 Select a Voice Channel", "selectVCFooter": "React 1-9 to connect • Session expires in 30s", - "playPromptFooter": "Play music anytime with {{prefix}}play " + "playPromptFooter": "Play music anytime with {{prefix}}play ", + "promptAuthor": "🔊 Voice Connection", + "promptTitle": "Connect to Voice Channel", + "promptFooter": "Join a channel or use {{prefix}}join • {{prefix}}help join" }, "leave": { "noVoiceChannel": "⚠️ I can't find you in a voice channel. Please join one, or if you're already in one, make sure I have **View Channel** and **Connect** permissions. You can also specify a channel: `{{prefix}}leave <#channel>`", @@ -466,7 +476,80 @@ "artistFieldTags": "Genres & Tags", "artistFooterPro": "Server leaderboard: {{prefix}}whoknows {{artist}} • {{prefix}}lastfm albums", "coverAuthor": "🖼️ Album Artwork Gallery", - "coverFooterPro": "View song thumbnail: {{prefix}}thumbnail • {{prefix}}lastfm albuminfo" + "coverFooterPro": "View song thumbnail: {{prefix}}thumbnail • {{prefix}}lastfm albuminfo", + "helpAuthor": "🎵 Last.fm Command Center", + "helpTitle": "Command Directory", + "helpCategoryAccount": "👤 Account & Scrobbles", + "helpCategoryDiscovery": "🔍 Discovery & Artwork", + "helpCategorySocial": "👑 Social & Server Crowns", + "helpCategoryPlayback": "🎧 Playback & Streaming", + "helpFooterPro": "Play from Last.fm: {{prefix}}fm play top • Last.fm v2", + "crownsAuthor": "👑 Server Crown Collection", + "crownsMonopolyField": "Top Crown Monopoly", + "crownsOtherField": "Crown Vault", + "crownsUncontested": "uncontested", + "crownsLead": "+{{lead}} lead", + "crownsRunnerUp": "Runner-up: {{user}} ({{plays}})", + "crownsFooterPro": "View artist listeners: {{prefix}}whoknows • {{prefix}}lastfm crowns stolen", + "compareAuthor": "🤝 Music Compatibility Matrix", + "compareMeter": "Compatibility: {{level}} ({{score}}%)", + "compareFieldShared": "Top Shared Artists", + "compareFooterPro": "Check server affinity: {{prefix}}lastfm affinity • {{prefix}}lastfm compare", + "trendingAuthor": "🔥 Global Music Pulse", + "trendingTitleTracks": "Top Trending Tracks", + "trendingTitleArtists": "Top Trending Artists", + "trendingBadge": "VIRAL NOW", + "trendingPodium1": "#1 Global Trend", + "trendingRunnersUp": "Trending Runners-Up", + "trendingListenersCount": "{{count}} listeners today", + "trendingFooterPro": "Play trending: {{prefix}}lastfm play top • {{prefix}}lastfm trending artists", + "tagAuthor": "🏷️ Genre & Tag Spotlight", + "tagFieldReach": "Global Reach", + "tagFieldTaggings": "Total Taggings", + "tagFieldPillars": "Pillar Artists", + "tagFieldTopTracks": "Signature Tracks", + "tagFooterPro": "Explore top albums: {{prefix}}lastfm tagalbums {{tag}} • {{prefix}}lastfm tag", + "albumSpotlightAuthor": "💿 Album Spotlight", + "albumFieldArtist": "Artist", + "albumFieldYourPlays": "Your Scrobbles", + "albumFieldTracks": "Track Count", + "albumFieldTracklist": "Tracklist Excerpt", + "albumFieldTags": "Genres & Tags", + "albumFooterPro": "Play album: {{prefix}}play {{artist}} - {{album}} • {{prefix}}fm cover for artwork", + "trackSpotlightAuthor": "🎵 Track Spotlight", + "trackFieldArtist": "Artist", + "trackFieldAlbum": "Album", + "trackFieldListeners": "Global Listeners", + "trackFieldPlays": "Total Scrobbles", + "trackFieldUserPlays": "Your Scrobbles", + "trackFieldLoved": "Favorite Status", + "lovedStatusYes": "Loved ❤️", + "lovedStatusNo": "Not Loved 🖤", + "trackFieldTags": "Tags", + "trackFieldSimilar": "Similar Tracks", + "trackFooterPro": "Play track: {{prefix}}play {{artist}} - {{track}} • Last.fm: {{user}}", + "leaderboardAuthorPro": "👑 Music Hall of Fame", + "leaderboardChampion": "Champion", + "leaderboardRunnersUp": "Podium Contenders", + "trackListAuthorLoved": "❤️ Personal Favorites", + "trackListAuthorTop": "🏆 Top Tracks", + "trackListAuthorRecent": "⏱️ Recent Activity", + "playDirectoryAuthor": "🎧 Last.fm Streaming Center", + "playDirectoryTitle": "Smart Playback Directory", + "playDirectoryCollections": "Available Music Collections", + "playDirectoryProviders": "Supported Search Providers", + "playDirectoryFooter": "Play music: {{prefix}}fm play • Last.fm v2", + "playCategoryLoved": "Loved tracks collection", + "playCategoryTop": "Top scrobbled tracks", + "playCategoryRecent": "Recent listening history", + "playCategoryAlbums": "Top album collections", + "playCategoryArtists": "Top artists collection", + "playCategoryPlaylist": "Custom playlists", + "playLoadingTitle": "Loading Tracks", + "playLoadingDesc": "{{emoji}} Loading **{{count}}** {{category}} tracks for **{{username}}**{{provider}}...", + "playDoneTitle": "Streaming Queue Updated", + "playDoneAdded": "Added **{{count}}** tracks to the queue", + "playDoneNotFound": "{{count}} tracks couldn't be resolved" }, "list": { "empty": "📭 The queue is empty. Use `{{prefix}}play` to add songs!", @@ -492,7 +575,8 @@ "loopOffDesc": "Looping disabled", "songLoopBadge": "Single Track Loop", "queueLoopBadge": "Queue Loop", - "loopOffBadge": "Loop Off" + "loopOffBadge": "Loop Off", + "cycleFooter": "Cycle modes: {{prefix}}loop song • {{prefix}}loop queue" }, "queue": { "empty": "The queue is empty.", @@ -512,7 +596,8 @@ "nodeLinkFooter": "NodeLink • {{lines}} lines", "sourceFooter": "{{source}} • {{lines}} lines", "controlsExpired": "⌛ Controls expired • NodeLink • {{lines}} lines", - "sessionClosed": "Session closed • NodeLink • {{lines}} lines" + "sessionClosed": "Session closed • NodeLink • {{lines}} lines", + "author": "Lyrics" }, "messages": { "missingCriticalPermsTitle": "Missing Permissions — Bot Cannot Work Properly", @@ -665,7 +750,8 @@ "fetchingLyrics": "📜 Fetching lyrics...", "noLyricsFound": "❌ No lyrics found in NodeLink", "lyricsDisplayed": "Lyrics displayed ({{lines}} lines, {{pages}} pages)", - "lyricsError": "⚠️ Lyrics error: {{error}}" + "lyricsError": "⚠️ Lyrics error: {{error}}", + "deckAuthor": "🎛️ Hi-Fi Audio Controller • 48kHz Direct" }, "radio": { "noStations": "❌ No radio stations are configured.", @@ -724,7 +810,11 @@ "noServers": "_No servers found._", "title": "🌐 Servers ({{count}})", "pageTitle": "🌐 Servers ({{count}}) - Page {{page}}/{{total}}", - "listComplete": "List complete" + "listComplete": "List complete", + "serversAuthor": "🌐 Network Topology", + "serversTitle": "Connected Guild Directory", + "serversActiveBadge": "{{count}} Guilds Active", + "serversTelemetryFooter": "Real-time guild telemetry • Page {{page}}/{{total}}" }, "settings": { "unknownSetting": "❌ Unknown setting `{{setting}}`.", @@ -848,14 +938,31 @@ "inspectorTitle": "⚙️ Setting Inspector", "settingValueField": "Current Value", "settingDescField": "Description", - "inspectorFooter": "Use {{prefix}}settings set {{setting}} to update" + "inspectorFooter": "Use {{prefix}}settings set {{setting}} to update", + "handbookTitle": "⚙️ Settings Handbook", + "handbookAuthor": "⚙️ Server Configuration Guide", + "handbookDesc": "Configure bot behavior and features for this server.", + "handbookParamsField": "Configurable Parameters", + "handbookOpsField": "Command Operations", + "handbookOpGet": "View server configuration dashboard", + "handbookOpSet": "Update server setting", + "handbookOpReset": "Reset setting to default", + "handbookOpHelp": "Inspect parameter details & allowed values", + "handbookShortcutsField": "Quick Shortcuts", + "settingDefaultField": "Default Value", + "settingRangeField": "Allowed Values / Range", + "shortcutAuthor": "⚙️ Server Configuration", + "shortcutValueField": "Active Value", + "shortcutDefaultField": "Default", + "shortcutHintFooter": "Update: {{prefix}}{{shortcut}} • {{prefix}}settings get for full panel" }, "shuffle": { "emptyQueue": "There is nothing to shuffle in the queue.", "shuffled": "🔀 Shuffled queue", "shuffledTitle": "Queue Shuffled", "shuffledSummary": "{{count}} {{plural}} randomly reordered", - "newUpNext": "New #1 Up Next" + "newUpNext": "New #1 Up Next", + "viewOrderFooter": "Use {{prefix}}queue to view full order" }, "skip": { "nothingPlaying": "❌ There's nothing playing at the moment!", @@ -948,7 +1055,16 @@ "unknownDate": "Unknown", "checkYes": "✅ You **have an active vote** for this {{type}} — thank you!", "checkNo": "❌ You haven't voted for this {{type}} yet (or your vote expired).\n**[Vote now!]({{url}})**", - "checkUnknown": "⚠️ Couldn't check your vote status right now — try again in a minute." + "checkUnknown": "⚠️ Couldn't check your vote status right now — try again in a minute.", + "voteCheckAuthor": "🗳️ FluxerList Community", + "voteCheckTitle": "Supporter Vote Verification", + "voteCheckYesDesc": "✅ You **have voted** for this {{type}} on FluxerList — thank you for your support!", + "voteCheckNoDesc": "❌ You haven't voted for this {{type}} on FluxerList yet.\n**[Vote now on FluxerList]({{url}})**", + "voteCheckFooter": "Browse voter leaderboard: {{prefix}}voters • FluxerList", + "voteVotersAuthor": "🏆 Top Community Supporters", + "voteAuthor": "🗳️ FluxerList Community", + "voteFooterHint": "Check your vote status: {{prefix}}vote check • {{prefix}}voters", + "defaultTitle": "Voting System Handbook" }, "volumedefault": { "title": "🔊 Volume Settings", @@ -963,7 +1079,8 @@ "fieldDefault": "Default Volume", "fieldActive": "Active Session Volume", "authorSaved": "🔊 Server Default Volume Saved", - "fieldNewDefault": "New Default Level" + "fieldNewDefault": "New Default Level", + "footerHint": "Server default volume will apply to all future playback sessions" }, "seek": { "nothingPlaying": "❌ There's nothing playing at the moment!", @@ -984,7 +1101,11 @@ "autoplayTitleDisabled": "Endless Autoplay Disabled", "autoplayDescEnabled": "Remix will automatically queue recommended tracks when the queue runs out.", "autoplayDescDisabled": "Autoplay has been turned off. Playback will stop when the queue ends.", - "autoplayEngine": "Engine: YouTube Mix + Last.fm" + "autoplayEngine": "Engine: YouTube Mix + Last.fm", + "statusActive": "🟢 Active", + "statusDisabled": "🔴 Disabled", + "disableHint": "{{prefix}}autoplay to disable", + "enableHint": "{{prefix}}autoplay to enable" }, "trackopt": { "notAvailable": "❌ Track options feature is not available.", @@ -1021,7 +1142,14 @@ "savedListAuthor": "✂️ Saved Track Trims", "trimProfilesFooter": "{{count}} trim profile{{plural}} saved • Apply with {{prefix}}trackopt play ", "appliedAuthor": "✂️ Track Trim Applied", - "activeCutRangeField": "Active Cut Range" + "activeCutRangeField": "Active Cut Range", + "autoApplyFooter": "Auto-applies whenever this track begins playing • {{prefix}}trackopt list", + "playFooterHint": "Active trim profile applied to current playback session", + "removeAuthor": "✂️ Track Trim Manager", + "removeFooter": "Set new custom trims anytime with {{prefix}}trackopt set", + "listAuthor": "✂️ Track Trim Directory", + "listTitleClean": "Saved Track Trims ({{count}})", + "listFooterHint": "Manage your trims with {{prefix}}trackopt set / play / remove" }, "normalize": { "statusEnabled": "🔊 Volume normalization (ReplayGain) is currently **Enabled** for this server.", @@ -1043,7 +1171,10 @@ "subBass": "Sub-Bass", "midBass": "Mid-Bass", "high": "High", - "resetHint": "Reset anytime with {{prefix}}bassboost off" + "resetHint": "Reset anytime with {{prefix}}bassboost off", + "offTitle": "⏹️ Bass Boost Off", + "activeTitle": "🔊 Bass Boost: {{level}}", + "offFooter": "Apply with {{prefix}}bassboost " }, "speed": { "reset": "⏩ Playback speed reset to normal **1.0×**.", diff --git a/storage/locales/bot/pt-BR.json b/storage/locales/bot/pt-BR.json index f50a545..7bca8cc 100644 --- a/storage/locales/bot/pt-BR.json +++ b/storage/locales/bot/pt-BR.json @@ -244,12 +244,16 @@ "joinPermissionError": "❌ Não tenho permissão para entrar em <#{{channel}}>. Por favor, me dê a permissão de **Conectar** nesse canal.", "joinFailedPermissions": "❌ Falha ao entrar no canal de voz — permissões ausentes. Por favor, certifique-se de que tenho as permissões de **Conectar** e **Falar**.", "joinFailedGeneric": "❌ Falha ao entrar no canal de voz. Por favor, tente novamente.", - "joinFailedNotFound": "❌ Não foi possível encontrar esse canal de voz." + "joinFailedNotFound": "❌ Não foi possível encontrar esse canal de voz.", + "restoreAuthor": "🔄 Monitor de Voz 24/7", + "restoreTitle": "Sessão de Reprodução Restaurada", + "restoreFooter": "Persistência de Voz 24/7 • Retomando reprodução automaticamente" }, "clear": { "cleared": "🗑️ Fila limpa.", "clearedTitle": "Fila Limpa", - "clearedSummary": "Removidas {{count}} {{plural}} da fila" + "clearedSummary": "Removidas {{count}} {{plural}} da fila", + "footerHint": "Use {{prefix}}play para iniciar uma nova fila" }, "debug": { "voiceTitle": "🔧 Debug de Voz", @@ -295,7 +299,10 @@ "channelNotFound": "❌ Canal não encontrado.", "wrongServer": "❌ Este comando deve ser executado no mesmo servidor que o canal de voz.", "playerNotFound": "❌ Player não encontrado.", - "playerNotInit": "❌ Player não inicializado." + "playerNotInit": "❌ Player não inicializado.", + "authorAdmin": "🚪 Administração de Voz", + "titleEviction": "Desconexão Forçada de Canal", + "footerTip": "Canal de destino: {{channel}} • Operação ManageChannels" }, "invite": { "title": "Convide o Remix", @@ -320,7 +327,10 @@ "connectedAuthor": "🟢 Conectado à Voz", "selectVCAuthor": "🔊 Selecione um Canal de Voz", "selectVCFooter": "Reaja de 1 a 9 para conectar • A sessão expira em 30s", - "playPromptFooter": "Toque música a qualquer momento com {{prefix}}play " + "playPromptFooter": "Toque música a qualquer momento com {{prefix}}play ", + "promptAuthor": "🔊 Conexão de Voz", + "promptTitle": "Conectar ao Canal de Voz", + "promptFooter": "Entre em um canal ou use {{prefix}}join • {{prefix}}help join" }, "leave": { "noVoiceChannel": "⚠️ Por favor, entre em um canal de voz primeiro ou especifique um: `{{prefix}}leave <#channel>`", @@ -373,7 +383,8 @@ "loopOffDesc": "Repetição desativada", "songLoopBadge": "Repetição de Faixa", "queueLoopBadge": "Repetição da Fila", - "loopOffBadge": "Desativada" + "loopOffBadge": "Desativada", + "cycleFooter": "Alternar modos: {{prefix}}loop song • {{prefix}}loop queue" }, "lyrics": { "nothingPlaying": "❌ Não está tocando nada no momento.", @@ -384,7 +395,8 @@ "nodeLinkFooter": "NodeLink • {{lines}} linhas", "sourceFooter": "{{source}} • {{lines}} linhas", "controlsExpired": "⌛ Controles expirados • NodeLink • {{lines}} linhas", - "sessionClosed": "Sessão encerrada • NodeLink • {{lines}} linhas" + "sessionClosed": "Sessão encerrada • NodeLink • {{lines}} linhas", + "author": "Letra da Música" }, "np": { "loading": "⏳ Carregando...", @@ -529,7 +541,8 @@ "lyricsDisplayed": "Letras exibidas ({{lines}} linhas, {{pages}} páginas)", "lyricsError": "⚠️ Erro nas letras: {{error}}", "previousNotAvailable": "⏮️ Faixa anterior ainda não está disponível.", - "errorGeneric": "⚠️ Erro: {{error}}" + "errorGeneric": "⚠️ Erro: {{error}}", + "deckAuthor": "🎛️ Controlador de Áudio Hi-Fi • 48kHz Direct" }, "radio": { "noStations": "❌ Nenhuma estação de rádio configurada.", @@ -588,7 +601,11 @@ "noServers": "_Nenhum servidor encontrado._", "title": "🌐 Servidores ({{count}})", "pageTitle": "🌐 Servidores ({{count}}) - Página {{page}}/{{total}}", - "listComplete": "Lista completa" + "listComplete": "Lista completa", + "serversAuthor": "🌐 Topologia de Rede", + "serversTitle": "Diretório de Servidores Conectados", + "serversActiveBadge": "{{count}} Servidores Ativos", + "serversTelemetryFooter": "Telemetria em tempo real • Página {{page}}/{{total}}" }, "settings": { "unknownSetting": "❌ Configuração desconhecida `{{setting}}`.", @@ -712,14 +729,31 @@ "inspectorTitle": "⚙️ Inspetor de Configurações", "settingValueField": "Valor Atual", "settingDescField": "Descrição", - "inspectorFooter": "Use {{prefix}}settings set {{setting}} para atualizar" + "inspectorFooter": "Use {{prefix}}settings set {{setting}} para atualizar", + "handbookTitle": "⚙️ Manual de Configurações", + "handbookAuthor": "⚙️ Guia de Configuração do Servidor", + "handbookDesc": "Configure o comportamento e os recursos do bot para este servidor.", + "handbookParamsField": "Parâmetros Configuráveis", + "handbookOpsField": "Operações de Comando", + "handbookOpGet": "Ver o painel de configuração do servidor", + "handbookOpSet": "Atualizar configuração do servidor", + "handbookOpReset": "Redefinir configuração para o padrão", + "handbookOpHelp": "Inspecionar detalhes do parâmetro e valores permitidos", + "handbookShortcutsField": "Atalhos Diretos", + "settingDefaultField": "Valor Padrão", + "settingRangeField": "Valores Permitidos / Intervalo", + "shortcutAuthor": "⚙️ Configuração do Servidor", + "shortcutValueField": "Valor Ativo", + "shortcutDefaultField": "Padrão", + "shortcutHintFooter": "Atualizar: {{prefix}}{{shortcut}} • Painel completo com {{prefix}}settings get" }, "shuffle": { "emptyQueue": "Não há nada para embaralhar na fila.", "shuffled": "🔀 Fila embaralhada", "shuffledTitle": "Fila Embaralhada", "shuffledSummary": "{{count}} {{plural}} reordenadas aleatoriamente", - "newUpNext": "Nova #1 a Seguir" + "newUpNext": "Nova #1 a Seguir", + "viewOrderFooter": "Use {{prefix}}queue para ver a ordem completa" }, "skip": { "nothingPlaying": "❌ Não está tocando nada no momento!", @@ -798,7 +832,8 @@ "fieldDefault": "Volume Padrão", "fieldActive": "Volume da Sessão Ativa", "authorSaved": "🔊 Volume Padrão do Servidor Salvo", - "fieldNewDefault": "Novo Nível Padrão" + "fieldNewDefault": "Novo Nível Padrão", + "footerHint": "O volume padrão do servidor será aplicado a todas as sessões futuras de reprodução" }, "gateway": { "missingPermsFallback": "⚠️ Estou sem permissões que preciso para funcionar corretamente! Faltando: **{{perms}}**. Por favor, peça a um administrador do servidor para conceder essas permissões em Configurações do Servidor → Cargos." @@ -926,7 +961,80 @@ "artistFieldTags": "Gêneros e Tags", "artistFooterPro": "Classificação do servidor: {{prefix}}whoknows {{artist}} • {{prefix}}lastfm albums", "coverAuthor": "🖼️ Galeria de Capa do Álbum", - "coverFooterPro": "Ver miniatura da música: {{prefix}}thumbnail • {{prefix}}lastfm albuminfo" + "coverFooterPro": "Ver miniatura da música: {{prefix}}thumbnail • {{prefix}}lastfm albuminfo", + "helpAuthor": "🎵 Central de Comandos Last.fm", + "helpTitle": "Diretório de Comandos", + "helpCategoryAccount": "👤 Conta e Scrobbles", + "helpCategoryDiscovery": "🔍 Descoberta e Capas", + "helpCategorySocial": "👑 Social e Coroas do Servidor", + "helpCategoryPlayback": "🎧 Reprodução e Transmissão", + "helpFooterPro": "Tocar do Last.fm: {{prefix}}fm play top • Last.fm v2", + "crownsAuthor": "👑 Coleção de Coroas do Servidor", + "crownsMonopolyField": "Principal Monopólio de Coroa", + "crownsOtherField": "Cofre de Coroas", + "crownsUncontested": "incontestado", + "crownsLead": "liderança de +{{lead}}", + "crownsRunnerUp": "Segundo lugar: {{user}} ({{plays}})", + "crownsFooterPro": "Ver ouvintes do artista: {{prefix}}whoknows • {{prefix}}lastfm crowns stolen", + "compareAuthor": "🤝 Matriz de Compatibilidade Musical", + "compareMeter": "Nível de Compatibilidade: {{level}} ({{score}}%)", + "compareFieldShared": "Principais Artistas Compartilhados", + "compareFooterPro": "Verificar afinidade do servidor: {{prefix}}lastfm affinity • {{prefix}}lastfm compare", + "trendingAuthor": "🔥 Pulso Musical Global", + "trendingTitleTracks": "Músicas Mais Populares", + "trendingTitleArtists": "Artistas Mais Populares", + "trendingBadge": "VIRAL AGORA", + "trendingPodium1": "#1 Tendência Global", + "trendingRunnersUp": "Outras Tendências", + "trendingListenersCount": "{{count}} ouvintes hoje", + "trendingFooterPro": "Tocar tendências: {{prefix}}lastfm play top • {{prefix}}lastfm trending artists", + "tagAuthor": "🏷️ Destaque de Gênero e Tag", + "tagFieldReach": "Alcance Global", + "tagFieldTaggings": "Total de Marcações", + "tagFieldPillars": "Artistas Pilares", + "tagFieldTopTracks": "Músicas de Destaque", + "tagFooterPro": "Explorar álbuns da tag: {{prefix}}lastfm tagalbums {{tag}} • {{prefix}}lastfm tag", + "albumSpotlightAuthor": "💿 Destaque do Álbum", + "albumFieldArtist": "Artista", + "albumFieldYourPlays": "Seus Scrobbles", + "albumFieldTracks": "Qtd. de Faixas", + "albumFieldTracklist": "Lista de Faixas", + "albumFieldTags": "Gêneros e Tags", + "albumFooterPro": "Tocar álbum: {{prefix}}play {{artist}} - {{album}} • {{prefix}}fm cover para a capa", + "trackSpotlightAuthor": "🎵 Destaque da Faixa", + "trackFieldArtist": "Artista", + "trackFieldAlbum": "Álbum", + "trackFieldListeners": "Ouvintes Globais", + "trackFieldPlays": "Total de Scrobbles", + "trackFieldUserPlays": "Seus Scrobbles", + "trackFieldLoved": "Status de Favorito", + "lovedStatusYes": "Favoritado ❤️", + "lovedStatusNo": "Não favoritado 🖤", + "trackFieldTags": "Tags", + "trackFieldSimilar": "Faixas Semelhantes", + "trackFooterPro": "Tocar faixa: {{prefix}}play {{artist}} - {{track}} • Last.fm: {{user}}", + "leaderboardAuthorPro": "👑 Hall da Fama Musical", + "leaderboardChampion": "Campeão", + "leaderboardRunnersUp": "Concorrentes do Pódio", + "trackListAuthorLoved": "❤️ Favoritos Pessoais", + "trackListAuthorTop": "🏆 Principais Faixas", + "trackListAuthorRecent": "⏱️ Atividade Recente", + "playDirectoryAuthor": "🎧 Central de Streaming Last.fm", + "playDirectoryTitle": "Diretório de Reprodução Inteligente", + "playDirectoryCollections": "Coleções de Música Disponíveis", + "playDirectoryProviders": "Provedores de Busca Suportados", + "playDirectoryFooter": "Tocar música: {{prefix}}fm play • Last.fm v2", + "playCategoryLoved": "Coleção de faixas favoritas", + "playCategoryTop": "Faixas mais ouvidas", + "playCategoryRecent": "Histórico de reprodução recente", + "playCategoryAlbums": "Coleções dos melhores álbuns", + "playCategoryArtists": "Coleção dos melhores artistas", + "playCategoryPlaylist": "Playlists personalizadas", + "playLoadingTitle": "Carregando Faixas", + "playLoadingDesc": "{{emoji}} Carregando **{{count}}** faixas de {{category}} para **{{username}}**{{provider}}...", + "playDoneTitle": "Fila de Reprodução Atualizada", + "playDoneAdded": "**{{count}}** faixas adicionadas à fila", + "playDoneNotFound": "{{count}} faixas não puderam ser encontradas" }, "messages": { "missingCriticalPermsTitle": "Permissões Ausentes — Bot Não Pode Funcionar Corretamente", @@ -963,7 +1071,16 @@ "unknownDate": "Desconhecido", "checkYes": "✅ Você **tem um voto ativo** para este {{type}} — obrigado!", "checkNo": "❌ Você ainda não votou neste {{type}} (ou seu voto expirou).\n**[Vote agora!]({{url}})**", - "checkUnknown": "⚠️ Não foi possível verificar seu voto agora — tente novamente em um minuto." + "checkUnknown": "⚠️ Não foi possível verificar seu voto agora — tente novamente em um minuto.", + "voteCheckAuthor": "🗳️ Comunidade FluxerList", + "voteCheckTitle": "Verificação de Voto de Apoiador", + "voteCheckYesDesc": "✅ Você **já votou** neste {{type}} no FluxerList — obrigado pelo seu apoio!", + "voteCheckNoDesc": "❌ Você ainda não votou neste {{type}} no FluxerList.\n**[Votar agora no FluxerList!]({{url}})**", + "voteCheckFooter": "Ver lista de votantes: {{prefix}}voters • FluxerList", + "voteVotersAuthor": "🏆 Principais Apoiadores", + "voteAuthor": "🗳️ Comunidade FluxerList", + "voteFooterHint": "Verifique seu status de voto: {{prefix}}vote check • {{prefix}}voters", + "defaultTitle": "Manual do Sistema de Votação" }, "seek": { "nothingPlaying": "❌ Não está tocando nada no momento!", @@ -984,7 +1101,11 @@ "autoplayTitleDisabled": "Autoplay Desativado", "autoplayDescEnabled": "O Remix adicionará músicas recomendadas automaticamente quando a fila acabar.", "autoplayDescDisabled": "O autoplay foi desativado. A reprodução vai parar ao final da fila.", - "autoplayEngine": "Motor: YouTube Mix + Last.fm" + "autoplayEngine": "Motor: YouTube Mix + Last.fm", + "statusActive": "🟢 Ativo", + "statusDisabled": "🔴 Desativado", + "disableHint": "{{prefix}}autoplay para desativar", + "enableHint": "{{prefix}}autoplay para ativar" }, "trackopt": { "notAvailable": "❌ Recurso de opções de faixa não está disponível.", @@ -1021,7 +1142,14 @@ "savedListAuthor": "✂️ Cortes de Faixa Salvos", "trimProfilesFooter": "{{count}} perfil{{plural}} de corte salvo{{plural}} • Aplique com {{prefix}}trackopt play ", "appliedAuthor": "✂️ Corte de Faixa Aplicado", - "activeCutRangeField": "Intervalo de Corte Ativo" + "activeCutRangeField": "Intervalo de Corte Ativo", + "autoApplyFooter": "Aplica-se automaticamente quando esta faixa começar a tocar • {{prefix}}trackopt list", + "playFooterHint": "Perfil de corte ativo aplicado à sessão de reprodução atual", + "removeAuthor": "✂️ Gerenciador de Corte de Faixa", + "removeFooter": "Defina novos cortes personalizados a qualquer momento com {{prefix}}trackopt set", + "listAuthor": "✂️ Diretório de Cortes de Faixa", + "listTitleClean": "Cortes de Faixa Salvos ({{count}})", + "listFooterHint": "Gerencie seus cortes com {{prefix}}trackopt set / play / remove" }, "normalize": { "statusEnabled": "🔊 A normalização dinâmica de volume (ReplayGain) está atualmente **Ativada** para este servidor.", @@ -1043,7 +1171,10 @@ "subBass": "Sub-Grave", "midBass": "Grave-Médio", "high": "Agudo", - "resetHint": "Redefina a qualquer momento com {{prefix}}bassboost off" + "resetHint": "Redefina a qualquer momento com {{prefix}}bassboost off", + "offTitle": "⏹️ Graves Desativado", + "activeTitle": "🔊 Reforço de Graves: {{level}}", + "offFooter": "Aplicar com {{prefix}}bassboost " }, "speed": { "reset": "⏩ Velocidade de reprodução redefinida para **1.0×** normal.", diff --git a/storage/locales/bot/tr.json b/storage/locales/bot/tr.json index 29b2ada..389429f 100644 --- a/storage/locales/bot/tr.json +++ b/storage/locales/bot/tr.json @@ -244,12 +244,16 @@ "joinPermissionError": "❌ <#{{channel}}> kanalına katılma iznim yok. Lütfen o kanalda bana **Bağlan** izni verin.", "joinFailedPermissions": "❌ Ses kanalına katılma başarısız — izinler eksik. Lütfen **Bağlan** ve **Konuş** izinlerime sahip olduğumdan emin olun.", "joinFailedGeneric": "❌ Ses kanalına katılma başarısız. Lütfen tekrar deneyin.", - "joinFailedNotFound": "❌ Ses kanalı bulunamadı." + "joinFailedNotFound": "❌ Ses kanalı bulunamadı.", + "restoreAuthor": "🔄 7/24 Ses Denetçisi", + "restoreTitle": "Çalma Oturumu Geri Yüklendi", + "restoreFooter": "7/24 Ses Kalıcılığı • Çalma otomatik olarak devam ediyor" }, "clear": { "cleared": "🗑️ Kuyruk temizlendi.", "clearedTitle": "Sıra Temizlendi", - "clearedSummary": "Sıradan {{count}} {{plural}} kaldırıldı" + "clearedSummary": "Sıradan {{count}} {{plural}} kaldırıldı", + "footerHint": "Yeni bir sıra başlatmak için {{prefix}}play <şarkı> kullanın" }, "debug": { "voiceTitle": "🔧 Ses Hata Ayıklama", @@ -295,7 +299,10 @@ "channelNotFound": "❌ Kanal bulunamadı.", "wrongServer": "❌ Bu komutun ses kanalıyla aynı sunucuda çalıştırılması gerekiyor.", "playerNotFound": "❌ Oynatıcı bulunamadı.", - "playerNotInit": "❌ Oynatıcı başlatılmadı." + "playerNotInit": "❌ Oynatıcı başlatılmadı.", + "authorAdmin": "🚪 Ses Yönetimi", + "titleEviction": "Kanalı Zorla Tahliye Etme", + "footerTip": "Hedef kanal: {{channel}} • ManageChannels İşlemi" }, "invite": { "title": "Remix'i Davet Et", @@ -320,7 +327,10 @@ "connectedAuthor": "🟢 Sese Bağlandı", "selectVCAuthor": "🔊 Bir Ses Kanalı Seçin", "selectVCFooter": "Bağlanmak için 1-9 tepki verin • Oturum 30sn içinde sona erer", - "playPromptFooter": "{{prefix}}play <şarkı> ile istediğiniz zaman müzik çalın" + "playPromptFooter": "{{prefix}}play <şarkı> ile istediğiniz zaman müzik çalın", + "promptAuthor": "🔊 Ses Bağlantısı", + "promptTitle": "Ses Kanalına Bağlan", + "promptFooter": "Bir kanala katılın veya {{prefix}}join kullanın • {{prefix}}help join" }, "leave": { "noVoiceChannel": "⚠️ Lütfen önce bir ses kanalına katılın veya bir tane belirtin: `{{prefix}}leave <#kanal>`", @@ -463,7 +473,80 @@ "artistFieldTags": "Türler ve Etiketler", "artistFooterPro": "Sunucu liderliği: {{prefix}}whoknows {{artist}} • {{prefix}}lastfm albums", "coverAuthor": "🖼️ Albüm Kapağı Galerisi", - "coverFooterPro": "Şarkı küçük resmini gör: {{prefix}}thumbnail • {{prefix}}lastfm albuminfo" + "coverFooterPro": "Şarkı küçük resmini gör: {{prefix}}thumbnail • {{prefix}}lastfm albuminfo", + "helpAuthor": "🎵 Last.fm Komut Merkezi", + "helpTitle": "Komut Rehberi", + "helpCategoryAccount": "👤 Hesap ve Scrobble", + "helpCategoryDiscovery": "🔍 Keşif ve Albüm Kapağı", + "helpCategorySocial": "👑 Sosyal ve Sunucu Taçları", + "helpCategoryPlayback": "🎧 Çalma ve Akış", + "helpFooterPro": "Last.fm'den çal: {{prefix}}fm play top • Last.fm v2", + "crownsAuthor": "👑 Sunucu Taç Koleksiyonu", + "crownsMonopolyField": "En Büyük Taç Hakimiyeti", + "crownsOtherField": "Taç Kasası", + "crownsUncontested": "rakipsiz", + "crownsLead": "+{{lead}} fark", + "crownsRunnerUp": "İkinci: {{user}} ({{plays}})", + "crownsFooterPro": "Sanatçı dinleyicilerini gör: {{prefix}}whoknows • {{prefix}}lastfm crowns stolen", + "compareAuthor": "🤝 Müzik Uyumluluk Matrisi", + "compareMeter": "Uyumluluk Seviyesi: {{level}} ({{score}}%)", + "compareFieldShared": "En Çok Paylaşılan Sanatçılar", + "compareFooterPro": "Sunucu yakınlığını kontrol et: {{prefix}}lastfm affinity • {{prefix}}lastfm compare", + "trendingAuthor": "🔥 Küresel Müzik Nabzı", + "trendingTitleTracks": "En Çok Trend Olan Şarkılar", + "trendingTitleArtists": "En Çok Trend Olan Sanatçılar", + "trendingBadge": "ŞİMDİ VİRAL", + "trendingPodium1": "1. Küresel Trend", + "trendingRunnersUp": "Diğer Trendler", + "trendingListenersCount": "bugün {{count}} dinleyici", + "trendingFooterPro": "Trendleri çal: {{prefix}}lastfm play top • {{prefix}}lastfm trending artists", + "tagAuthor": "🏷️ Tür ve Etiket Odağı", + "tagFieldReach": "Küresel Erişim", + "tagFieldTaggings": "Toplam Etiketleme", + "tagFieldPillars": "Öncü Sanatçılar", + "tagFieldTopTracks": "İmza Şarkılar", + "tagFooterPro": "Etiketin albümlerini keşfet: {{prefix}}lastfm tagalbums {{tag}} • {{prefix}}lastfm tag", + "albumSpotlightAuthor": "💿 Albüm Vitrini", + "albumFieldArtist": "Sanatçı", + "albumFieldYourPlays": "Scrobble'ların", + "albumFieldTracks": "Parça Sayısı", + "albumFieldTracklist": "Parça Listesi Önizlemesi", + "albumFieldTags": "Türler ve Etiketler", + "albumFooterPro": "Albümü çal: {{prefix}}play {{artist}} - {{album}} • Kapak resmi için {{prefix}}fm cover", + "trackSpotlightAuthor": "🎵 Parça Vitrini", + "trackFieldArtist": "Sanatçı", + "trackFieldAlbum": "Albüm", + "trackFieldListeners": "Küresel Dinleyici", + "trackFieldPlays": "Toplam Scrobble", + "trackFieldUserPlays": "Scrobble'ların", + "trackFieldLoved": "Favori Durumu", + "lovedStatusYes": "Sevildi ❤️", + "lovedStatusNo": "Sevilmedi 🖤", + "trackFieldTags": "Etiketler", + "trackFieldSimilar": "Benzer Parçalar", + "trackFooterPro": "Parçayı çal: {{prefix}}play {{artist}} - {{track}} • Last.fm: {{user}}", + "leaderboardAuthorPro": "👑 Müzik Şöhretler Kulübü", + "leaderboardChampion": "Şampiyon", + "leaderboardRunnersUp": "Podyum Yarışmacıları", + "trackListAuthorLoved": "❤️ Kişisel Favoriler", + "trackListAuthorTop": "🏆 En İyi Parçalar", + "trackListAuthorRecent": "⏱️ Son Etkinlik", + "playDirectoryAuthor": "🎧 Last.fm Akış Merkezi", + "playDirectoryTitle": "Akıllı Çalma Kılavuzu", + "playDirectoryCollections": "Kullanılabilir Müzik Koleksiyonları", + "playDirectoryProviders": "Desteklenen Arama Sağlayıcıları", + "playDirectoryFooter": "Müzik çal: {{prefix}}fm play • Last.fm v2", + "playCategoryLoved": "Sevilen parçalar koleksiyonu", + "playCategoryTop": "En çok dinlenen parçalar", + "playCategoryRecent": "Son dinleme geçmişi", + "playCategoryAlbums": "En popüler albümler", + "playCategoryArtists": "En sevilen sanatçılar", + "playCategoryPlaylist": "Özel çalma listeleri", + "playLoadingTitle": "Parçalar Yükleniyor", + "playLoadingDesc": "{{emoji}} **{{username}}** için **{{count}}** {{category}} parçası yükleniyor{{provider}}...", + "playDoneTitle": "Çalma Sırası Güncellendi", + "playDoneAdded": "Kuyruğa **{{count}}** parça eklendi", + "playDoneNotFound": "{{count}} parça bulunamadı" }, "list": { "empty": "📭 Kuyruk boş. Şarkı eklemek için `{{prefix}}play` kullanın!", @@ -489,7 +572,8 @@ "loopOffDesc": "Tekrar kapalı", "songLoopBadge": "Tek Parça Döngüsü", "queueLoopBadge": "Sıra Döngüsü", - "loopOffBadge": "Kapalı" + "loopOffBadge": "Kapalı", + "cycleFooter": "Modları değiştir: {{prefix}}loop song • {{prefix}}loop queue" }, "queue": { "empty": "Kuyruk boş.", @@ -509,7 +593,8 @@ "nodeLinkFooter": "NodeLink • {{lines}} satır", "sourceFooter": "{{source}} • {{lines}} satır", "controlsExpired": "⌛ Kontrollerin süresi doldu • NodeLink • {{lines}} satır", - "sessionClosed": "Oturum kapatıldı • NodeLink • {{lines}} satır" + "sessionClosed": "Oturum kapatıldı • NodeLink • {{lines}} satır", + "author": "Şarkı Sözleri" }, "np": { "loading": "⏳ Yükleniyor...", @@ -654,7 +739,8 @@ "lyricsDisplayed": "Şarkı sözleri görüntülendi ({{lines}} satır, {{pages}} sayfa)", "lyricsError": "⚠️ Şarkı sözleri hatası: {{error}}", "previousNotAvailable": "⏮️ Önceki parça henüz mevcut değil.", - "errorGeneric": "⚠️ Hata: {{error}}" + "errorGeneric": "⚠️ Hata: {{error}}", + "deckAuthor": "🎛️ Hi-Fi Ses Denetleyicisi • 48kHz Direct" }, "radio": { "noStations": "❌ Yapılandırılmış radyo istasyonu yok.", @@ -713,7 +799,11 @@ "noServers": "_Sunucu bulunamadı._", "title": "🌐 Sunucular ({{count}})", "pageTitle": "🌐 Sunucular ({{count}}) - Sayfa {{page}}/{{total}}", - "listComplete": "Liste tamamlandı" + "listComplete": "Liste tamamlandı", + "serversAuthor": "🌐 Ağ Topolojisi", + "serversTitle": "Bağlı Sunucu Rehberi", + "serversActiveBadge": "{{count}} Aktif Sunucu", + "serversTelemetryFooter": "Gerçek zamanlı sunucu telemetrisi • Sayfa {{page}}/{{total}}" }, "settings": { "unknownSetting": "❌ Bilinmeyen ayar `{{setting}}`.", @@ -837,14 +927,31 @@ "inspectorTitle": "⚙️ Ayar İnceleyici", "settingValueField": "Geçerli Değer", "settingDescField": "Açıklama", - "inspectorFooter": "Güncellemek için {{prefix}}settings set {{setting}} kullanın" + "inspectorFooter": "Güncellemek için {{prefix}}settings set {{setting}} kullanın", + "handbookTitle": "⚙️ Ayarlar Kılavuzu", + "handbookAuthor": "⚙️ Sunucu Yapılandırma Rehberi", + "handbookDesc": "Bu sunucu için bot davranışını ve özelliklerini yapılandırın.", + "handbookParamsField": "Yapılandırılabilir Parametreler", + "handbookOpsField": "Komut İşlemleri", + "handbookOpGet": "Sunucu yapılandırma panelini görüntüle", + "handbookOpSet": "Sunucu ayarını güncelle", + "handbookOpReset": "Ayarı varsayılana sıfırla", + "handbookOpHelp": "Parametre ayrıntılarını ve geçerli değerleri incele", + "handbookShortcutsField": "Doğrudan Kısayollar", + "settingDefaultField": "Varsayılan Değer", + "settingRangeField": "İzin Verilen Değerler / Aralık", + "shortcutAuthor": "⚙️ Sunucu Yapılandırması", + "shortcutValueField": "Aktif Değer", + "shortcutDefaultField": "Varsayılan", + "shortcutHintFooter": "Güncelle: {{prefix}}{{shortcut}} • Tam panel için {{prefix}}settings get" }, "shuffle": { "emptyQueue": "Kuyrukta karıştırılacak bir şey yok.", "shuffled": "🔀 Kuyruk karıştırıldı", "shuffledTitle": "Sıra Karıştırıldı", "shuffledSummary": "{{count}} {{plural}} rastgele karıştırıldı", - "newUpNext": "Yeni Sıradaki #1" + "newUpNext": "Yeni Sıradaki #1", + "viewOrderFooter": "Tam sırayı görmek için {{prefix}}queue kullanın" }, "skip": { "nothingPlaying": "❌ Şu anda çalan bir şey yok!", @@ -923,7 +1030,8 @@ "fieldDefault": "Varsayılan Ses", "fieldActive": "Aktif Oturum Sesi", "authorSaved": "🔊 Sunucu Varsayılan Ses Düzeyi Kaydedildi", - "fieldNewDefault": "Yeni Varsayılan Düzey" + "fieldNewDefault": "Yeni Varsayılan Düzey", + "footerHint": "Sunucu varsayılan ses düzeyi gelecekteki tüm oynatma oturumlarına uygulanacaktır" }, "seek": { "nothingPlaying": "❌ Şu anda çalan bir şey yok!", @@ -944,7 +1052,11 @@ "autoplayTitleDisabled": "Otomatik Çalma Devre Dışı", "autoplayDescEnabled": "Sıra bittiğinde Remix otomatik olarak önerilen parçaları ekler.", "autoplayDescDisabled": "Otomatik çalma kapatıldı. Sıra bittiğinde müzik duracak.", - "autoplayEngine": "Motor: YouTube Mix + Last.fm" + "autoplayEngine": "Motor: YouTube Mix + Last.fm", + "statusActive": "🟢 Aktif", + "statusDisabled": "🔴 Devre Dışı", + "disableHint": "Devre dışı bırakmak için {{prefix}}autoplay", + "enableHint": "Etkinleştirmek için {{prefix}}autoplay" }, "trackopt": { "notAvailable": "❌ Parça seçenekleri özelliği mevcut değil.", @@ -981,7 +1093,14 @@ "savedListAuthor": "✂️ Kaydedilen Parça Kırpmaları", "trimProfilesFooter": "{{count}} kırpma profili kaydedildi • {{prefix}}trackopt play ile uygulayın", "appliedAuthor": "✂️ Parça Kırpması Uygulandı", - "activeCutRangeField": "Aktif Kırpma Aralığı" + "activeCutRangeField": "Aktif Kırpma Aralığı", + "autoApplyFooter": "Bu parça çalmaya başladığında otomatik uygulanır • {{prefix}}trackopt list", + "playFooterHint": "Aktif kırpma profili mevcut oynatma oturumuna uygulandı", + "removeAuthor": "✂️ Parça Kırpma Yöneticisi", + "removeFooter": "İstediğiniz zaman {{prefix}}trackopt set ile yeni kırpmalar ayarlayın", + "listAuthor": "✂️ Parça Kırpma Dizini", + "listTitleClean": "Kaydedilen Parça Kırpmaları ({{count}})", + "listFooterHint": "Kırpmalarınızı {{prefix}}trackopt set / play / remove ile yönetin" }, "normalize": { "statusEnabled": "🔊 Dinamik ses normalleştirmesi (ReplayGain) bu sunucu için şu anda **Etkin**.", @@ -1003,7 +1122,10 @@ "subBass": "Alt Bas", "midBass": "Orta Bas", "high": "Tiz", - "resetHint": "Sıfırlamak için: {{prefix}}bassboost off" + "resetHint": "Sıfırlamak için: {{prefix}}bassboost off", + "offTitle": "⏹️ Bas Güçlendirme Kapalı", + "activeTitle": "🔊 Bas Güçlendirme: {{level}}", + "offFooter": "Uygulamak için {{prefix}}bassboost " }, "speed": { "reset": "⏩ Oynatma hızı normal **1.0×** seviyesine sıfırlandı.", @@ -1061,7 +1183,16 @@ "unknownDate": "Bilinmiyor", "checkYes": "✅ Bu {{type}} için **aktif oyunun var** — teşekkürler!", "checkNo": "❌ Bu {{type}} için henüz oy vermedin (ya da oyunun süresi doldu).\n**[Hemen oy ver!]({{url}})**", - "checkUnknown": "⚠️ Oy durumu şu anda kontrol edilemedi — bir dakika sonra tekrar dene." + "checkUnknown": "⚠️ Oy durumu şu anda kontrol edilemedi — bir dakika sonra tekrar dene.", + "voteCheckAuthor": "🗳️ FluxerList Topluluğu", + "voteCheckTitle": "Destekçi Oy Doğrulaması", + "voteCheckYesDesc": "✅ FluxerList üzerinde bu {{type}} için **oy kullandınız** — desteğiniz için teşekkürler!", + "voteCheckNoDesc": "❌ FluxerList üzerinde bu {{type}} için henüz oy kullanmadınız.\n**[FluxerList'te Şimdi Oy Verin!]({{url}})**", + "voteCheckFooter": "Oy verenler sıralaması: {{prefix}}voters • FluxerList", + "voteVotersAuthor": "🏆 En İyi Destekçiler", + "voteAuthor": "🗳️ FluxerList Topluluğu", + "voteFooterHint": "Oy durumunuzu kontrol edin: {{prefix}}vote check • {{prefix}}voters", + "defaultTitle": "Oy Sistemi Rehberi" }, "move": { "reorderedAuthor": "🔀 Parça Yeniden Sıralandı",