diff --git a/commands/clear.mjs b/commands/clear.mjs index 18365d4..c01fc9c 100644 --- a/commands/clear.mjs +++ b/commands/clear.mjs @@ -14,7 +14,7 @@ export async function run(msg) { p.clear(); const embed = new EmbedBuilder() .setColor(getGlobalColor()) - .setDescription("🗑️ Queue cleared.") + .setDescription(this.t(msg, "responses.clear.cleared")) ; msg.reply({ embeds: [embed] }); } diff --git a/commands/debug.mjs b/commands/debug.mjs index 2236181..64bc206 100644 --- a/commands/debug.mjs +++ b/commands/debug.mjs @@ -28,7 +28,7 @@ export function run(msg, data) { }); const embed = new EmbedBuilder() .setColor(getGlobalColor()) - .setTitle("🔧 Voice Debug") + .setTitle(this.t(msg, "responses.debug.voiceTitle")) .setDescription("```json\n" + JSON.stringify(servers, null, 2) + "\n```") ; msg.reply({ embeds: [embed] }); diff --git a/commands/eval.mjs b/commands/eval.mjs index b23805e..fa996f4 100644 --- a/commands/eval.mjs +++ b/commands/eval.mjs @@ -145,17 +145,20 @@ export async function run(msg, data) { // Helper to build the specific embed page const buildPageContent = (pageIdx, expired = false) => { - const icon = isError ? "❌" : "✅"; - const title = `${icon} Eval Result`; + const title = isError + ? this.t(msg, "responses.eval.resultTitleError") + : this.t(msg, "responses.eval.resultTitleSuccess"); // Embed description includes the metadata and the codeblock - const desc = `**Type:** \`${type}\` • **Time:** \`${elapsed}ms\`\n\`\`\`js\n${chunks[pageIdx]}\n\`\`\``; + const typeLabel = this.t(msg, "responses.eval.typeLabel"); + const timeLabel = this.t(msg, "responses.eval.timeLabel"); + const desc = `**${typeLabel}** \`${type}\` • **${timeLabel}** \`${elapsed}ms\`\n\`\`\`js\n${chunks[pageIdx]}\n\`\`\``; // Customize footer based on state - let footerText = `Page ${pageIdx + 1}/${totalPages}`; - if (expired) footerText = "⌛ Controls expired"; - else if (totalPages > 1) footerText += " • ⬅️ ➡️ Navigate • ❌ Delete"; - else footerText += " • ❌ Delete"; + let footerText = this.t(msg, "responses.eval.pageLabel", { page: pageIdx + 1, total: totalPages }); + if (expired) footerText = this.t(msg, "responses.eval.controlsExpired"); + else if (totalPages > 1) footerText += " " + this.t(msg, "responses.eval.navigateHint"); + else footerText += " " + this.t(msg, "responses.eval.deleteHint"); const embed = new EmbedBuilder() .setColor(isError ? "#ff0000" : getGlobalColor()) // Red if error, default otherwise diff --git a/commands/filter.mjs b/commands/filter.mjs index 91c078b..a159465 100644 --- a/commands/filter.mjs +++ b/commands/filter.mjs @@ -198,26 +198,26 @@ export const command = new CommandBuilder() .addAliases("filters", "fx", "effect"); // ── Build page embed ────────────────────────────────────────────────────────── -function buildPageEmbed(page, activeKeys, current) { +function buildPageEmbed(t, msg, page, activeKeys, current) { const totalPages = Math.ceil(FILTERS.length / PAGE_SIZE); const start = page * PAGE_SIZE; const pageItems = FILTERS.slice(start, start + PAGE_SIZE); const trackLine = current ? `🎵 **${Utils.truncate(current.title, 45)}**` - : "*Nothing playing*"; + : t(msg, "responses.filter.nothingPlayingInline"); // Show active filter indicators const activeSet = new Set(activeKeys); const lines = pageItems.map(f => { const isActive = activeSet.has(f.key); - const active = isActive ? " **← active**" : ""; + const active = isActive ? " " + t(msg, "responses.filter.activeLabel") : ""; return `${f.emoji} **${f.label}**${active} — *${f.desc}*`; }); const navHint = totalPages > 1 - ? `\n\n${PREV_EMOJI} Prev ${NEXT_EMOJI} Next ${CANCEL_EMOJI} Close` - : `\n\n${CANCEL_EMOJI} Close`; + ? `\n\n${PREV_EMOJI} Prev ${NEXT_EMOJI} Next ${CANCEL_EMOJI} ${t(msg, "responses.filter.closeHint")}` + : `\n\n${CANCEL_EMOJI} ${t(msg, "responses.filter.closeHint")}`; // Build active summary line let activeSummary = ""; @@ -231,14 +231,14 @@ function buildPageEmbed(page, activeKeys, current) { return new EmbedBuilder() .setColor(getGlobalColor()) - .setAuthor({ name: "🎛️ Audio Filter Picker" }) + .setAuthor({ name: t(msg, "responses.filter.pickerTitle") }) .setDescription( `${trackLine}\n${activeSummary}\n` + lines.join("\n") + navHint ) .setFooter({ - text: `Page ${page + 1}/${totalPages} • React with a filter emoji to toggle it` + text: t(msg, "responses.filter.footer", { page: page + 1, total: totalPages }) }) ; } @@ -265,7 +265,7 @@ export async function run(msg) { const current = player.queue.getCurrent(); const menuMsg = await msg.reply({ - embeds: [buildPageEmbed(page, activeKeys, current)] + embeds: [buildPageEmbed(this.t.bind(this), msg, page, activeKeys, current)] }); if (!menuMsg?.message) return; @@ -313,13 +313,13 @@ export async function run(msg) { const closedEmbed = new EmbedBuilder() .setColor(getGlobalColor()) - .setAuthor({ name: "🎛️ Audio Filter Picker" }) + .setAuthor({ name: this.t(msg, "responses.filter.pickerTitle") }) .setDescription( activeKeys.length > 0 - ? `✅ Filters active: **${activeKeys.map(k => FILTERS.find(f => f.key === k)?.label ?? k).join(" + ")}**.\n\n${reason}` - : `🔇 No filter active.\n\n${reason}` + ? this.t(msg, "responses.filter.filtersActive", { filters: activeKeys.map(k => FILTERS.find(f => f.key === k)?.label ?? k).join(" + ") }) + `\n\n${reason}` + : `${this.t(msg, "responses.filter.noFilterActive")}\n\n${reason}` ) - .setFooter({ text: "Session ended" }) + .setFooter({ text: this.t(msg, "responses._common.sessionEnded") }) ; await menuMsg.edit({ embeds: [closedEmbed] }).catch(() => {}); @@ -327,7 +327,7 @@ export async function run(msg) { const resetTimer = () => { clearTimeout(sessionTimer); - sessionTimer = setTimeout(() => close("⌛ Session timed out."), SESSION_MS); + sessionTimer = setTimeout(() => close(this.t(msg, "responses.filter.sessionTimedOut")), SESSION_MS); }; const allPossibleEmojis = [...new Set([ @@ -345,7 +345,7 @@ export async function run(msg) { // ── Navigation ────────────────────────────────────────────────────────── if (emoji === CANCEL_EMOJI) { - return close("👋 Filter picker closed."); + return close(this.t(msg, "responses.filter.pickerClosed")); } if (emoji === PREV_EMOJI) { @@ -356,7 +356,7 @@ export async function run(msg) { await addReactions(page); } await menuMsg.edit({ - embeds: [buildPageEmbed(page, activeKeys, player.queue.getCurrent())] + embeds: [buildPageEmbed(this.t.bind(this), msg, page, activeKeys, player.queue.getCurrent())] }).catch(() => {}); return; } @@ -369,7 +369,7 @@ export async function run(msg) { await addReactions(page); } await menuMsg.edit({ - embeds: [buildPageEmbed(page, activeKeys, player.queue.getCurrent())] + embeds: [buildPageEmbed(this.t.bind(this), msg, page, activeKeys, player.queue.getCurrent())] }).catch(() => {}); return; } @@ -382,16 +382,16 @@ export async function run(msg) { const previousActiveKeys = [...activeKeys]; if (!track && false) { // pending filters are allowed; keep old fallback block unreachable await menuMsg.edit({ - embeds: [buildPageEmbed(page, activeKeys, null)] + embeds: [buildPageEmbed(this.t.bind(this), msg, page, activeKeys, null)] }).catch(() => {}); const errEmbed = new EmbedBuilder() .setColor(getGlobalColor()) - .setDescription("❌ Nothing is playing right now.") + .setDescription(this.t(msg, "responses.filter.nothingPlaying")) ; await menuMsg.edit({ embeds: [errEmbed] }).catch(() => {}); await Utils.sleep(2000); await menuMsg.edit({ - embeds: [buildPageEmbed(page, activeKeys, null)] + embeds: [buildPageEmbed(this.t.bind(this), msg, page, activeKeys, null)] }).catch(() => {}); return; } @@ -426,14 +426,13 @@ export async function run(msg) { const errEmbed = new EmbedBuilder() .setColor(getGlobalColor()) .setDescription( - `❌ Failed to apply **${filter.label}**: \`${reason}\`\n\n` + - `Make sure your NodeLink node has filters enabled.` + this.t(msg, "responses.filter.applyFailed", { filter: filter.label, reason }) ) ; await menuMsg.edit({ embeds: [errEmbed] }).catch(() => {}); await Utils.sleep(3000); await menuMsg.edit({ - embeds: [buildPageEmbed(page, activeKeys, track)] + embeds: [buildPageEmbed(this.t.bind(this), msg, page, activeKeys, track)] }).catch(() => {}); return; } @@ -443,22 +442,22 @@ export async function run(msg) { const successMsg = pending ? (filter.key === "off" - ? "Filter cleared. Original audio will be used on the next playable track." + ? this.t(msg, "responses.filter.pendingCleared") : activeKeys.includes(filter.key) - ? `${filter.label} saved. It will apply on the next playable track.` - : `${filter.label} removed. The next playable track will use the updated filters.`) + ? this.t(msg, "responses.filter.pendingApplied", { label: filter.label }) + : this.t(msg, "responses.filter.pendingRemoved", { label: filter.label })) : filter.key === "off" - ? "🔇 Filters cleared — original audio restored." + ? this.t(msg, "responses.filter.cleared") : activeKeys.includes(filter.key) - ? `${filter.emoji} **${filter.label}** applied!` - : `${filter.emoji} **${filter.label}** removed.`; + ? this.t(msg, "responses.filter.applied", { emoji: filter.emoji, label: filter.label }) + : this.t(msg, "responses.filter.removed", { emoji: filter.emoji, label: filter.label }); const confirmEmbed = new EmbedBuilder() .setColor(getGlobalColor()) .setDescription( `${successMsg}\n\n` + `*${filter.desc}*\n\n` + - `💡 React again to toggle, or ${CANCEL_EMOJI} to close.` + `💡 ${this.t(msg, "responses.filter.reactToToggle")}` ) ; @@ -468,7 +467,7 @@ export async function run(msg) { // Restore picker (session stays open) if (!settled) { await menuMsg.edit({ - embeds: [buildPageEmbed(page, activeKeys, player.queue.getCurrent())] + embeds: [buildPageEmbed(this.t.bind(this), msg, page, activeKeys, player.queue.getCurrent())] }).catch(() => {}); } }); diff --git a/commands/forceleave.mjs b/commands/forceleave.mjs index b5a8775..1fb4e60 100644 --- a/commands/forceleave.mjs +++ b/commands/forceleave.mjs @@ -25,12 +25,12 @@ function cleanId(value) { export async function run(msg, data) { const cid = cleanId(data.get("channelId").value); const targetChannel = this.client.channels.get(cid); - if (!targetChannel) return msg.reply(embed("❌ Channel not found.")); + if (!targetChannel) return msg.reply(embed(this.t(msg, "responses.forceleave.channelNotFound"))); if (cleanId(msg.message.guildId) !== cleanId(targetChannel.guildId)) - return msg.reply(embed("❌ This command has to be run in the same server as the voice channel.")); + return msg.reply(embed(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) return msg.reply(embed("❌ Player not found.")); - if (!p.connection) return msg.reply(embed("❌ Player not initialized.")); + if (!p) return msg.reply(embed(this.t(msg, "responses.forceleave.playerNotFound"))); + if (!p.connection) return msg.reply(embed(this.t(msg, "responses.forceleave.playerNotInit"))); await this.players.leave(msg, cid); } diff --git a/commands/invite.mjs b/commands/invite.mjs index c11cd1d..00130f3 100644 --- a/commands/invite.mjs +++ b/commands/invite.mjs @@ -9,9 +9,7 @@ export const command = new CommandBuilder() .setCategory("util"); export async function run(message) { - const description = - "Add Remix to your server directly from [FluxerList]().\n\n" + - "Join our community at [fluxer.gg/remix](https://fluxer.gg/remix) for support, updates, and direct feedback."; + const description = this.t(message, "responses.invite.description"); const botUser = message.handler.client.user; @@ -20,7 +18,7 @@ export async function run(message) { const embed = new EmbedBuilder() .setColor(getGlobalColor()) .setAuthor({ - name: "Invite Remix", + name: this.t(message, "responses.invite.title"), iconURL: botIcon }) .setDescription(description) diff --git a/commands/join.mjs b/commands/join.mjs index 3f11a97..11cbf35 100644 --- a/commands/join.mjs +++ b/commands/join.mjs @@ -21,7 +21,7 @@ export async function joinChannel(message, cid, cb = () => {}, ecb = () => {}) { if (!this.client.channels.has(cid)) { ecb(); const embed = new EmbedBuilder().setColor(getGlobalColor()) - .setDescription("Couldn't find the channel `" + cid + "`\nUse the help command to learn more about this. (`%help join`)"); + .setDescription(this.t(message, "responses.join.channelNotFound", { channel: cid })); return message.reply({ embeds: [embed] }); } const cleanChannelId = cleanId(cid); @@ -30,14 +30,14 @@ export async function joinChannel(message, cid, cb = () => {}, ecb = () => {}) { if (existing) { cb(existing); const embed = new EmbedBuilder().setColor(getGlobalColor()) - .setDescription("Already joined <#" + cid + ">."); + .setDescription(this.t(message, "responses.join.alreadyJoined", { channel: cid })); return message.reply({ embeds: [embed] }); } // Guard: moonlink must be ready before we can play anything if (!this.moonlink) { const embed = new EmbedBuilder().setColor(getGlobalColor()) - .setDescription("⚠️ Audio node is still connecting — please try again in a few seconds."); + .setDescription(this.t(message, "responses.join.audioNodeConnecting")); ecb(); return message.reply({ embeds: [embed] }); } @@ -68,8 +68,8 @@ export async function joinChannel(message, cid, cb = () => {}, ecb = () => {}) { } catch (_) { return "%"; } })(); const desc = is247 - ? `Left channel <#${activeChannelId}> because of inactivity.` - : `Left channel <#${activeChannelId}> because of inactivity.\nIf you want me to stay in voice, use \`${prefix}247 on/auto\``; + ? this.t(message, "responses.join.autoLeaveInactive", { channel: activeChannelId }) + : this.t(message, "responses.join.autoLeaveInactive247", { channel: activeChannelId, prefix }); const embed = new EmbedBuilder().setColor(getGlobalColor()) .setDescription(desc); message.channel.send({ embeds: [embed] }); @@ -91,17 +91,17 @@ export async function joinChannel(message, cid, cb = () => {}, ecb = () => {}) { this.players.playerMap.set(cleanChannelId, p); - const joiningEmbed = new EmbedBuilder().setColor(getGlobalColor()).setDescription("⏳ Joining Channel..."); + const joiningEmbed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(message, "responses.join.joining")); const statusMsg = await message.reply({ embeds: [joiningEmbed] }); try { await p.join(cleanChannelId); - const okEmbed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(`✅ Successfully joined <#${cid}>`); + const okEmbed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(message, "responses.join.joined", { channel: cid })); await statusMsg.edit({ embeds: [okEmbed] }); cb(p); } catch (e) { this.players.playerMap.delete(cleanChannelId); p.destroy(); - const errEmbed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(`❌ Failed to join: ${e.message}`); + const errEmbed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(message, "responses.join.joinFailed", { error: e.message })); await statusMsg.edit({ embeds: [errEmbed] }); ecb(e); } @@ -150,7 +150,7 @@ export function run(message, data) { if (!resolvedId) { const embed = new EmbedBuilder().setColor(getGlobalColor()) - .setDescription("❌ Couldn't find that voice channel. Try using a mention like `<#channelid>` or the exact channel name."); + .setDescription(this.t(message, "responses.join.voiceChannelNotFound")); return message.reply({ embeds: [embed] }); } @@ -163,7 +163,7 @@ export function run(message, data) { if (!cid) { const prefix = this._commands?.getPrefix?.(getGuildId(message)) ?? "%"; const embed = new EmbedBuilder().setColor(getGlobalColor()) - .setDescription(`❌ You're not in a voice channel. Please join one first, or specify a channel: \`${prefix}join <#channel>\``); + .setDescription(this.t(message, "responses.join.noVoiceChannel", { prefix })); return message.reply({ embeds: [embed] }); } diff --git a/commands/leave.mjs b/commands/leave.mjs index 30072ae..e53a115 100644 --- a/commands/leave.mjs +++ b/commands/leave.mjs @@ -23,7 +23,7 @@ export async function run(msg) { ?? msg.message?.serverId; const userChannelId = this.players.checkVoiceChannels(msg); - if (!userChannelId) return msg.reply(embed("⚠️ Please join a voice channel first.")); + if (!userChannelId) return msg.reply(embed(this.t(msg, "responses.leave.noVoiceChannel"))); const cid = String(userChannelId).replace(/\D/g, ""); const cleanGuildId = String(guildId ?? "").replace(/\D/g, ""); @@ -44,15 +44,14 @@ export async function run(msg) { return liveId ? `<#${liveId}>` : "`unknown voice channel`"; }); - if (guildChannels.length === 0) return msg.reply(embed("I'm not in a voice channel.")); - if (guildChannels.length === 1) return msg.reply(embed(`⚠️ Please join ${guildChannels[0]} to use this command.`)); + if (guildChannels.length === 0) return msg.reply(embed(this.t(msg, "responses.leave.notInVoice"))); + if (guildChannels.length === 1) return msg.reply(embed(this.t(msg, "responses.leave.joinChannel", { channel: guildChannels[0] }))); return msg.reply(embed( - `⚠️ I'm playing in multiple channels! Please join one of them:\n` + - guildChannels.map(c => `• ${c}`).join("\n") + this.t(msg, "responses.leave.multipleChannels", { channels: guildChannels.map(c => `• ${c}`).join("\n") }) )); } - if (!player?.connection) return msg.reply(embed("Player not initialized.")); + if (!player?.connection) return msg.reply(embed(this.t(msg, "responses.leave.playerNotInit"))); const activeChannelId = String(player._channelId ?? cid).replace(/\D/g, "") || cid; const homeChannelId = String(player._home247Channel ?? activeChannelId).replace(/\D/g, "") || activeChannelId; @@ -74,7 +73,7 @@ export async function run(msg) { player.destroy(); if (mode === "auto") { - msg.reply(embed(`✅ Successfully Left — rejoining <#${cid}> in 5 seconds.\nTo disable 24/7 mode permanently, use \`%247 off\`.`)); + msg.reply(embed(this.t(msg, "responses.leave.leftRejoin247", { channel: cid }))); const leave247Delay = this.config?.timers?.leave247RejoinDelay ?? 5000; setTimeout(() => { if (this._spawnPlayer) { @@ -84,7 +83,7 @@ export async function run(msg) { } }, leave247Delay); } else { - msg.reply(embed(`✅ Successfully Left.\nℹ️ 24/7 mode is **on** — bot won't rejoin automatically. Use \`%play\` to bring it back, or \`%247 off\` to fully disable.`)); + msg.reply(embed(this.t(msg, "responses.leave.left247On"))); } } else { await this.leaveChannel(activeChannelId, guildId, msg); diff --git a/commands/list.mjs b/commands/list.mjs index 0d9b2fb..b895e84 100644 --- a/commands/list.mjs +++ b/commands/list.mjs @@ -24,7 +24,7 @@ export async function run(message, data) { const totalTracks = p.queue.size(); if (!current && totalTracks === 0) { - const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription("📭 The queue is empty. Use `%play` to add songs!"); + const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(message, "responses.list.empty", { prefix: "%" })); return message.reply({ embeds: [embed] }); } @@ -54,7 +54,7 @@ export async function run(message, data) { if (title.length > 50) title = title.slice(0, 47) + "..."; const titleFmt = link ? `[${title}](${link})` : title; - desc += `\n🎵 **Now Playing**\n`; + desc += "\n" + this.t(message, "responses.list.nowPlaying") + "\n"; desc += `${titleFmt} • \`${elapsed} / ${total}\`\n`; } @@ -62,7 +62,7 @@ export async function run(message, data) { // ── Queue list ──────────────────────────────────────────────────────── if (totalTracks === 0) { - desc += "_Queue is empty._"; + desc += this.t(message, "responses.list.emptyInline"); } else { const { items, start } = p.queue.getPage(safePage, PAGE_SIZE); @@ -82,7 +82,7 @@ export async function run(message, data) { return new EmbedBuilder() .setColor(getGlobalColor()) - .setAuthor({ name: "🎧 Queue" }) + .setAuthor({ name: this.t(message, "responses.list.queueTitle") }) .setDescription(desc.trim()) .setFooter({ text: `Page ${safePage}/${totalPages} • ${loopState}` }) ; diff --git a/commands/login.mjs b/commands/login.mjs index 1544bbd..add6c15 100644 --- a/commands/login.mjs +++ b/commands/login.mjs @@ -15,14 +15,14 @@ export async function run(msg, data) { const code = data.get("id").value; if (!this.dashboard?.enabled) { - const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription("❌ The dashboard is not enabled on this bot."); + const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(msg, "responses.login.dashboardDisabled")); return msg.reply({ embeds: [embed] }); } const error = await this.dashboard.confirmLogin(msg.author.id, code); const desc = (error === null) - ? "✅ Login succeeded! You can continue to the webpage now." - : "❌ Login failed! Reason: `" + error + "`. If this is an error and the issue persists, please contact a team member through the server in my description."; + ? this.t(msg, "responses.login.success") + : this.t(msg, "responses.login.failed", { error }); const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(desc); msg.reply({ embeds: [embed] }); diff --git a/commands/lyrics.mjs b/commands/lyrics.mjs index 4749651..549509a 100644 --- a/commands/lyrics.mjs +++ b/commands/lyrics.mjs @@ -20,7 +20,7 @@ export async function run(message) { const current = p.queue.getCurrent(); if (!current) { - const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription("❌ There's nothing playing at the moment."); + const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(message, "responses.lyrics.nothingPlaying")); return message.reply({ embeds: [embed] }); } @@ -28,7 +28,7 @@ export async function run(message) { let frame = 0; const loadingMsg = await message.reply({ embeds: [ new EmbedBuilder().setColor(getGlobalColor()) - .setDescription(`${LOADING_FRAMES[0]} Searching lyrics for **${Utils.truncate(current.title, 40)}**...`) + .setDescription(`${LOADING_FRAMES[0]} ` + this.t(message, "responses.lyrics.searching", { title: Utils.truncate(current.title, 40) })) ] }); @@ -36,7 +36,7 @@ export async function run(message) { frame = (frame + 1) % LOADING_FRAMES.length; loadingMsg.edit({ embeds: [ new EmbedBuilder().setColor(getGlobalColor()) - .setDescription(`${LOADING_FRAMES[frame]} Searching lyrics for **${Utils.truncate(current.title, 40)}**...`) + .setDescription(`${LOADING_FRAMES[frame]} ` + this.t(message, "responses.lyrics.searching", { title: Utils.truncate(current.title, 40) })) ] }).catch(() => {}); }, 800); @@ -50,15 +50,14 @@ export async function run(message) { return loadingMsg.edit({ embeds: [ new EmbedBuilder().setColor(getGlobalColor()) .setDescription( - `❌ No lyrics available for **${Utils.truncate(current.title, 40)}**.\n\n` + - `💡 NodeLink lyrics plugin may not have this track. Try a popular song!` + this.t(message, "responses.lyrics.noLyrics", { title: Utils.truncate(current.title, 40) }) ) ] }); } try { await loadingMsg.message.delete(); } catch {} - const syncIndicator = result.synced ? " ⏱️ Synced" : ""; + const syncIndicator = result.synced ? this.t(message, "responses.lyrics.syncedBadge") : ""; const displayTitle = Utils.cleanTitle(current.title); const artist = current.artists?.[0]?.name || current.author?.name || "Unknown Artist"; const lines = result.text.split("\n").filter(l => l.trim()); @@ -79,7 +78,7 @@ export async function run(message) { lines.join("\n"), "```" ].join("\n")) - .setFooter({ text: `NodeLink • ${totalLines} lines` }); + .setFooter({ text: this.t(message, "responses.lyrics.nodeLinkFooter", { lines: totalLines }) }); if (current.thumbnail) singleEmbed.setThumbnail(current.thumbnail); return message.reply({ embeds: [singleEmbed] }); } @@ -105,8 +104,8 @@ export async function run(message) { "```" ].join("\n")) .setFooter({ text: expired - ? `⌛ Controls expired • NodeLink • ${totalLines} lines` - : `NodeLink • ${totalLines} lines total` }); + ? this.t(message, "responses.lyrics.controlsExpired", { lines: totalLines }) + : this.t(message, "responses.lyrics.nodeLinkFooter", { lines: totalLines }) }); if (current.thumbnail) b.setThumbnail(current.thumbnail); return { embeds: [b] }; }; @@ -163,7 +162,7 @@ export async function run(message) { pages[currentPage], "```" ].join("\n")) - .setFooter({ text: `Session closed • NodeLink • ${totalLines} lines` }); + .setFooter({ text: this.t(message, "responses.lyrics.sessionClosed", { lines: totalLines }) }); if (current.thumbnail) closedEmbed.setThumbnail(current.thumbnail); msg.edit({ embeds: [closedEmbed] }).catch(() => {}); }, SESSION_MS); @@ -171,6 +170,6 @@ export async function run(message) { } catch (err) { clearInterval(loadingInterval); logger.error("[Lyrics Command] Error:", err); - loadingMsg.edit({ embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription(`❌ Error: ${Utils.truncate(err.message, 100)}`)] }).catch(() => {}); + loadingMsg.edit({ embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(message, "responses.lyrics.error", { error: Utils.truncate(err.message, 100) }))] }).catch(() => {}); } } \ No newline at end of file diff --git a/commands/np.mjs b/commands/np.mjs index 6d201b8..0185756 100644 --- a/commands/np.mjs +++ b/commands/np.mjs @@ -13,7 +13,7 @@ export async function run(msg) { const loadingEmbed = new EmbedBuilder() .setColor(getGlobalColor()) - .setDescription("⏳ Loading...") + .setDescription(this.t(msg, "responses.np.loading")) ; const loadingMsg = await msg.reply({ embeds: [loadingEmbed] }); diff --git a/commands/play.mjs b/commands/play.mjs index c649de0..915b290 100644 --- a/commands/play.mjs +++ b/commands/play.mjs @@ -56,7 +56,7 @@ export async function run(message, data) { const searchEmbed = new EmbedBuilder() .setColor(getGlobalColor()) - .setDescription("🔍 Searching...") + .setDescription(this.t(message, "responses.play.searching")) ; let statusMsg = null; diff --git a/commands/player.mjs b/commands/player.mjs index bd134c5..1f2abc8 100644 --- a/commands/player.mjs +++ b/commands/player.mjs @@ -110,10 +110,10 @@ export async function run(msg) { const nowPlaying = current ? `[${Utils.truncate(current.title, 45)}](${current.spotifyUrl || current.url})` - : "*Nothing playing*"; + : this.t(msg, "responses.filter.nothingPlayingInline"); const description = [ - `${statusEmoji} **Now Playing**`, + `${statusEmoji} ${this.t(msg, "responses.player.nowPlayingLabel")}`, `${nowPlaying}`, ``, `${progressBar}`, @@ -122,9 +122,9 @@ export async function run(msg) { `🔊 Volume: \`${volPercent}%\` ${volumeBar}`, `📋 Queue: \`${queueSize}\` tracks | Loop: ${loopStatus} | Filter: ${filterStatus}`, ``, - state.message ? `💬 *${state.message}*` : "💡 *React to control playback*", + state.message ? `💬 *${state.message}*` : `💡 *${this.t(msg, "responses.player.reactHint")}*`, ``, - `⏱️ Session expires in ${Math.ceil(timeout / 60000)}m of inactivity` + this.t(msg, "responses.player.sessionExpires", { minutes: Math.ceil(timeout / 60000) }) ].join("\n"); const avatarUrl = typeof msg.author?.avatarURL === "function" @@ -133,10 +133,10 @@ export async function run(msg) { const builder = new EmbedBuilder() .setColor(getGlobalColor()) - .setTitle("🎧 Music Player Controls") + .setTitle(this.t(msg, "responses.player.title")) .setDescription(description) .setFooter({ - text: `Requested by ${msg.author?.username || "Unknown"} • Controls active`, + text: this.t(msg, "responses.player.requestedBy", { username: msg.author?.username || "Unknown" }), iconURL: avatarUrl }); if (typeof builder.setTimestamp === "function") builder.setTimestamp(); @@ -181,8 +181,8 @@ export async function run(msg) { clearTimeout(emojiRemoveTimeout); emojiRemoveTimeout = setTimeout(async () => { await clearReactions(); - const disabledEmbed = buildEmbed({ message: "⌛ Controls disabled (react to re-enable)" }); - disabledEmbed.footer = { text: "Controls expired • React to refresh" }; + const disabledEmbed = buildEmbed({ message: this.t(msg, "responses.player.controlsDisabled") }); + disabledEmbed.footer = { text: this.t(msg, "responses._common.controlsExpired") + " • React to refresh" }; await message.edit({ embeds: [disabledEmbed] }).catch(() => {}); }, EMOJI_REMOVE_TIMEOUT); }; @@ -236,15 +236,15 @@ export async function run(msg) { await clearReactions(); const closedEmbed = buildEmbed({ - message: `Session closed${reason !== "timeout" ? ` • ${reason}` : " due to inactivity"}` + message: this.t(msg, "responses.player.sessionClosed", { reason: reason !== "timeout" ? ` • ${reason}` : "" }) }); closedEmbed.color = getGlobalColor(); - closedEmbed.footer = { text: "Session ended" }; - closedEmbed.title = "🎧 Music Player (Inactive)"; + closedEmbed.footer = { text: this.t(msg, "responses._common.sessionEnded") }; + closedEmbed.title = this.t(msg, "responses.player.inactiveTitle"); await message.edit({ embeds: [closedEmbed], - content: reason === "user" ? "👋 Player controls closed" : undefined + content: reason === "user" ? this.t(msg, "responses.player.closedByUser") : undefined }).catch(() => {}); }; @@ -259,21 +259,21 @@ export async function run(msg) { } }, this.config?.timers?.playerUpdateInterval ?? 5000); - const onStartPlay = () => refresh({ message: "▶️ Started playing" }); - const onPlayback = (playing) => refresh({ message: playing ? "▶️ Resumed" : "⏸️ Paused" }); - const onStopPlay = () => refresh({ message: "⏹️ Stopped" }); + const onStartPlay = () => refresh({ message: this.t(msg, "responses.player.startedPlaying") }); + const onPlayback = (playing) => refresh({ message: playing ? this.t(msg, "responses.player.resumed") : this.t(msg, "responses.player.pausedState") }); + const onStopPlay = () => refresh({ message: this.t(msg, "responses.player.stopped") }); const onQueue = (e) => { - if (e.type === "shuffle") refresh({ message: "🔀 Queue shuffled" }); - if (e.type === "add") refresh({ message: `➕ Added: ${Utils.truncate(e.data.data.title, 30)}` }); + if (e.type === "shuffle") refresh({ message: this.t(msg, "responses.player.shuffled") }); + if (e.type === "add") refresh({ message: this.t(msg, "responses.player.added", { title: Utils.truncate(e.data.data.title, 30) }) }); }; - const onVolume = (v) => refresh({ message: `🔊 Volume: ${Math.round(v * 100)}%` }); + const onVolume = (v) => refresh({ message: this.t(msg, "responses.player.volumeChanged", { volume: Math.round(v * 100) }) }); const onFilter = (f) => { if (!f) { - refresh({ message: "🔇 Filters cleared" }); + refresh({ message: this.t(msg, "responses.player.filtersCleared") }); } else if (f.label.includes("+")) { - refresh({ message: `🔥 Filters: **${f.label}** applied` }); + refresh({ message: this.t(msg, "responses.player.filterStackedApplied", { label: f.label }) }); } else { - refresh({ message: `${f.emoji ?? "🎛️"} Filter: **${f.label}** applied` }); + refresh({ message: this.t(msg, "responses.player.filterApplied", { emoji: f.emoji ?? "🎛️", label: f.label }) }); } }; const onAutoLeave = () => closeSession("disconnected"); @@ -299,7 +299,7 @@ export async function run(msg) { try { switch (control.action) { case "previous": - reply = "⏮️ Previous track (not implemented)"; + reply = this.t(msg, "responses.player.previousNotImplemented"); break; case "resume": @@ -307,9 +307,9 @@ export async function run(msg) { reply = player.resume(); } else if (!player.queue.getCurrent() && !player.queue.isEmpty()) { player.playNext(); - reply = "▶️ Starting playback"; + reply = this.t(msg, "responses.player.startingPlayback"); } else { - reply = "▶️ Already playing"; + reply = this.t(msg, "responses.player.alreadyPlaying"); } break; @@ -320,7 +320,7 @@ export async function run(msg) { case "stop": await player._stopMediaPlayer(); player.queue.reset(); - reply = "⏹️ Stopped and cleared"; + reply = this.t(msg, "responses.player.stoppedCleared"); break; case "skip": @@ -332,14 +332,14 @@ export async function run(msg) { const currentSongLoop = player.queue.songLoop; if (!currentLoop && !currentSongLoop) { player.queue.setSongLoop(true); - reply = "🔂 Song loop enabled"; + reply = this.t(msg, "responses.player.songLoopEnabled"); } else if (currentSongLoop) { player.queue.setSongLoop(false); player.queue.setLoop(true); - reply = "🔁 Queue loop enabled"; + reply = this.t(msg, "responses.player.queueLoopEnabled"); } else { player.queue.setLoop(false); - reply = "❌ Loop disabled"; + reply = this.t(msg, "responses.player.loopDisabled"); } break; } @@ -361,18 +361,18 @@ export async function run(msg) { } case "filter": - reply = "🎛️ Opening filter picker — check the filter menu above or use the `filter` command."; + reply = this.t(msg, "responses.player.openingFilterPicker"); shouldUpdate = true; try { const { run: runFilter } = await import("./filter.mjs"); runFilter.call(this, msg); } catch (err) { - reply = `⚠️ Filter error: ${Utils.truncate(err.message, 50)}`; + reply = this.t(msg, "responses.player.filterError", { error: Utils.truncate(err.message, 50) }); } break; case "lyrics": - reply = "📜 Fetching lyrics..."; + reply = this.t(msg, "responses.player.fetchingLyrics"); refresh({ message: reply }); try { @@ -384,7 +384,7 @@ export async function run(msg) { const lyricsResult = await player.lyrics(); if (!lyricsResult) { - reply = "❌ No lyrics found in NodeLink"; + reply = this.t(msg, "responses.player.noLyricsFound"); shouldUpdate = true; break; } @@ -483,10 +483,10 @@ export async function run(msg) { resetLyricsTimer(); } - reply = `Lyrics displayed (${totalLines} lines, ${totalPages} pages)`; + reply = this.t(msg, "responses.player.lyricsDisplayed", { lines: totalLines, pages: totalPages }); } catch (err) { - reply = `⚠️ Lyrics error: ${Utils.truncate(err.message, 50)}`; + reply = this.t(msg, "responses.player.lyricsError", { error: Utils.truncate(err.message, 50) }); } shouldUpdate = true; break; diff --git a/commands/playnext.mjs b/commands/playnext.mjs index d49c049..1fadc42 100644 --- a/commands/playnext.mjs +++ b/commands/playnext.mjs @@ -48,7 +48,7 @@ export async function run(message, data) { const searchEmbed = new EmbedBuilder() .setColor(getGlobalColor()) - .setDescription("🔍 Searching...") + .setDescription(this.t(message, "responses.playnext.searching")) ; const statusMsg = await message.reply({ embeds: [searchEmbed] }); diff --git a/commands/radio.mjs b/commands/radio.mjs index 8c60b59..2e62d11 100644 --- a/commands/radio.mjs +++ b/commands/radio.mjs @@ -29,7 +29,7 @@ export const command = function() { export async function run(msg, data) { const radios = this.config.radio; - if (!radios?.length) return msg.reply(mkEmbed("❌ No radio stations are configured.")); + if (!radios?.length) return msg.reply(mkEmbed(this.t(msg, "responses.radio.noStations"))); const input = (data.get("station")?.value ?? "").trim().toLowerCase(); @@ -47,8 +47,7 @@ export async function run(msg, data) { desc += `${NUMBER_EMOJIS[i]} **${r.detailedName}** (\`${r.name}\`)\n`; desc += ` ${r.description.replaceAll("\n", "\n ")}\n\n`; }); - desc += `━━━━━━━━━━━━━━━━━━━━━━\n`; - desc += `${PREV_EMOJI} Previous ${NEXT_EMOJI} Next ${CANCEL_EMOJI} Cancel`; + desc += `⬅️ Previous ➡️ Next ❌ Cancel`; return { payload: mkEmbed(desc), pickable }; }; @@ -78,7 +77,7 @@ export async function run(msg, data) { settled = true; unobserve(); clearReactions().catch(() => {}); - listMsg.edit(mkEmbed("📻 Radio selection timed out.")).catch(() => {}); + listMsg.edit(mkEmbed(this.t(msg, "responses.radio.timedOut"))).catch(() => {}); }, 60_000); const normalize = (s) => s.replace(/\uFE0F/g, ""); @@ -92,7 +91,7 @@ export async function run(msg, data) { clearTimeout(timeout); unobserve(); await clearReactions(); - listMsg.edit(mkEmbed("❌ Radio selection cancelled.")).catch(() => {}); + listMsg.edit(mkEmbed(this.t(msg, "responses.radio.cancelled"))).catch(() => {}); return; } if (emoji === normalize(NEXT_EMOJI)) page = (page + 1) % totalPages; @@ -121,7 +120,7 @@ export async function run(msg, data) { const radio = radios.find(r => r.name.toLowerCase() === input); if (!radio) { const names = radios.map(r => `\`${r.name}\``).join(", "); - return msg.reply(mkEmbed(`❌ Unknown station \`${input}\`. Available: ${names}\n\nUse \`%radio list\` to browse.`)); + return msg.reply(mkEmbed(this.t(msg, "responses.radio.unknownStation", { station: input, stations: names }))); } return playStation(this, msg, radio); } diff --git a/commands/reload.mjs b/commands/reload.mjs index 41e9642..a09c661 100644 --- a/commands/reload.mjs +++ b/commands/reload.mjs @@ -24,15 +24,15 @@ const __dirname = path.dirname(new URL(import.meta.url).pathname); const ROOT = path.resolve(__dirname, ".."); // ── Reload a single command ─────────────────────────────────────────────────── -async function reloadCommand(ctx, name) { +async function reloadCommand(ctx, msg, name) { if (name === "index") - return { ok: false, msg: "❌ `index.mjs` cannot be hot-reloaded — do a full restart." }; + return { ok: false, msg: ctx.t(msg, "responses.reload.indexNoReload") }; const command = ctx.handler.commands.find(c => c.name === name); - if (!command) return { ok: false, msg: `❌ Unknown command \`${name}\`` }; + if (!command) return { ok: false, msg: ctx.t(msg, "responses.reload.unknownCommand", { name }) }; const file = ctx.commandFiles.get(command.uid); - if (!file) return { ok: false, msg: `❌ No file tracked for \`${name}\`` }; + if (!file) return { ok: false, msg: ctx.t(msg, "responses.reload.noFileTracked", { name }) }; // Unregister old command.subcommands.forEach(sub => ctx.runnables.delete(sub.uid)); @@ -47,7 +47,7 @@ async function reloadCommand(ctx, name) { const raw = cData.command ?? cData.default?.command; const builder = typeof raw === "function" ? raw.call(ctx) : raw; - if (!builder) return { ok: false, msg: `❌ No builder returned from \`${name}\`` }; + if (!builder) return { ok: false, msg: ctx.t(msg, "responses.reload.noBuilder", { name }) }; const runFn = cData.run ?? cData.default?.run; const exportDef = cData.exportDef ?? cData.export ?? cData.default?.exportDef ?? cData.default?.export; @@ -60,18 +60,18 @@ async function reloadCommand(ctx, name) { builder.subcommands.forEach(sub => ctx.runnables.set(sub.uid, runFn)); } - return { ok: true, msg: `✅ \`${name}\`` }; + return { ok: true, msg: ctx.t(msg, "responses.reload.reloaded", { name }) }; } // ── Reload a src/ or audio/ module ─────────────────────────────────────────── -async function reloadModule(ctx, filePath, label) { +async function reloadModule(ctx, msg, filePath, label) { if (!fs.existsSync(filePath)) - return { ok: false, msg: `❌ File not found: \`${label}\`` }; + return { ok: false, msg: ctx.t(msg, "responses.reload.fileNotFound", { label }) }; try { await import(pathToFileURL(filePath).href + "?t=" + Date.now()); - return { ok: true, msg: `✅ \`${label}\`` }; + return { ok: true, msg: ctx.t(msg, "responses.reload.reloaded", { name: label }) }; } catch (e) { - return { ok: false, msg: `❌ \`${label}\`: ${e.message}` }; + return { ok: false, msg: ctx.t(msg, "responses.reload.moduleError", { label, error: e.message }) }; } } @@ -139,51 +139,51 @@ export async function run(msg, data) { const audLines = allModuleFiles("audio").map(m => `🎵 \`${m.label}\` *(audio)*`); const lines = [ - "Run `%reload ` or use a batch keyword:", - "`all` · `commands` · `src` · `audio`", + this.t(msg, "responses.reload.runHint"), + this.t(msg, "responses.reload.batchKeywords"), "", ...cmdLines, ...srcLines, ...audLines, ]; - return showPaged(msg, "🔄 Reload — Available Targets", lines); + return showPaged(msg, this.t(msg, "responses.reload.availableTargetsTitle"), lines); } // Batch keywords if (target === "commands") { const results = await Promise.all( - this.handler.commands.map(c => reloadCommand(this, c.name)) + this.handler.commands.map(c => reloadCommand(this, msg, c.name)) ); return showResults(msg, results, "Commands"); } if (target === "src") { const results = await Promise.all( - allModuleFiles("src").map(m => reloadModule(this, m.file, m.label)) + allModuleFiles("src").map(m => reloadModule(this, msg, m.file, m.label)) ); return showResults(msg, results, "src/"); } if (target === "audio") { const results = await Promise.all( - allModuleFiles("audio").map(m => reloadModule(this, m.file, m.label)) + allModuleFiles("audio").map(m => reloadModule(this, msg, m.file, m.label)) ); return showResults(msg, results, "audio/"); } if (target === "all") { const results = await Promise.all([ - ...this.handler.commands.map(c => reloadCommand(this, c.name)), - ...allModuleFiles("src").map(m => reloadModule(this, m.file, m.label)), - ...allModuleFiles("audio").map(m => reloadModule(this, m.file, m.label)), + ...this.handler.commands.map(c => reloadCommand(this, msg, c.name)), + ...allModuleFiles("src").map(m => reloadModule(this, msg, m.file, m.label)), + ...allModuleFiles("audio").map(m => reloadModule(this, msg, m.file, m.label)), ]); return showResults(msg, results, "Everything"); } // Single command by name if (this.handler.commands.some(c => c.name === target)) { - const res = await reloadCommand(this, target); + const res = await reloadCommand(this, msg, target); return msg.reply(embed(res.msg)); } @@ -195,11 +195,11 @@ export async function run(msg, data) { ); if (mod) { - const res = await reloadModule(this, mod.file, mod.label); + const res = await reloadModule(this, msg, mod.file, mod.label); return msg.reply(embed(res.msg)); } return msg.reply(embed( - `❌ Unknown target \`${target}\`.\nRun \`%reload\` with no arguments to see all reloadable targets.` + this.t(msg, "responses.reload.unknownTarget", { target }) )); } diff --git a/commands/search.mjs b/commands/search.mjs index 4d48272..e357199 100644 --- a/commands/search.mjs +++ b/commands/search.mjs @@ -74,7 +74,7 @@ export async function run(msg, data) { const nativeMsg = msg.message ?? msg; const rawMsg = await nativeMsg.reply( - { embeds: [makeEmbed("⏳ Loading results...", null, `Searching ${name}...`)] }, + { embeds: [makeEmbed(this.t(msg, "responses.search.loadingResults"), this.t(msg, "responses.play.searchingProvider", { provider: name }), `Searching ${name}...`)] }, { ping: false } ).catch(() => null); if (!rawMsg) return; @@ -82,7 +82,7 @@ export async function run(msg, data) { // Fetch results const res = await p.fetchResults(query, msg.authorId, provider); if (!res?.count) { - rawMsg.edit({ embeds: [makeEmbed("❌ No results found.")] }).catch(() => {}); + rawMsg.edit({ embeds: [makeEmbed(this.t(msg, "responses.search.noResults"))] }).catch(() => {}); return; } @@ -102,7 +102,7 @@ export async function run(msg, data) { await rawMsg.edit({ embeds: [makeEmbed( desc, - "React with a number to add to queue • ❌ to cancel • 30s timeout", + this.t(msg, "responses.search.reactHint"), `${name} — Search Results` )] }).catch(() => {}); @@ -137,7 +137,7 @@ export async function run(msg, data) { if (e.emoji_id === CANCEL_EMOJI) { rawMsg.edit({ - embeds: [makeEmbed("❌ Cancelled.", null, `${name} — Search Results`)] + embeds: [makeEmbed(this.t(msg, "responses.search.cancelled"), null, `${name} — Search Results`)] }).catch(() => {}); return; } @@ -150,7 +150,7 @@ export async function run(msg, data) { rawMsg.edit({ embeds: [makeEmbed( - `✅ Added [${v.title}](${v.url}) to the queue!`, + this.t(msg, "responses.search.added", { title: v.title, url: v.url }), null, `${name} — Search Results` )] @@ -163,7 +163,7 @@ export async function run(msg, data) { unobserve(); clearReactions().catch(() => {}); rawMsg.edit({ - embeds: [makeEmbed("⏰ Search timed out.", "Session closed", `${name} — Search Results`)] + embeds: [makeEmbed(this.t(msg, "responses.search.timedOut"), this.t(msg, "responses.search.sessionClosed"), `${name} — Search Results`)] }).catch(() => {}); }, SESSION_MS); // configurable via config.timers.searchSessionTimeout } diff --git a/commands/servers.mjs b/commands/servers.mjs index 85dd35b..ee9ed32 100644 --- a/commands/servers.mjs +++ b/commands/servers.mjs @@ -18,8 +18,8 @@ export async function run(msg) { if (guilds.length === 0) { const emptyEmbed = new EmbedBuilder() .setColor(getGlobalColor()) - .setTitle("🌐 Servers (0)") - .setDescription("_No servers found._") + .setTitle(this.t(msg, "responses.servers.title", { count: 0 })) + .setDescription(this.t(msg, "responses.servers.noServers")) ; return msg.reply({ embeds: [emptyEmbed] }); } @@ -41,14 +41,14 @@ export async function run(msg) { const buildPageContent = (pageIdx, expired = false) => { const embed = new EmbedBuilder() .setColor(getGlobalColor()) - .setTitle(`🌐 Servers (${guilds.length}) - Page ${pageIdx + 1}/${totalPages}`) + .setTitle(this.t(msg, "responses.servers.pageTitle", { count: guilds.length, page: pageIdx + 1, total: totalPages })) .setDescription(pages[pageIdx]) .setFooter({ text: expired - ? "⌛ Controls expired" + ? this.t(msg, "responses._common.controlsExpired") : totalPages > 1 - ? "💡 ⬅️ ➡️ Navigate" - : "List complete" + ? this.t(msg, "responses._common.navigateHint") + : this.t(msg, "responses.servers.listComplete") }) ; diff --git a/commands/settings.mjs b/commands/settings.mjs index 6024b5a..6c6263b 100644 --- a/commands/settings.mjs +++ b/commands/settings.mjs @@ -25,8 +25,8 @@ const BOOL_FALSE = new Set(["false", "0", "no", "off", "disable", "disabled"]); /** Settings whose values should be displayed as booleans */ const BOOL_SETTINGS = new Set(["songAnnouncements"]); -/** Valid locale codes */ -const VALID_LOCALES = new Set(["en", "ar-SA", "ckb", "de-DE", "pt-BR"]); +/** Valid locale codes — populated from Locale instance at runtime */ +let VALID_LOCALES = new Set(["en"]); /** Volume constraints */ const VOLUME_MIN = 1; @@ -149,17 +149,13 @@ async function handle247(ctx, message, value) { if (!["off", "on", "auto"].includes(resolved)) { return message.reply(embed( - `❌ Invalid value \`${value}\` for 24/7 mode.\n\n` + - `**Valid options:**\n` + - `• \`off\` — bot leaves after inactivity\n` + - `• \`on\` — bot stays active in the saved channel list\n` + - `• \`auto\` — bot stays active and keeps the saved channel list ready for recovery` + ctx.t(message, "responses.settings.invalid247", { value }) )); } // ── OFF ─────────────────────────────────────────────────────────────────── if (resolved === "off") { - if (!guildId) return message.reply(embed("❌ Could not detect your server.")); + if (!guildId) return message.reply(embed(ctx.t(message, "responses.settings.noServer"))); const channelId = ctx.players.checkVoiceChannels(message); const channels = get247Channels(set); @@ -186,7 +182,7 @@ async function handle247(ctx, message, value) { const extra = remaining.length > 0 ? `\nSaved channels left: ${remaining.map(ch => `<#${ch}>`).join(", ")}` : ""; - return message.reply(embed(`✅ 24/7 mode **disabled** for <#${id}>. Bot has left.${extra}`)); + return message.reply(embed(ctx.t(message, "responses.settings.247Disabled", { channel: id }) + extra)); } // Not in a channel — disable all for this guild @@ -202,16 +198,16 @@ async function handle247(ctx, message, value) { player.destroy(); } } - return message.reply(embed("✅ 24/7 mode **disabled** for all channels in this server.")); + return message.reply(embed(ctx.t(message, "responses.settings.247DisabledAll"))); } // ── ON / AUTO ───────────────────────────────────────────────────────────── - if (!guildId) return message.reply(embed("❌ Could not detect your server.")); + if (!guildId) return message.reply(embed(ctx.t(message, "responses.settings.noServer"))); const channelId = ctx.players.checkVoiceChannels(message); if (!channelId) { return message.reply(embed( - `❌ You're not in a voice channel. Join one first, then run \`%247 ${resolved}\` again.` + ctx.t(message, "responses.settings.noVoice247", { mode: resolved }) )); } @@ -234,14 +230,14 @@ async function handle247(ctx, message, value) { cleanId(p?._channelId ?? "") === id && cleanId(p?._guildId ?? "") === cleanId(guildId) ) ) { - return message.reply(embed(`✅ 24/7 mode set to ${modeLabel} for <#${id}>.\n${savedSummary}`)); + return message.reply(embed(ctx.t(message, "responses.settings.247Set", { mode: modeLabel, channel: id, summary: savedSummary }))); } try { await ctx._spawnPlayer(guildId, id); - return message.reply(embed(`✅ 24/7 mode set to ${modeLabel} for <#${id}>. Bot joined!\n${savedSummary}`)); + return message.reply(embed(ctx.t(message, "responses.settings.247Joined", { mode: modeLabel, channel: id, summary: savedSummary }))); } catch (e) { - return message.reply(embed(`✅ 24/7 mode saved for <#${id}>, but failed to join: ${e.message}\n${savedSummary}`)); + return message.reply(embed(ctx.t(message, "responses.settings.247JoinFailed", { channel: id, error: e.message, summary: savedSummary }))); } } @@ -257,10 +253,7 @@ async function applySet(ctx, message, set, key, rawValue) { if (BOOL_SETTINGS.has(key)) { const bool = parseBool(rawValue); if (bool === null) { - return ( - `❌ \`${key}\` must be a boolean.\n` + - `Accepted: \`true\`, \`false\`, \`on\`, \`off\`, \`enable\`, \`disable\`` - ); + return ctx.t(message, "responses.settings.mustBeBool", { setting: key }); } set.set(key, bool); return null; @@ -276,7 +269,7 @@ async function applySet(ctx, message, set, key, rawValue) { if (key === "volume") { const num = parseInt(rawValue, 10); if (isNaN(num) || num < VOLUME_MIN || num > VOLUME_MAX) { - return `❌ Volume must be a number between **${VOLUME_MIN}** and **${VOLUME_MAX}**.`; + return ctx.t(message, "responses.settings.volumeRange"); } set.set(key, num); return null; @@ -285,22 +278,26 @@ async function applySet(ctx, message, set, key, rawValue) { // Locale if (key === "locale") { if (!VALID_LOCALES.has(rawValue)) { - return ( - `❌ \`${rawValue}\` is not a supported locale.\n` + - `Available locales: ${[...VALID_LOCALES].map(l => `\`${l}\``).join(", ")}` - ); + return ctx.t(message, "responses.settings.invalidLocale", { + locale: rawValue, + locales: [...VALID_LOCALES].map(l => `\`${l}\``).join(", ") + }); } set.set(key, rawValue); + // Invalidate locale cache so the new locale takes effect immediately + // without requiring a bot reboot. + const guildId = getGuildId(message); + if (guildId) ctx.locale.invalidateCache(guildId); return null; } // Prefix if (key === "prefix") { if (!rawValue || rawValue.length > 5) { - return `❌ Prefix must be between **1** and **5** characters.`; + return ctx.t(message, "responses.settings.prefixLength"); } if (/\s/.test(rawValue)) { - return `❌ Prefix cannot contain spaces.`; + return ctx.t(message, "responses.settings.prefixSpaces"); } } @@ -322,7 +319,7 @@ async function handleShortcut(ctx, message, settingKey, valueTokens) { // GET (no value provided) if (valueTokens.length === 0) { if (settingKey === "stay_247") { - return message.reply(embed(`24/7 mode: ${format247Status(set)}`)); + return message.reply(embed(ctx.t(message, "responses.settings.247Status", { status: format247Status(set) }))); } const val = set.get(settingKey); return message.reply(embed(`\`${settingKey}\` → ${displayValue(settingKey, val)}`)); @@ -336,13 +333,19 @@ async function handleShortcut(ctx, message, settingKey, valueTokens) { // handle247 replies on its own if (settingKey !== "stay_247") { const val = set.get(settingKey); - return message.reply(embed(`✅ \`${settingKey}\` set to ${displayValue(settingKey, val)}`)); + return message.reply(embed(ctx.t(message, "responses.settings.setSuccess", { label: settingKey, value: displayValue(settingKey, val) }))); } } // ── Command definition ──────────────────────────────────────────────────────── export const command = function() { + // Populate valid locales from the Locale instance so the list stays + // in sync when new locale files are added to storage/locales/bot/. + if (this.locale) { + VALID_LOCALES = this.locale.availableLocales(); + } + if (this.loader) { for (const [alias, settingKey] of Object.entries(SHORTCUTS)) { const builder = new CommandBuilder() @@ -470,7 +473,7 @@ export async function run(message, data) { if (!this.settingsMgr.isOption(settingKey)) { const available = Object.keys(this.settingsMgr.defaults).join("`, `"); return message.reply(embed( - `❌ Unknown setting \`${settingKey}\`.\nAvailable: \`${available}\`` + this.t(message, "responses.settings.unknownSetting", { setting: settingKey }) + "\n" + this.t(message, "responses.settings.availableSettings", { settings: available }) )); } @@ -480,7 +483,7 @@ export async function run(message, data) { if (settingKey === "stay_247") return; // handle247 replied already const newVal = set.get(settingKey); - return message.reply(embed(`✅ **${prettifySettingLabel(settingKey)}** set to ${displayValue(settingKey, newVal)}`)); + return message.reply(embed(this.t(message, "responses.settings.setSuccess", { label: prettifySettingLabel(settingKey), value: displayValue(settingKey, newVal) }))); } // ── get ─────────────────────────────────────────────────────────────────── @@ -516,22 +519,26 @@ export async function run(message, data) { }); return message.reply(embed( - `Server: **${guildName}**\n\n${lines.join("\n")}\n\n` + - `Shortcuts: \`${prefix}247\`, \`${prefix}prefix\`\n` + - `Use \`${prefix}settings help \` to learn about any setting.`, - { title: "⚙️ Server Settings", iconURL: iconUrl } + this.t(message, "responses.settings.serverHeader", { name: guildName }) + "\n\n" + lines.join("\n") + "\n\n" + + this.t(message, "responses.settings.shortcutsHint", { prefix }), + { title: this.t(message, "responses.settings.serverTitle"), iconURL: iconUrl } )); } // ── reset ───────────────────────────────────────────────────────────────── if (cmd === "resetSettings") { if (!this.settingsMgr.isOption(settingKey)) { - return message.reply(embed(`❌ Unknown setting \`${settingKey}\`.`)); + return message.reply(embed(this.t(message, "responses.settings.unknownSetting", { setting: settingKey }))); } set.reset(settingKey); + // Invalidate locale cache if the locale setting was reset + if (settingKey === "locale") { + const guildId = getGuildId(message); + if (guildId) this.locale.invalidateCache(guildId); + } const def = set.get(settingKey); return message.reply(embed( - `🔄 \`${settingKey}\` has been reset to its default: ${displayValue(settingKey, def)}` + this.t(message, "responses.settings.resetSuccess", { setting: settingKey, value: displayValue(settingKey, def) }) )); } @@ -543,15 +550,10 @@ export async function run(message, data) { const keys = Object.keys(this.settingsMgr.defaults); const keyList = keys.map(k => `\`${k}\``).join(", "); return message.reply(embed( - `**⚙️ Settings Help**\n\n` + - `**Available settings:** ${keyList}\n\n` + - `**Subcommands:**\n` + - `• \`${pfx}settings get\` — list all current values\n` + - `• \`${pfx}settings get \` — view a single setting\n` + - `• \`${pfx}settings set \` — change a setting\n` + - `• \`${pfx}settings reset \` — restore default value\n` + - `• \`${pfx}settings help \` — describe a setting\n\n` + - `**Shortcuts:** \`${pfx}prefix\`, \`${pfx}247\``, + 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: pfx }) + "\n\n" + + this.t(message, "responses.settings.helpShortcuts", { prefix: pfx }), { title: "⚙️ Settings Help" } )); } diff --git a/commands/skip.mjs b/commands/skip.mjs index 1bfe66e..8af705a 100644 --- a/commands/skip.mjs +++ b/commands/skip.mjs @@ -23,8 +23,8 @@ export async function run(message) { } const desc = skippedTitle - ? `⏭️ Skipped [${skippedTitle}](${skippedLink})` - : "⏭️ Skipped"; + ? this.t(message, "responses.skip.skippedTrack", { title: skippedTitle, url: skippedLink }) + : this.t(message, "responses.skip.skipped"); const embed = new EmbedBuilder() .setColor(getGlobalColor()) diff --git a/commands/stats.mjs b/commands/stats.mjs index 88f890f..30078ba 100644 --- a/commands/stats.mjs +++ b/commands/stats.mjs @@ -89,28 +89,28 @@ function getLivePlayerCount(playerMap) { // ── Embed builder ───────────────────────────────────────────────────────────── -function buildEmbed({ guildCount, userCount, playerCount, ping, uptime, comHash, comLink, reason, footer, loading }) { +function buildEmbed(t, msg, { guildCount, userCount, playerCount, ping, uptime, comHash, comLink, reason, footer, loading }) { const num = (v) => Utils.formatNumber(v); const ld = (v) => loading ? "..." : v; const description = [ - `📂 **Servers** — \`${num(guildCount)}\``, - `👥 **Users** — \`${ld(num(userCount))}\``, - `🎧 **Players** — \`${num(playerCount)}\``, - `🏓 **Ping** — \`${ld(`${num(ping)}ms`)}\``, - `⏱️ **Uptime** — \`${uptime}\``, - `🔧 **Build** — [\`${comHash}\`](${comLink})`, - reason ? `🪛 **Last restart** — \`${reason}\`` : null, + `${t(msg, "responses.stats.servers")} — \`${num(guildCount)}\``, + `${t(msg, "responses.stats.users")} — \`${ld(num(userCount))}\``, + `${t(msg, "responses.stats.players")} — \`${num(playerCount)}\``, + `${t(msg, "responses.stats.ping")} — \`${ld(`${num(ping)}ms`)}\``, + `${t(msg, "responses.stats.uptime")} — \`${uptime}\``, + `${t(msg, "responses.stats.build")} — [\`${comHash}\`](${comLink})`, + reason ? `${t(msg, "responses.stats.lastRestart")} — \`${reason}\`` : null, ``, - `☕ [Support us on Ko-fi](https://ko-fi.com/remixbot)`, - `💬 [Community](https://fluxer.gg/Remix)`, + t(msg, "responses.stats.supportKofi"), + t(msg, "responses.stats.community"), ].filter(l => l !== null).join("\n"); const builder = new EmbedBuilder() .setColor(getGlobalColor()) - .setAuthor({ name: "Remix Music Bot" }) + .setAuthor({ name: t(msg, "responses.stats.title") }) .setDescription(description) - .setFooter({ text: footer || "Remix Music Bot" }); + .setFooter({ text: footer || t(msg, "responses.stats.title") }); if (typeof builder.setTimestamp === "function") builder.setTimestamp(); return builder; @@ -134,13 +134,13 @@ export async function run(message) { // Measure real round-trip latency const start = Date.now(); const msg = await message.reply({ - embeds: [buildEmbed({ ...shared, userCount: hasCached ? cachedUserCount : 0, ping: 0, loading: !hasCached })] + embeds: [buildEmbed((...a) => this.t(...a), message, { ...shared, userCount: hasCached ? cachedUserCount : 0, ping: 0, loading: !hasCached })] }); const ping = Date.now() - start; const users = await getUserCount(this.client); await msg.edit({ - embeds: [buildEmbed({ ...shared, userCount: users, ping, loading: false })] + embeds: [buildEmbed((...a) => this.t(...a), message, { ...shared, userCount: users, ping, loading: false })] }).catch((err) => console.error("[stats] editEmbed failed:", err)); } \ No newline at end of file diff --git a/commands/support.mjs b/commands/support.mjs index 9c10bb3..3cd0b8a 100644 --- a/commands/support.mjs +++ b/commands/support.mjs @@ -11,11 +11,9 @@ export const command = new CommandBuilder() export function run(msg) { const embed = new EmbedBuilder() .setColor(getGlobalColor()) - .setTitle("💬 Support") + .setTitle(this.t(msg, "responses.support.title")) .setDescription( - "For anything regarding Remix, head over to our server:\n" + - "[Remix HQ](https://fluxer.gg/remix)\n\n" + - "If you don't want to join, feel free to contact the team members listed in the server." + this.t(msg, "responses.support.description") ) ; msg.reply({ embeds: [embed] }); diff --git a/commands/test.mjs b/commands/test.mjs index 7232edb..b37ac0f 100644 --- a/commands/test.mjs +++ b/commands/test.mjs @@ -10,7 +10,7 @@ export const command = new CommandBuilder() export async function run(msg, data) { const guild = msg.channel?.channel?.guild ?? msg.message?.guild; if (!guild) { - const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription("❌ Must be used in a server."); + const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(msg, "responses.test.notInServer")); return msg.reply({ embeds: [embed] }); } @@ -26,7 +26,7 @@ export async function run(msg, data) { } if (channelCounts.size === 0) { - const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription("No one is in voice."); + const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(msg, "responses.test.noOneInVoice")); return msg.reply({ embeds: [embed] }); } @@ -51,12 +51,12 @@ export async function run(msg, data) { let desc = ""; for (const [channelId, total] of channelCounts) { const name = await getChannelName(channelId); - desc += `🔊 **${name}**: ${total} member${total !== 1 ? "s" : ""}\n`; + desc += this.t(msg, "responses.test.channelEntry", { name, count: total }); } const embed = new EmbedBuilder() .setColor(getGlobalColor()) - .setTitle("🎙️ Voice Channel Members") + .setTitle(this.t(msg, "responses.test.title")) .setDescription(desc.trim()) ; msg.reply({ embeds: [embed] }); diff --git a/commands/volume.mjs b/commands/volume.mjs index 8fc532b..5055349 100644 --- a/commands/volume.mjs +++ b/commands/volume.mjs @@ -26,14 +26,14 @@ export async function run(message, data) { if (!volOption || raw == null || isNaN(Number(raw))) { const current = Math.round((p.preferredVolume ?? 1) * 100); - embed.setDescription(`🔊 Current volume: \`${current}%\``); + embed.setDescription(this.t(message, "responses.volume.current", { volume: current })); } else { const pct = Number(raw); if (pct < 0 || pct > MAX_VOLUME) { - embed.setDescription(`❌ Volume must be between \`0\` and \`${MAX_VOLUME}%\`.`); + embed.setDescription(this.t(message, "responses.volume.outOfRange", { max: MAX_VOLUME })); } else { p.setVolume(pct / 100); - embed.setDescription(`🔊 Volume changed to \`${pct}%\` for this session.`); + embed.setDescription(this.t(message, "responses.volume.changed", { volume: pct })); } } diff --git a/commands/volumedefault.mjs b/commands/volumedefault.mjs index 0cd9b77..85c6205 100644 --- a/commands/volumedefault.mjs +++ b/commands/volumedefault.mjs @@ -38,25 +38,26 @@ export async function run(message, data) { 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 = set?.get("prefix") ?? "%"; embed - .setTitle("🔊 Volume Settings") + .setTitle(this.t(message, "responses.volumedefault.title")) .setDescription( - `• Server default: \`${currentDefault}%\`\n` + - `• Current player volume: \`${currentPlayerVol}%\`\n\n` + + this.t(message, "responses.volumedefault.serverDefault", { volume: currentDefault }) + "\n" + + this.t(message, "responses.volumedefault.currentVolume", { volume: currentPlayerVol }) + "\n\n" + (hasManage - ? `To change the default, use: \`${set?.get("prefix") ?? "%"}volumedefault <0-${MAX_VOLUME}>\`` - : `⚠️ You need **Manage Server** permission to change the default.`) + ? this.t(message, "responses.volumedefault.changeHint", { prefix: pfx, max: MAX_VOLUME }) + : this.t(message, "responses.volumedefault.noPermission")) ); } else if (!hasManage) { - embed.setDescription("❌ You need **Manage Server** permission to set the server default volume."); + embed.setDescription(this.t(message, "responses.volumedefault.noPermissionSet")); } else { const pct = Number(raw); if (pct < 0 || pct > MAX_VOLUME) { - embed.setDescription(`❌ Volume must be between \`0\` and \`${MAX_VOLUME}%\`.`); + embed.setDescription(this.t(message, "responses.volumedefault.outOfRange", { max: MAX_VOLUME })); } else { p.setVolume(pct / 100); if (set) set.set("volume", pct); - embed.setDescription(`🔊 Server default volume saved as \`${pct}%\`.`); + embed.setDescription(this.t(message, "responses.volumedefault.saved", { volume: pct })); } } diff --git a/index.mjs b/index.mjs index b33e74e..31cba76 100644 --- a/index.mjs +++ b/index.mjs @@ -12,6 +12,7 @@ import { getVoiceManager } from "@fluxerjs/voice"; import { MoonlinkManager } from "./src/MoonlinkManager.mjs"; import mysql from "mysql"; import { Dashboard } from "./src/dashboard/Dashboard.mjs"; +import { Locale } from "./src/constants/Locale.mjs"; export class Remix { constructor() { @@ -38,6 +39,10 @@ export class Remix { // Apply embed color from config globally setGlobalColor(config.embedColor); + // ── Locale (i18n) ──────────────────────────────────────────────────────── + this.locale = new Locale(); + this.locale.load(); + this.dashboard = new Dashboard(this, { mysql: config.mysql, ...config.dashboard, @@ -81,10 +86,15 @@ export class Remix { const settings = new RemoteSettingsManager(config.mysql, "./storage/defaults.json"); this.settingsMgr = settings; + // Bind settings manager to locale so it can resolve per-guild locale settings + this.locale.bind(this.settingsMgr); + const commands = new CommandHandler(messages); this.handler = commands; commands.setPrefixManager(new PrefixManager(settings)); + commands.setLocale(this.locale); + messages.setLocale(this.locale); // ── Help command ────────────────────────────────────────────────────────── new HelpCommand(commands, messages, (msg) => this.getSettings(msg)).register(); @@ -1250,6 +1260,7 @@ export class Remix { config, player: this.playerContext, dashboard: this.dashboard, + locale: this.locale, }); this.players.observedVoiceUsers = this.observedVoiceUsers; @@ -1516,6 +1527,21 @@ export class Remix { return this.settingsMgr.getServer(guildId); } + /** + * Translate a key for the guild of the given message. + * @param {Message} message + * @param {string} key Dotted locale key, e.g. "responses.play.noResults" + * @param {Object} [data={}] Replacement values, e.g. { count: 5 } + * @returns {string} + */ + t(message, key, data = {}) { + const guildId = message?.channel?.channel?.guildId + ?? message?.message?.guildId + ?? message?.guildId + ?? null; + return this.locale.translate(guildId, key, data); + } + getPlayer(message, promptJoin, verifyUser, shouldJoin) { return this.players.getPlayer(message, promptJoin, verifyUser, shouldJoin); } diff --git a/src/CommandHandler.mjs b/src/CommandHandler.mjs index c8ef786..f6596d6 100644 --- a/src/CommandHandler.mjs +++ b/src/CommandHandler.mjs @@ -227,10 +227,8 @@ export class HelpHandler { commandsPerPage = 5; paginationHandler = (msg, helpHandler, cmds) => { - let form = "Available Commands (page $currentPage/$maxPage): \n\n$content"; - form += "\n\nRun `$prefix$helpCmd ` to learn more about it. You can also include subcommands.\n"; - form += "For example: `$prefix$helpCmd settings get`\n\n"; - form += "Tip: Use the arrows beneath this message to turn pages, or specify the required page by using `$prefix$helpCmd `"; + const guildId = msg.message.guildId; + let form = this.commands.t(guildId, "cmdHandler.help.pageStructure"); const contents = cmds.map((cmd, i) => { return (i + 1) + ". **" + cmd.name + "**: " + (cmd.description || "").split("\n")[0]; @@ -373,6 +371,8 @@ export class CommandHandler extends EventEmitter { /** @type {CommandBuilder[]} */ commands = []; + /** @type {import('./constants/Locale.mjs').Locale|null} */ + locale = null; invalidFlagError = "Invalid flag `$invalidFlag`. It doesn't match any options on this command.\n`$previousCmd $invalidFlag`"; textWrapError = "Malformed string `$value`: Missing a closing quote character (`$quote`) after the desired string."; @@ -399,6 +399,20 @@ export class CommandHandler extends EventEmitter { setPingPrefix(bool) { this.pingPrefix = bool; } setPrefixManager(manager) { this.prefixes = manager; } setHelpHandler(handler) { this.helpHandler = handler; } + /** @param {import('./constants/Locale.mjs').Locale} locale */ + setLocale(locale) { this.locale = locale; } + + /** + * Translate a locale key for a given guild. + * @param {string} guildId + * @param {string} key + * @param {Object} [replacements={}] + * @returns {string} + */ + t(guildId, key, replacements = {}) { + if (!this.locale) return key; + return this.locale.translate(guildId, key, replacements); + } format(text, guildId) { const prefix = (!guildId) ? this.prefix : this.getPrefix(guildId); @@ -463,12 +477,14 @@ export class CommandHandler extends EventEmitter { } if (args.length > 1 && Utils.isNumber(args[1])) { const pageNumber = parseInt(args[1]); - if (pageNumber < 1 || pageNumber > this.helpHandler.pageNumber()) return this.replyHandler("`" + pageNumber + "` is not a valid page number!", msg); + if (pageNumber < 1 || pageNumber > this.helpHandler.pageNumber()) { + return this.replyHandler(this.t(guildId, "cmdHandler.page.invalid", { number: pageNumber }), msg); + } return this.replyHandler(this.helpHandler.getHelpPage(pageNumber - 1, msg), msg); } if (args.length <= 2) { let idx = this.commands.findIndex(e => e.aliases.some(al => al.toLowerCase() === args[1].toLowerCase())); - if (idx === -1) return this.replyHandler("Unknown command `$prefix" + args[1] + "`!", msg); + if (idx === -1) return this.replyHandler(this.t(guildId, "cmdHandler.command.invalid", { command: this.format("$prefix" + args[1], guildId) }), msg); return this.replyHandler(this.helpHandler.getCommandHelp(this.commands[idx], msg), msg); } let currCmd = null; @@ -477,7 +493,7 @@ export class CommandHandler extends EventEmitter { let a = args.slice(1)[i]; let curr = (currCmd) ? currCmd.subcommands : this.commands; let idx = curr.findIndex(e => e.aliases.some(al => al.toLowerCase() === a.toLowerCase())); - if (idx === -1) return this.replyHandler("Unknown command `$prefix" + prefix2 + a + "`!", msg); + if (idx === -1) return this.replyHandler(this.t(guildId, "cmdHandler.command.invalid", { command: this.format("$prefix" + prefix2 + a, guildId) }), msg); currCmd = curr[idx]; prefix2 += a + " "; } @@ -485,7 +501,7 @@ export class CommandHandler extends EventEmitter { } if (!this.commandNames.includes(args[0].toLowerCase())) { - this.replyHandler("Unknown Command. Use `$prefix$helpCmd` to view all possible commands.", msg); + this.replyHandler(this.t(guildId, "cmdHandler.command.invalid", { command: this.format("$prefix$helpCmd", guildId) }), msg); return; } return this.processCommand(this.commands.find(e => e.aliases.includes(args[0].toLowerCase())), args, msg); @@ -507,7 +523,8 @@ export class CommandHandler extends EventEmitter { }); if (idx === -1) { const list = cmd.subcommands.map(s => s.name).join(" | "); - const e = "Invalid subcommand. Try one of the following options: `$previousCmd <$cmdlist>`".replace(/\$previousCmd/gi, previous).replace(/\$cmdList/gi, list); + const subGuildId = msg.channel?.channel?.guildId ?? msg.message?.guildId; + const e = this.t(subGuildId, "cmdBuilder.subcommand.invalid").replace(/\$previousCmd/gi, previous).replace(/\$cmdList/gi, list); return (!external) ? this.replyHandler(e, msg) : e; } return this.processCommand(cmd.subcommands[idx], args.slice(1), msg, previous + this.format(" " + cmd.subcommands[idx].name), external); @@ -543,7 +560,8 @@ export class CommandHandler extends EventEmitter { const flagName = args[argIndex].slice(1); const op = cmd.options.find(e => e.aliases.includes(flagName)); if (!op) { - const error = this.invalidFlagError.replace(/\$previousCmd/gi, previous).replace(/\$invalidFlag/gi, "-" + flagName); + const flagGuildId = msg.channel?.channel?.guildId ?? msg.message?.guildId; + const error = this.t(flagGuildId, "cmdHandler.invalidFlag").replace(/\$previousCmd/gi, previous).replace(/\$invalidFlag/gi, "-" + flagName); return (!external) ? this.replyHandler(error, msg) : error; } previous += " " + args[argIndex]; @@ -631,6 +649,7 @@ export class CommandHandler extends EventEmitter { assertRequirements(cmd, msg) { const authorId = msg.message?.author?.id; const isOwner = this.owners.includes(authorId); + const permGuildId = msg.channel?.channel?.guildId ?? msg.message?.guildId; for (let i = 0; i < cmd.requirements.length; i++) { let req = cmd.requirements[i]; @@ -644,7 +663,7 @@ export class CommandHandler extends EventEmitter { // cached — check directly const missing = req.permissions.filter(p => !member.permissions.has(PermissionFlags[p] ?? p)); if (missing.length > 0) { - this.replyHandler(req.permissionError, msg); + this.replyHandler(this.t(permGuildId, "cmdBuilder.requirement.permission"), msg); return false; } } else { @@ -659,7 +678,7 @@ export class CommandHandler extends EventEmitter { fetchPromise.then(member => { const missing = req.permissions.filter(p => !member.permissions.has(PermissionFlags[p] ?? p)); if (missing.length > 0) { - this.replyHandler(req.permissionError, msg); + this.replyHandler(this.t(permGuildId, "cmdBuilder.requirement.permission"), msg); } else { // Re-parse args the same way messageHandler does so quoted args survive. const guildId2 = msg.channel?.channel?.guildId ?? msg.message?.guildId; @@ -671,7 +690,7 @@ export class CommandHandler extends EventEmitter { // re-entering the fetch loop if the member is still not cached. this.processCommand(cmd, args, msg, false, true); } - }).catch(() => this.replyHandler(req.permissionError, msg)); + }).catch(() => this.replyHandler(this.t(permGuildId, "cmdBuilder.requirement.permission"), msg)); return false; } } diff --git a/src/MessageHandler.mjs b/src/MessageHandler.mjs index b0ec184..6908d3e 100644 --- a/src/MessageHandler.mjs +++ b/src/MessageHandler.mjs @@ -27,6 +27,9 @@ export class MessageHandler { observedReactions; /** @type {Map} */ observedChannels; + /** @type {import('./constants/Locale.mjs').Locale} */ + locale; + /** * @param {Client} client */ @@ -47,6 +50,21 @@ export class MessageHandler { }); } + /** @param {import('./constants/Locale.mjs').Locale} locale */ + setLocale(locale) { this.locale = locale; } + + /** + * Translate a locale key for a given guild. + * @param {string} guildId + * @param {string} key + * @param {Object} [replacements={}] + * @returns {string} + */ + t(guildId, key, replacements = {}) { + if (!this.locale) return key; + return this.locale.translate(guildId, key, replacements); + } + setupEvents() { const reactionUpdate = (reaction, user) => { // fluxerjs reaction events pass a MessageReaction and a User @@ -99,7 +117,7 @@ export class MessageHandler { try { const dm = await message.author.createDM(); dm.send({ - embeds: [this.#embedify("I am unable to send messages in <#" + message.channelId + ">. Please contact a server administrator and grant me the \"SendMessages\" permission.")] + embeds: [this.#embedify(this.t(message.guildId, "pagination.error.perms.messages", { channel: "<#" + message.channelId + ">" }))] }); } catch (e) { logger.warn("[MessageHandler] Error sending message in DMs (" + message.author.id + "):", e.message); @@ -255,7 +273,13 @@ export class MessageHandler { */ async reply(replyingTo, message, mention = false) { if (!(await this.assertPermissions(["SendMessages"], replyingTo))) return null; - const opts = typeof message === "string" ? { content: message } : { ...message }; + let opts; + if (typeof message === "string") { + // Auto-wrap plain text in an embed (matches old replyEmbed behavior) + opts = this.#createEmbed(message, replyingTo); + } else { + opts = { ...message }; + } return new Message(await replyingTo.reply(opts, { ping: false }), this); } @@ -297,7 +321,14 @@ export class MessageHandler { logger.warn("[MessageHandler] Missing SendMessages permission in channel", channel.id); return; } - return new Message(await channel.send(typeof message === "string" ? { content: message } : message), this); + let opts; + if (typeof message === "string") { + // Auto-wrap plain text in an embed (matches old sendEmbed behavior) + opts = this.#createEmbed(message, channel); + } else { + opts = message; + } + return new Message(await channel.send(opts), this); } /** @@ -400,9 +431,10 @@ export class MessageHandler { }); // Auto-close after 5 minutes + const guildId = msg.message?.guildId ?? null; setTimeout(() => { unobserve(); - m.edit(send() + "\nSession closed - Changing pages **won't work** from here.").catch(() => {}); + m.edit(this.t(guildId, "pagination.embed.sclosedContent", { content: send() })).catch(() => {}); }, 5 * 60 * 1000); } @@ -768,6 +800,8 @@ export class RichPaginator { if (!rawMsg) return null; + const guildId = (this._msg.channel?.guildId) ?? (this._msg.guildId) ?? null; + // Add reactions for (const emoji of allReactions) { await rawMsg.react(emoji).catch(() => {}); @@ -820,7 +854,8 @@ export class RichPaginator { unobserve(); // Update footer to show session closed const currentEmbed = buildEmbed(state.tab, state.page); - currentEmbed.footer.text += " • Session closed"; + if (!currentEmbed.footer) currentEmbed.footer = { text: "" }; + currentEmbed.footer.text += " • " + this._handler.t(guildId, "pagination.embed.sclosedTitle"); rawMsg.edit({ embeds: [currentEmbed] }).catch(() => {}); await clearReactions(); }; @@ -891,6 +926,8 @@ export class QueuePaginator { if (!rawMsg) return null; + const guildId = (this._msg.channel?.guildId) ?? (this._msg.guildId) ?? null; + // No arrows needed for single page if (totalPages <= 1) return rawMsg; @@ -919,7 +956,7 @@ export class QueuePaginator { const closeSession = async () => { unobserve(); const embed = buildEmbed(state.page); - embed.footer.text += " • Session closed"; + embed.footer.text += " • " + this._handler.t(guildId, "pagination.embed.sclosedTitle"); rawMsg.edit({ embeds: [embed] }).catch(() => {}); await clearReactions(); }; @@ -1080,7 +1117,7 @@ export class HelpCommand { // that CommandHandler emits when it sees %help but can't find it. const _reply = this._commands.replyHandler.bind(this._commands); this._commands.replyHandler = (message, msg) => { - if (typeof message === "string" && message.includes("Unknown Command")) { + if (typeof message === "string" && message.toLowerCase().includes("unknown command")) { // Check if the triggering command was a help alias — if so, drop it silently const content = msg?.content ?? msg?.message?.content ?? ""; const guildId = msg?.channel?.channel?.guildId ?? msg?.message?.guildId; @@ -1158,7 +1195,8 @@ export class HelpCommand { c.aliases.some(a => a.toLowerCase() === word.toLowerCase()) ); if (!found) { - msg.reply(`❌ Unknown command \`${word}\`. Use \`${prefix}help\` to browse.`); + const guildId = msg.channel?.channel?.guildId ?? msg.message?.guildId; + msg.reply(this._commands.t(guildId, "cmdHandler.help.unknownCommand", { command: word, prefix })); return; } currCmd = found; diff --git a/src/Player.mjs b/src/Player.mjs index d3133d7..5d947e8 100644 --- a/src/Player.mjs +++ b/src/Player.mjs @@ -367,6 +367,7 @@ export default class Player extends EventEmitter { this.settings = opts.settings ?? null; this.settingsMgr = opts.settingsMgr ?? null; this._observedVoiceUsers = opts.observedVoiceUsers ?? null; + this.locale = opts.locale ?? null; // Merge NodeLink config (for stream URL building) this._nl = { @@ -1271,12 +1272,16 @@ export default class Player extends EventEmitter { } this._recoveryPending = false; this._isRecovering = false; - await this._stopMediaPlayer(); - await Utils.sleep(100); + this._streamingStopped = true; + + if (this._mediaPlayer) { + this._mediaPlayer.destroy(); + this._mediaPlayer = null; + } await this.connection.disconnect(); + this.queue.reset(); this.connection = null; - this._mediaPlayer = null; this._paused = false; this._pausedAt = null; this._playingNext = false; @@ -1779,13 +1784,22 @@ export default class Player extends EventEmitter { return this.getDuration(current.duration); } + /** Translate a locale key for this player's guild, with fallback. */ + _t(key, replacements = {}) { + if (!this.locale) return key; + return this.locale.translate(this._guildId, key, replacements); + } + announceSong(s) { if (!s) return; - const inVC = this._channelId ? ` in <#${this._channelId}>` : ""; - if (s.type === "radio") { - this.emit("message", mkEmbed(`📻 Now streaming _${Utils.escapeMarkdown(s.title)}_ by [${s.author?.name || "Unknown"}](${s.author?.url || ""})${inVC}`)) + this.emit("message", mkEmbed(this._t("responses.radio.nowPlaying", { + title: Utils.escapeMarkdown(s.title), + author: s.author?.name || "Unknown", + url: s.author?.url || "", + channel: this._channelId || "", + }))); return; } const author = s.artists @@ -1793,7 +1807,12 @@ export default class Player extends EventEmitter { : s.author?.url ? `[${s.author.name}](${s.author.url})` : s.author?.name || "Unknown"; - this.emit("message", mkEmbed(`🎵 Now playing [${Utils.escapeMarkdown(s.title)}](${s.spotifyUrl || s.url}) by ${author}${inVC}`)) + this.emit("message", mkEmbed(this._t("responses.play.nowPlaying", { + title: Utils.escapeMarkdown(s.title), + url: s.spotifyUrl || s.url, + author: author, + channel: this._channelId || "", + }))); } // ═══════════════════════════════════════════════════════════════════════════ @@ -2027,7 +2046,7 @@ export default class Player extends EventEmitter { ?? "%"; } catch (_) { return "%"; } })(); - this.emit("message", mkEmbed(`🎵 The queue has ended — nothing left to play. Add more songs with \`${prefix}play\`!`)); + this.emit("message", mkEmbed(this._t("responses._common.queueEnded", { prefix }))); } this._wasRadio = false; return; @@ -2052,7 +2071,7 @@ export default class Player extends EventEmitter { const hasValidPlayer = await this._ensureMediaPlayer(); if (!hasValidPlayer) { logger.error("[Player] Failed to create healthy MediaPlayer — cannot play."); - this.emit("message", mkEmbed(":x: Voice connection lost. Please rejoin.")) + this.emit("message", mkEmbed(this._t("responses._common.voiceConnectionLost"))); if (!this._is247Enabled()) { this._startInactivityTimer(); @@ -2111,7 +2130,7 @@ export default class Player extends EventEmitter { if (!streamUrl || !Utils.isValidUrl(streamUrl)) { logger.error("[Player] No valid stream URL for:", songData.title); - this.emit("message", mkEmbed(`:x: Could not get stream URL for **${songData.title}** — skipping...`)) + this.emit("message", mkEmbed(this._t("responses._common.couldNotGetStream", { title: songData.title }))); this._streamingStopped = false; return this._doPlayNext(); } @@ -2136,7 +2155,7 @@ export default class Player extends EventEmitter { this._streamingStopped = true; if (!this._skipping && !this.leaving && !this._paused) { if (songData.type !== "radio") { - this.emit("message", mkEmbed(`:x: Error streaming **${songData.title}** — skipping...`)) + this.emit("message", mkEmbed(this._t("responses._common.errorStreaming", { title: songData.title }))); } } } diff --git a/src/PlayerManager.mjs b/src/PlayerManager.mjs index 333e94e..3cacd28 100644 --- a/src/PlayerManager.mjs +++ b/src/PlayerManager.mjs @@ -66,6 +66,9 @@ export class PlayerManager { /** @type {Object} */ playerConfig; + /** @type {import("./constants/Locale.mjs").Locale|null} */ + locale = null; + /** @type {import("./dashboard/Dashboard.mjs").Dashboard|null} */ dashboard = null; @@ -82,6 +85,7 @@ export class PlayerManager { this.config = config.config; this.playerConfig = config.player; this.dashboard = config.dashboard ?? null; + this.locale = config.locale ?? null; } /** @@ -209,6 +213,19 @@ export class PlayerManager { return player; } + /** + * Translate a locale key using the message's guild locale. + * @param {Object} message + * @param {string} key + * @param {Object} [replacements={}] + * @returns {string} + */ + _t(message, key, replacements = {}) { + if (!this.locale) return key; + const guildId = getMessageGuildId(message); + return this.locale.translate(guildId, key, replacements); + } + // ═══════════════════════════════════════════════════════════════════════════ // Voice Channel Detection // ═══════════════════════════════════════════════════════════════════════════ @@ -350,7 +367,7 @@ export class PlayerManager { first[1].textChannel = message.channel; return first[1]; } - message.reply(mkEmbed(`⚠️ You need to join a voice channel to use this command.`)); + message.reply(mkEmbed(this._t(message, "responses._common.noVoiceStrict"))); return null; } @@ -374,7 +391,7 @@ export class PlayerManager { return this.settings.getServer(guildId)?.get("prefix") ?? "%"; } catch (_) { return "%"; } })(); - message.reply(mkEmbed(`⚠️ I'm already playing in ${channelList}. Join that channel or use \`${prefix}play\` to start music in your channel.`)); + message.reply(mkEmbed(this._t(message, "responses._common.alreadyInChannel", { channels: channelList, prefix }))); return null; } @@ -383,7 +400,7 @@ export class PlayerManager { // Auto-detect failed — fall back to interactive channel selection prompt return this.promptVC(message); } - message.reply(mkEmbed("⚠️ Please join a voice channel first.")); + message.reply(mkEmbed(this._t(message, "responses._common.noVoiceChannel"))); return null; } @@ -427,13 +444,13 @@ export class PlayerManager { let channelSelection = ""; if (channelArr.length > 0) { - channelSelection = "Please select one of the following channels by clicking on the reactions below\n\n"; + channelSelection = this._t(msg, "responses._common.voiceSelectionPrompt") + "\n\n"; channelArr.forEach((c, i) => { channelSelection += `${i + 1}. <#${c._id ?? c.id}>\n`; }); } + const hint = this._t(msg, "responses._common.voiceSelectionHint"); const selectionMsg = await msg.reply(mkEmbed( - (channelSelection ? channelSelection + "\n**..or**" : "Please") + - " send a message with the voice channel! (Mention/Id/Name)\nSend 'x' to cancel." + (channelSelection ? channelSelection + "\n**..or** " + hint : "Please " + hint) )); return new Promise(resolve => { @@ -447,7 +464,7 @@ export class PlayerManager { const timeout = setTimeout(() => { cleanup(); - msg.reply(mkEmbed("⏱️ Voice selection timed out.")); + msg.reply(mkEmbed(this._t(msg, "responses._common.voiceSelectionTimedOut"))); resolve(false); }, 30_000); @@ -472,12 +489,12 @@ export class PlayerManager { if (content === "x") { clearTimeout(timeout); cleanup(); - m.reply(mkEmbed("Cancelled!")); + m.reply(mkEmbed(this._t(m, "voice.join.cancelled"))); resolve(false); return; } if (!this.commands.validateInput("voiceChannel", m.content, m)) { - m.reply(mkEmbed("Invalid voice channel. Try again or type `x`.")); + m.reply(mkEmbed(this._t(m, "responses._common.voiceSelectionInvalid"))); return; } const channel = this.commands.formatInput("voiceChannel", m.content, m); @@ -510,12 +527,12 @@ export class PlayerManager { } const player = cid ? this.playerMap.get(cid) : null; - if (!player) return msg.reply(mkEmbed("I'm not in a voice channel.")); + if (!player) return msg.reply(mkEmbed(this._t(msg, "responses._common.notInVoice"))); const activeChannelId = String(player._channelId ?? cid).replace(/\D/g, "") || cid; this.playerMap.delete(activeChannelId); if (activeChannelId !== cid) this.playerMap.delete(cid); - await msg.reply(mkEmbed("✅ Successfully Left")); + await msg.reply(mkEmbed(this._t(msg, "responses._common.successfullyLeft"))); await player.leave(); player.destroy(); } @@ -535,14 +552,14 @@ export class PlayerManager { if (!channel) { return message.reply(mkEmbed( - `Couldn't find the channel \`${cid}\`\nUse the help command to learn more about this.` + this._t(message, "responses.join.channelNotFound", { channel: cid }) )); } const isVoice = channel.type === 2; if (!isVoice) { - return message.reply(mkEmbed("❌ Please join a **voice channel** first before using this command!")); + return message.reply(mkEmbed(this._t(message, "responses._common.voiceChannelRequired"))); } const cleanChannelId = cleanId(cid); @@ -551,7 +568,7 @@ export class PlayerManager { if (existing) { existing.textChannel = message.channel; cb(existing); - return message.reply(mkEmbed(`Already joined <#${cid}>.`)); + return message.reply(mkEmbed(this._t(message, "responses.join.alreadyJoined", { channel: cid }))); } const player = new Player(this.config.token, { @@ -562,6 +579,7 @@ export class PlayerManager { moonlink: this.playerConfig?.moonlink ?? null, settingsMgr: this.settings, observedVoiceUsers: this.observedVoiceUsers ?? null, + locale: this.locale ?? null, }); player.textChannel = message.channel; @@ -587,8 +605,8 @@ export class PlayerManager { } catch (_) { return "%"; } })(); const desc = is247 - ? `Left channel <#${activeChannelId}> because of inactivity.` - : `Left channel <#${activeChannelId}> because of inactivity.\nIf you want me to stay in voice, use \`${prefix}247 on/auto\``; + ? this.locale?.translate(guildId, "responses.join.autoLeaveInactive", { channel: `<#${activeChannelId}>` }) ?? `Left channel <#${activeChannelId}> because of inactivity.` + : this.locale?.translate(guildId, "responses.join.autoLeaveInactive247", { channel: `<#${activeChannelId}>`, prefix }) ?? `Left channel <#${activeChannelId}> because of inactivity.\nIf you want me to stay in voice, use \`${prefix}247 on/auto\``; ch?.send(mkEmbed(desc)); this.playerMap.delete(activeChannelId); if (activeChannelId !== cleanChannelId) this.playerMap.delete(cleanChannelId); @@ -611,10 +629,10 @@ export class PlayerManager { this.playerMap.set(cleanChannelId, player); (async () => { - const statusMsg = await message.reply(mkEmbed("⏳ Joining Channel...")); + const statusMsg = await message.reply(mkEmbed(this._t(message, "responses.join.joining"))); try { await player.join(cid); - await statusMsg.edit(mkEmbed(`✅ Successfully joined <#${cid}>`)); + await statusMsg.edit(mkEmbed(this._t(message, "responses.join.joined", { channel: cid }))); const guildId = cleanId(channel.guildId ?? getMessageGuildId(message)); if (guildId) { @@ -627,7 +645,7 @@ export class PlayerManager { cb(player); } catch (err) { - await statusMsg.edit(mkEmbed(`❌ Failed to join: ${err.message}`)).catch(() => {}); + await statusMsg.edit(mkEmbed(this._t(message, "responses.join.joinFailed", { error: err.message }))).catch(() => {}); this.playerMap.delete(cleanChannelId); player.destroy(); } @@ -650,12 +668,12 @@ export class PlayerManager { ? this.playerMap.get(cleanChannelId) ?? [...this.playerMap.values()].find((entry) => getPlayerChannelId(entry) === cleanChannelId) : null; - if (!player) return msg.reply(mkEmbed("I'm not in a voice channel.")); + if (!player) return msg.reply(mkEmbed(this._t(msg, "responses._common.notInVoice"))); const activeChannelId = getPlayerChannelId(player, cleanChannelId) || cleanChannelId; this.playerMap.delete(activeChannelId); if (activeChannelId !== cleanChannelId) this.playerMap.delete(cleanChannelId); - await msg.reply(mkEmbed("✅ Successfully Left")); + await msg.reply(mkEmbed(this._t(msg, "responses._common.successfullyLeft"))); await player.leave(); player.destroy(); } diff --git a/storage/locales/bot/ar-SA.json b/storage/locales/bot/ar-SA.json index e2e10d1..cfc77d3 100644 --- a/storage/locales/bot/ar-SA.json +++ b/storage/locales/bot/ar-SA.json @@ -1,118 +1,487 @@ { - "cmdBuilder" : { - "requirement" : { - "permission" : "ليس لديك الصلاحية لكي تأمر هذا الأمر!" + "cmdBuilder": { + "requirement": { + "permission": "ليس لديك الصلاحيات المطلوبة لتنفيذ هذا الأمر!" }, - "subcommand" : { - "invalid" : "أمر فرعي لا يوجد. جرب أحد من الأمور الآتية: `$previousCmd <$cmdlist>`" + "subcommand": { + "invalid": "أمر فرعي غير صالح. جرّب أحد الخيارات التالية: `$previousCmd <$cmdlist>`" } }, - "cmdHandler" : { - "command" : { - "invalid" : "أمر مجهول {{command}}!", - "suggestion" : "هل كنت تقصد {{command}}؟ (أكتب {{acceptCommand}} لكي تأمر بهذا الأمر)" + "cmdHandler": { + "command": { + "invalid": "أمر غير معروف {{command}}!", + "suggestion": "هل كنت تقصد {{command}}؟ (اكتب {{acceptCommand}} لتنفيذه)" }, - "help" : { - "pageStructure" : "الأوامر المتوفرة (صفحة $currPage/$maxPage): $content أَصدر أمر `$prefix$helpCmd <أمر>` لكي تستعلم عن الأمر. لديك أيضاً القدرة أن تستعلم عن الأمور الفرعية. علي سبيل المثال: `$prefix$helpCmd settings get` نصيحة: استخدم الأسهم أسفل هذه الرسالة لتقليب الصفحات، أو اختر الصفحة المطلوبة باستخدام `$prefix$helpCmd <رقم الصفحة>`" + "help": { + "pageStructure": "الأوامر المتاحة (صفحة $currPage/$maxPage): \n\n$content\n\nاكتب `$prefix$helpCmd <أمر>` لمعرفة المزيد. يمكنك أيضًا تضمين الأوامر الفرعية.\nمثال: `$prefix$helpCmd settings get`\n\nنصيحة: استخدم الأسهم أسفل هذه الرسالة لتقليل الصفحات، أو حدد رقم الصفحة المطلوب باستخدام `$prefix$helpCmd <رقم الصفحة>`", + "unknownCommand": "❌ أمر غير معروف `{{command}}`. استخدم `{{prefix}}help` للتصفح." }, - "invalidFlag" : "خيار غير صالح `$invalidFlag`. إنه لا يطابق أي خيارات لهذا الأمر. `$previousCmd $invalidFlag`", - "page" : { - "invalid" : "{{number}} ليس رقم لصفحة صحيح!" + "invalidFlag": "علامة غير صالحة `$invalidFlag`. لا تتطابق مع أي خيار لهذا الأمر.\n`$previousCmd $invalidFlag`", + "page": { + "invalid": "{{number}} ليس رقم صفحة صالح!" }, - "permissions" : { - "message" : "الرجاء الإعطاء لي إذن {{permission}} في قناة {{channel}} أو اتصل بمسؤول السيرفر. أنا ليس لدي القدرة أن أعمل من غير هذا الإذن." + "permissions": { + "message": "يرجى منحي إذن {{permission}} في {{channel}} أو تواصل مع مسؤول الخادم. لا أستطيع العمل بدون هذا الإذن." } }, - "commands" : { - "clear" : "أزل جميع الأغاني من القائمة.", - "join" : "اجعل البوت يدخل لقناة صوتية محددة.", - "leave" : "اجعل البوت يغادر القناة الصوتية الحالية لك", - "list" : "درج الأغاني في القائمة الخاصة بقناة الصوت الحالية.", - "login" : "أكد تسجيل الدخول لحسابك علي الموقع", - "loop" : "بدل تكرار القائمة لديك أو الأغنية.", - "lyrics" : "جلب كلمات الأغنية الحالية. يرجي الملاحظة أن الكلمات قد تكون مختلفة عن الكلمات الفعلية لأن Genius لا يجد الأغنية الصحيحة دائما.", - "np" : "أطلب الاسم والرابط للأغنية الحالية.", - "pause" : "توقيف الصوت في القناة الصوتية", - "ping" : "بادئتي في هذا الخادم هي: {{prefix}}. استخدم {{helpCmd}} لكي تبدأ!", - "play" : "شغل فيديو يوتيوب من رابط أو بحث أو قائمة تشغيل علي يوتيوب من رابط. بعض الخدمات الأخري مدعومة أيضاً.", - "player" : "إنشاء رسالة تحكم بالإيموجي لقناتك الصوتية", - "playnext" : "مثل %play. النتيجة ستضاف في أعلي قائمة الإنتظار.", - "remove" : "مسح أغنية معينة من قائمة الانتظار.", - "resume" : "تكملة تشغيل الصوت في قناتك الصوتية", - "search" : "عرض نتائج البحث عن بحث ما", - "settings" : "تغيير أو جلب الإعدادات للسيرفر الحالي.", - "shuffle" : "يرتب قائمة الإنتظار عشوائياً.", - "skip" : "تخطي الأغنية الحالية.", - "stats" : "عرض إحصائيات عن البوت مثل مدة التشغيل.", - "support" : "سيرفر الدعم لRemix. لا تتردد في طلب المساعدة، التبليغ عن المشاكل أو التحادث :)", - "thumbnail" : "طلب فن الأغنية الحالية.", - "volume" : "تغيير مقدار الصوت." + "commands": { + "clear": "أزل جميع الأغاني من قائمة الانتظار.", + "debug": "أمر تصحيح للأغراض المتنوعة.", + "eval": "تنفيذ كود جافاسكريبت (للمالك فقط).", + "filter": "افتح أداة اختيار الفلاتر التفاعلية — تفاعل مع رمز تعبيري لتطبيق تأثير صوتي.", + "forceleave": "اجعل Remix يغادر قناة حتى لو لم تكن فيها.", + "invite": "احصل على رابط دعوة Remix وخادم الدعم.", + "join": "اجعل البوت ينضم إلى قناتك الصوتية، أو حدد قناة معينة.", + "leave": "اجعل البوت يغادر قناتك الصوتية الحالية.", + "list": "اعرض قائمة الأغاني في قائمة انتظار قناتك الصوتية الحالية.", + "login": "تأكيد تسجيل دخول حسابك على الموقع.", + "loop": "تفعيل/تعطيل تكرار قائمة الانتظار/الأغنية.", + "lyrics": "عرض كلمات الأغنية المتزامنة من NodeLink.", + "np": "اطلب اسم ورابط الأغنية التي تعمل حالياً.", + "pause": "إيقاف التشغيل مؤقتاً في قناتك الصوتية.", + "play": "شغّل أغنية أو قائمة تشغيل من رابط أو استعلام بحث.\nيدعم يوتيوب وسبوتيفاي وساوندكلاود ودييزر وآبل ميوزيك وتايدال والمزيد.\nالبحث الافتراضي: YouTube Music. استخدم `-p <المزود>` أو بادئة مضمنة مثل `sp: blinding lights`.", + "player": "أنشئ لوحة تحكم تشغيل تفاعلية مع تقدم مباشر.", + "playnext": "مثل %play لكنه يضيف النتيجة إلى أعلى قائمة الانتظار.", + "radio": "شغّل محطة إذاعية. استخدم `%radio list` لتصفح جميع المحطات.", + "reload": "إعادة تحميل الأوامر أو وحدات src أو وحدات audio. اتركه فارغاً لعرض جميع الأهداف.", + "remove": "أزل أغنية محددة من قائمة الانتظار.", + "resume": "استئناف التشغيل في قناتك الصوتية.", + "search": "اعرض نتائج البحث عن استعلام واختر واحدة لتشغيلها.\nيدعم جميع المزودين — استخدم بادئة مضمنة مثل `sp: أغنية` أو `-p dz`.", + "servers": "احصل على قائمة بالخوادم الموجود فيها البوت.", + "settings": "تغيير/عرض الإعدادات في الخادم الحالي.", + "shuffle": "أعد ترتيب قائمة الانتظار بشكل عشوائي.", + "skip": "تخطي الأغنية التي يتم تشغيلها حالياً.", + "stats": "عرض إحصائيات عن البوت مثل وقت التشغيل.", + "support": "خادم الدعم لـ Remix. لا تتردد في طلب المساعدة أو الإبلاغ عن أخطاء أو مجرد الدردشة :)", + "test": "يوضح عدد الأشخاص الموجودين في كل قناة صوتية.", + "thumbnail": "اطلب الصورة المصغرة للأغنية التي يتم تشغيلها حالياً.", + "volume": "عرض أو تغيير مستوى الصوت الحالي.", + "volumedefault": "عرض أو تعيين مستوى الصوت الافتراضي للخادم. (يتطلب إدارة الخادم للتعيين)" }, - "options" : { - "join" : { - "channel" : "حدد القناة الذي يدخل إليها البوت. هذا ضروري لدي قيود Revolt الحالية." + "options": { + "debug": { + "target": "الهدف الذي يجب فحصه." }, - "login" : { - "id" : "المعرف الذي استلمته عند تسجيل الدخول عند لوحة القيادة." + "eval": { + "expression": "تعبير جافاسكريبت للتنفيذ" }, - "loop" : { - "type" : "يحدد ما يكرر (قائمة الإنتظار كاملاً أم الأغنية الحالية)." + "filter": { + "name": "اسم الفلتر" }, - "play" : { - "query" : "رابط أو بحث علي يوتيوب أو رابط قائمة تشغيل أو رابط لأغنية Spotify أو SoundCloud أو YouTube Music." + "forceleave": { + "channelId": "القناة التي يجب مغادرتها." }, - "playnext" : { - "query" : "رابط أو بحث علي يوتيوب أو رابط قائمة تشغيل أو رابط لأغنية Spotify أو SoundCloud أو YouTube Music." + "join": { + "channel": "إشارة أو معرف أو اسم قناة صوتية للانضمام. الافتراضي: قناتك الحالية." }, - "remove" : { - "index" : "موضع الأغنية في قائمة الإنتظار. يمكنك عرض الأرقام التسلسلية بأمر 'list'" + "login": { + "id": "المعرف الذي حصلت عليه من تسجيل الدخول في لوحة التحكم." }, - "search" : { - "provider" : "مزود البحث (YouTube أو YouTube Music). الإفتراضي: YouTube Music", - "query" : "كلمات البحث." + "loop": { + "type": "يحدد ما يجب تبديل تكراره." }, - "settings" : { - "get" : { - "setting" : "جلب قيمة لإعداد ما." + "play": { + "query": "استعلام بحث أو رابط أو استعلام مع بادئة مزود مثل `sp: اسم الأغنية`.", + "provider": "مزود البحث. الافتراضي: YouTube Music. أو استخدم بادئة مضمنة: sp:, dz:, am:, yt:, sc: إلخ." + }, + "playnext": { + "query": "استعلام بحث أو رابط أو استعلام مع بادئة مزود مثل `sp: اسم الأغنية`.", + "provider": "مزود البحث. الافتراضي: YouTube Music." + }, + "radio": { + "station": "اسم المحطة، أو 'list' للتصفح، أو اتركه فارغاً للمحطة الافتراضية." + }, + "reload": { + "target": "اسم أمر/وحدة، أو: all | commands | src | audio" + }, + "remove": { + "index": "موضع الأغنية في قائمة الانتظار. يمكنك عرض الأرقام باستخدام أمر 'list'." + }, + "search": { + "provider": "مزود البحث. الافتراضي: YouTube Music.", + "query": "الاستعلام للبحث عنه، أو استعلام مع بادئة مزود مثل `sp: اسم الأغنية`." + }, + "settings": { + "get": { + "setting": "اعرض القيمة الحالية لإعداد." }, - "set" : { - "setting" : "اسم الإعداد الذي تود أن تعدله.", - "value" : "القيمة الجديدة." - } - }, - "volume" : { - "volume" : "حجم الصوت الجديد بالنسب المئوية (علي سبيل المثال `30` أو `100`). إذا كبرت حجم الصوت فوق 100% قد يكون هناك فقدان للجودة." - } - }, - "pagination" : { - "embed" : { - "sclosedContent" : "{{content}} الجلسة مغلقة - قلب الصفحات **لن يعمل** من هنا.", - "sclosedTitle" : "الجلسة مغلقة" - }, - "error" : { - "perms" : { - "messages" : "لا يمكنني إرسال رسائل في {{channel}}. يرجى الاتصال بمسؤول الخادم ومنحي إذن \"SendMessage\".", - "reactions" : "أحتاج إلى أذونات رد الفعل للعمل. الرجاء الاتصال بمسؤول الخادم لمعالجة هذا." - } - } - }, - "subcommands" : { - "settings" : { - "get" : "جلب قيمة إعداد معين أو إعدادات السيرفر.", - "set" : "تعديل قيمة إعداد معين." - } - }, - "voice" : { - "join" : { - "cancelled" : "الغاء!", - "error" : { - "dc" : "لا يبدو أننا في نفس القناة الصوتية.", - "invalid" : "قناة صوتية غير صالحة. يرجى المحاولة مرة أخرى والتحقق من الأحرف الكبيرة! (`x` للإلغاء)", - "perms" : "حدث خطأ ما. غير قادر على الانضمام إلى {{channel}}. هل لدي الإذن المطلوب؟" + "set": { + "setting": "اسم الإعداد الذي تريد تغييره.", + "value": "القيمة الجديدة." }, - "warning" : { - "nc" : "لا يبدو أنك متصل ب {{channel}}. هل نسيت الانضمام؟" + "reset": { + "setting": "الإعداد الذي تريد إعادة تعيينه." + }, + "help": { + "setting": "اتركه فارغاً لعرض جميع الإعدادات المتاحة." } + }, + "volume": { + "volume": "مستوى الصوت الجديد بالنسبة المئوية (مثلاً `30` أو `100`). قد يؤدي تجاوز 100% إلى فقدان الجودة." + }, + "volumedefault": { + "volume": "مستوى صوت جديد % (0-200) لحفظه كقيمة افتراضية للخادم. اتركه فارغاً لعرض القيمة الحالية." + } + }, + "pagination": { + "embed": { + "sclosedContent": "{{content}}\nالجلسة مغلقة — تغيير الصفحات **لن يعمل** من هنا.", + "sclosedTitle": "الجلسة مغلقة" + }, + "error": { + "perms": { + "messages": "لا أستطيع إرسال رسائل في {{channel}}. يرجى التواصل مع مسؤول الخادم ومنحي إذن \"SendMessage\".", + "reactions": "أحتاج إلى إذن التفاعلات للعمل. يرجى التواصل مع مسؤول الخادم لحل هذه المشكلة." + } + } + }, + "subcommands": { + "settings": { + "get": "اعرض قيمة إعداد محدد أو إعدادات الخادم.", + "set": "عيّن قيمة إعداد محدد.", + "reset": "أعد إعداد إلى قيمته الافتراضية.", + "help": "اعرض المساعدة لنظام الإعدادات، أو اشرح إعداداً محدداً." + } + }, + "voice": { + "join": { + "cancelled": "تم الإلغاء!", + "error": { + "dc": "يبدو أننا لسنا في نفس القناة الصوتية.", + "invalid": "قناة صوتية غير صالحة. يرجى المحاولة مرة أخرى والتحقق من الأحرف الكبيرة! (`x` للإلغاء)", + "perms": "حدث خطأ ما. لم أتمكن من الانضمام إلى {{channel}}. هل لديّ الأذونات المطلوبة؟" + }, + "warning": { + "nc": "يبدو أنك غير متصل بـ {{channel}}. هل نسيت الانضمام؟" + } + } + }, + "responses": { + "_common": { + "nothingPlaying": "❌ لا يوجد شيء يعمل حالياً!", + "noVoiceChannel": "⚠️ يرجى الانضمام إلى قناة صوتية أولاً.", + "noVoiceStrict": "⚠️ يجب عليك الانضمام إلى قناة صوتية لاستخدام هذا الأمر.", + "alreadyInChannel": "⚠️ أنا أعزف بالفعل في {{channels}}. انضم إلى تلك القناة أو استخدم `{{prefix}}play` لبدء الموسيقى في قناتك.", + "notInVoice": "أنا لست في قناة صوتية.", + "queueEmpty": "📭 قائمة الانتظار فارغة. استخدم `{{prefix}}play` لإضافة أغاني!", + "queueEnded": "🎵 قائمة الانتظار انتهت — لا يوجد شيء لتشغيله. أضف المزيد من الأغاني باستخدام `{{prefix}}play`!", + "notConnected": "يبدو أننا لسنا في نفس القناة الصوتية.", + "controlsExpired": "⌛ انتهت صلاحية عناصر التحكم", + "sessionEnded": "انتهت الجلسة", + "navigateHint": "💡 ⬅️ ➡️ تصفح", + "voiceSelectionPrompt": "يرجى اختيار أحد القنوات التالية بالنقر على التفاعلات أدناه", + "voiceSelectionHint": "أرسل رسالة بالقناة الصوتية! (ذكر/معرف/اسم)\nأرسل 'x' للإلغاء.", + "voiceSelectionTimedOut": "⏱️ انتهت مهلة اختيار القناة.", + "voiceConnectionLost": "❌ فقد الاتصال الصوتي. يرجى إعادة الانضمام.", + "couldNotGetStream": "❌ تعذر الحصول على رابط البث لـ **{{title}}** — يتم التخطي.", + "errorStreaming": "❌ خطأ في بث **{{title}}** — يتم التخطي.", + "successfullyLeft": "✅ تم المغادرة بنجاح", + "voiceSelectionInvalid": "قناة صوتية غير صالحة. حاول مرة أخرى أو اكتب `x`.", + "voiceChannelRequired": "❌ يرجى الانضمام إلى **قناة صوتية** أولاً قبل استخدام هذا الأمر!" + }, + "clear": { + "cleared": "🗑️ تم مسح قائمة الانتظار." + }, + "debug": { + "voiceTitle": "🔧 تصحيح الصوت" + }, + "eval": { + "resultTitle": "نتيجة التقييم", + "resultTitleError": "❌ نتيجة التقييم", + "resultTitleSuccess": "✅ نتيجة التقييم", + "typeLabel": "النوع:", + "timeLabel": "الوقت:", + "pageLabel": "صفحة {{page}}/{{total}}", + "navigateHint": "• ⬅️ ➡️ تصفح • ❌ حذف", + "deleteHint": "• ❌ حذف", + "controlsExpired": "⌛ انتهت صلاحية عناصر التحكم" + }, + "filter": { + "pickerTitle": "🎛️ أداة اختيار الفلاتر الصوتية", + "nothingPlaying": "❌ لا يوجد شيء يعمل حالياً.", + "nothingPlayingInline": "*لا يوجد شيء يعمل*", + "applyFailed": "❌ فشل تطبيق **{{filter}}`: `{{reason}}`\n\nتأكد من أن عقدة NodeLink لديك بها الفلاتر مفعّلة.", + "applied": "{{emoji}} **{{label}}** تم التطبيق!", + "removed": "{{emoji}} **{{label}}** تمت إزالته.", + "cleared": "🔇 تم مسح الفلاتر — تمت استعادة الصوت الأصلي.", + "pendingCleared": "تم مسح الفلتر. سيتم استخدام الصوت الأصلي في المقطع الصوتي القادم القابل للتشغيل.", + "pendingApplied": "تم حفظ {{label}}. سيتم تطبيقه في المقطع الصوتي القادم.", + "pendingRemoved": "تمت إزالة {{label}}. المقطع الصوتي القادم سيستخدم الفلاتر المحدّثة.", + "noFilterActive": "🔇 لا يوجد فلتر نشط.", + "filtersActive": "✅ فلاتر نشطة: **{{filters}}**.", + "reactToToggle": "💡 تفاعل مرة أخرى للتبديل، أو ❌ للإغلاق.", + "sessionTimedOut": "⌛ انتهت مهلة الجلسة.", + "pickerClosed": "👋 تم إغلاق أداة اختيار الفلاتر.", + "footer": "صفحة {{page}}/{{total}} • تفاعل مع رمز تعبيري للفلتر للتبديل", + "activeLabel": "**← نشط**", + "closeHint": "❌ إغلاق" + }, + "forceleave": { + "channelNotFound": "❌ القناة غير موجودة.", + "wrongServer": "❌ يجب تنفيذ هذا الأمر في نفس الخادم الذي توجد فيه القناة الصوتية.", + "playerNotFound": "❌ المشغّل غير موجود.", + "playerNotInit": "❌ المشغّل غير مهيأ." + }, + "invite": { + "title": "ادعُ Remix", + "description": "أضف Remix إلى خادمك مباشرة من [FluxerList]().\n\nانضم إلى مجتمعنا على [fluxer.gg/remix](https://fluxer.gg/remix) للحصول على الدعم والتحديثات والتعليقات المباشرة." + }, + "join": { + "channelNotFound": "لم أتمكن من العثور على القناة `{{channel}}`\nاستخدم أمر المساعدة لمعرفة المزيد. (`%help join`)", + "alreadyJoined": "منضم بالفعل إلى <#{{channel}}>.", + "audioNodeConnecting": "⚠️ عقدة الصوت لا تزال تتصل — يرجى المحاولة مرة أخرى بعد بضع ثوانٍ.", + "joining": "⏳ جارٍ الانضمام إلى القناة...", + "joined": "✅ تم الانضمام بنجاح إلى <#{{channel}}>", + "joinFailed": "❌ فشل الانضمام: {{error}}", + "noVoiceChannel": "❌ أنت لست في قناة صوتية. يرجى الانضمام إلى واحدة أولاً، أو حدد قناة: `{{prefix}}join <#قناة>`", + "voiceChannelNotFound": "❌ لم أتمكن من العثور على تلك القناة الصوتية. جرّب استخدام إشارة مثل `<#معرف_قناة>` أو اسم القناة الدقيق.", + "autoLeaveInactive": "غادرت القناة <#{{channel}}> بسبب عدم النشاط.", + "autoLeaveInactive247": "غادرت القناة <#{{channel}}> بسبب عدم النشاط.\nإذا كنت تريدني أن أبقى في الصوت، استخدم `{{prefix}}247 on/auto`" + }, + "leave": { + "noVoiceChannel": "⚠️ يرجى الانضمام إلى قناة صوتية أولاً.", + "notInVoice": "أنا لست في قناة صوتية.", + "joinChannel": "⚠️ يرجى الانضمام إلى {{channel}} لاستخدام هذا الأمر.", + "multipleChannels": "⚠️ أنا أعزف في قنوات متعددة! يرجى الانضمام إلى إحداها:\n{{channels}}", + "playerNotInit": "المشغّل غير مهيأ.", + "leftRejoin247": "✅ تم المغادرة بنجاح — سأعيد الانضمام إلى <#{{channel}}> خلال 5 ثوانٍ.\nلتعطيل وضع 24/7 بشكل دائم، استخدم `%247 off`.", + "left247On": "✅ تم المغادرة بنجاح.\nℹ️ وضع 24/7 **مفعّل** — لن يعود البوت تلقائياً. استخدم `%play` لإعادته، أو `%247 off` لتعطيله بالكامل." + }, + "list": { + "empty": "📭 قائمة الانتظار فارغة. استخدم `{{prefix}}play` لإضافة أغاني!", + "emptyInline": "_قائمة الانتظار فارغة._", + "nowPlaying": "🎵 **يعمل حالياً**", + "header": "📋 **{{count}} مقطع في قائمة الانتظار** • ⏱️ `{{time}}`", + "upNext": " ▶", + "queueTitle": "🎧 قائمة الانتظار" + }, + "login": { + "dashboardDisabled": "❌ لوحة التحكم غير مفعّلة في هذا البوت.", + "success": "✅ نجح تسجيل الدخول! يمكنك الآن المتابعة إلى صفحة الويب.", + "failed": "❌ فشل تسجيل الدخول! السبب: `{{error}}`. إذا كان هذا خطأ والمشكلة مستمرة، يرجى التواصل مع عضو فريق الدعم من خلال الخادم في وصفي." + }, + "loop": { + "invalidChoice": "'{{choice}}' غير صالح. استخدم `song` أو `queue`", + "songActivated": "🔂 تم تفعيل تكرار الأغنية", + "songDisabled": "➡️ تم تعطيل تكرار الأغنية", + "queueActivated": "🔁 تم تفعيل تكرار القائمة", + "queueDisabled": "➡️ تم تعطيل تكرار القائمة" + }, + "lyrics": { + "nothingPlaying": "❌ لا يوجد شيء يعمل حالياً.", + "searching": "البحث عن كلمات الأغنية لـ **{{title}}**...", + "noLyrics": "❌ لا تتوفر كلمات لأغنية **{{title}}**.\n\n💡 إضافة كلمات الأغاني في NodeLink قد لا تحتوي على هذا المقطع. جرّب أغنية شائعة!", + "error": "❌ خطأ: {{error}}", + "syncedBadge": " ⏱️ متزامن", + "nodeLinkFooter": "NodeLink • {{lines}} سطر", + "controlsExpired": "⌛ انتهت صلاحية عناصر التحكم • NodeLink • {{lines}} سطر", + "sessionClosed": "تم إغلاق الجلسة • NodeLink • {{lines}} سطر" + }, + "np": { + "loading": "⏳ جارٍ التحميل...", + "nothingPlaying": "لا يوجد شيء يعمل حالياً.", + "nowPlayingIn": "🔊 **يعمل حالياً في:** <#{{channel}}>", + "playing": "🎵 يعمل: **[{{title}}]({{url}})** ({{elapsed}}/{{duration}})", + "volume": "مستوى الصوت: {{volume}}%", + "queueLoop": "تكرار القائمة: **{{state}}**", + "songLoop": "تكرار الأغنية: **{{state}}**", + "streaming": "📻 بث مباشر **[{{title}}]({{url}})**", + "playingBy": "يعمل **[{{title}}]({{url}})** لـ [{{artist}}]({{artistUrl}})" + }, + "pause": { + "nothingPlaying": "❌ لا يوجد شيء يعمل حالياً!", + "alreadyPaused": "❌ متوقف بالفعل!", + "paused": "⏸️ تم الإيقاف المؤقت" + }, + "play": { + "searching": "🔍 جارٍ البحث...", + "loading": "جارٍ التحميل...", + "loadingFailed": "**فشل تحميل هذا المقطع.**", + "added": "تمت إضافة [{{title}}]({{url}}) إلى قائمة الانتظار بنجاح.", + "addedPlaylist": "تمت إضافة **{{count}}** أغنية إلى قائمة الانتظار بنجاح.", + "nowPlaying": "🎵 يعمل الآن [{{title}}]({{url}}) لـ {{author}} في <#{{channel}}>", + "noResults": "**لم يتم العثور على نتائج لـ '{{query}}'.**", + "searchFailed": "**فشل البحث. يرجى المحاولة مرة أخرى.**", + "noData": "لم يتم تحميل المقطع — لم يتم إرجاع بيانات.", + "loadFailed": "فشل تحميل المقطع.", + "unexpectedResult": "نتيجة غير متوقعة من محمّل المقاطع.", + "loadError": "حدث خطأ أثناء تحميل المقطع.", + "searchingProvider": "جارٍ البحث في {{provider}}..." + }, + "playnext": { + "searching": "🔍 جارٍ البحث..." + }, + "player": { + "title": "🎧 عناصر التحكم بالمشغّل", + "inactiveTitle": "🎧 المشغّل (غير نشط)", + "nowPlayingLabel": "يعمل حالياً", + "volumeLabel": "🔊 مستوى الصوت: `{{volume}}%`", + "queueLabel": "📋 قائمة الانتظار: `{{count}}` مقطع", + "loopOff": "التكرار: ❌ معطّل", + "loopSong": "التكرار: 🎂 الأغنية", + "loopQueue": "التكرار: 🔁 القائمة", + "filterOff": "الفلتر: 🔇 معطّل", + "filterActive": "الفلتر: {{emoji}} **{{label}}**", + "filterStacked": "الفلتر: 🔥 **{{label}}**", + "reactHint": "💡 *تفاعل للتحكم بالتشغيل*", + "sessionExpires": "⏱️ تنتهي الجلسة بعد {{minutes}} دقيقة من عدم النشاط", + "requestedBy": "طلب بواسطة {{username}} • عناصر التحكم نشطة", + "controlsDisabled": "⌛ عناصر التحكم معطّلة (تفاعل لإعادة التفعيل)", + "sessionClosed": "تم إغلاق الجلسة{{reason}}", + "closedByUser": "👋 تم إغلاق عناصر التحكم", + "startedPlaying": "▶️ بدأ التشغيل", + "resumed": "▶️ تم الاستئناف", + "pausedState": "⏸️ متوقف مؤقتاً", + "stopped": "⏹️ متوقف", + "stoppedCleared": "⏹️ تم الإيقاف والمسح", + "shuffled": "🔀 تم خلط القائمة", + "added": "➕ تمت الإضافة: {{title}}", + "volumeChanged": "🔊 مستوى الصوت: {{volume}}%", + "filtersCleared": "🔇 تم مسح الفلاتر", + "filterApplied": "{{emoji}} الفلتر: **{{label}}** تم تطبيقه", + "filterStackedApplied": "🔥 الفلاتر: **{{label}}** تم تطبيقها", + "songLoopEnabled": "🔂 تم تفعيل تكرار الأغنية", + "queueLoopEnabled": "🔁 تم تفعيل تكرار القائمة", + "loopDisabled": "❌ تم تعطيل التكرار", + "alreadyPlaying": "▶️ يعمل بالفعل", + "startingPlayback": "▶️ بدء التشغيل", + "previousNotImplemented": "⏮️ المقطع السابق (غير متوفر)", + "openingFilterPicker": "🎛️ جارٍ فتح أداة اختيار الفلاتر — تحقق من قائمة الفلاتر أعلاه أو استخدم أمر `filter`.", + "filterError": "⚠️ خطأ في الفلتر: {{error}}", + "fetchingLyrics": "📜 جارٍ جلب الكلمات...", + "noLyricsFound": "❌ لم يتم العثور على كلمات في NodeLink", + "lyricsDisplayed": "تم عرض الكلمات ({{lines}} سطر، {{pages}} صفحة)", + "lyricsError": "⚠️ خطأ في الكلمات: {{error}}" + }, + "radio": { + "noStations": "❌ لا توجد محطات إذاعية مُعدّة.", + "stationsTitle": "📻 **المحطات الإذاعية (صفحة {{page}}/{{total}})**", + "timedOut": "📻 انتهت مهلة اختيار الإذاعة.", + "cancelled": "❌ تم إلغاء اختيار الإذاعة.", + "unknownStation": "❌ محطة غير معروفة `{{station}}`. المتاحة: {{stations}}\n\nاستخدم `%radio list` للتصفح.", + "nowPlaying": "📻 بث مباشر _{{title}}_ لـ [{{author}}]({{url}}) في <#{{channel}}>", + "skipHint": "_استخدم `%skip` لإيقاف الإذاعة، أو `%radio list` لتبديل المحطات._", + "prevNext": "⬅️ السابق ➡️ التالي ❌ إلغاء" + }, + "reload": { + "indexNoReload": "❌ لا يمكن إعادة تحميل `index.mjs` — قم بإعادة تشغيل كاملة.", + "unknownCommand": "❌ أمر غير معروف `{{name}}`", + "noFileTracked": "❌ لا يوجد ملف مُتتبع لـ `{{name}}`", + "noBuilder": "❌ لم يتم إرجاع منشئ من `{{name}}`", + "reloaded": "✅ `{{name}}`", + "fileNotFound": "❌ الملف غير موجود: `{{label}}`", + "moduleError": "❌ `{{label}}`: {{error}}", + "unknownTarget": "❌ هدف غير معروف `{{target}}`.\nشغّل `%reload` بدون وسائط لعرض جميع الأهداف القابلة لإعادة التحميل.", + "availableTargetsTitle": "🔄 إعادة التحميل — الأهداف المتاحة", + "runHint": "شغّل `%reload <هدف>` أو استخدم كلمة دفعية:", + "batchKeywords": "`all` · `commands` · `src` · `audio`", + "resultsHeader": "✅ **{{ok}}** تمت إعادة التحميل · ❌ **{{bad}}** فشل" + }, + "remove": { + "indexOutOfBounds": "الفهرس خارج النطاق", + "removed": "تمت إزالة **{{title}}** من قائمة الانتظار بنجاح." + }, + "resume": { + "nothingPlaying": "❌ لا يوجد شيء يعمل حالياً!", + "notPaused": "❌ غير متوقف!", + "resumed": "▶️ تم الاستئناف" + }, + "search": { + "loadingResults": "⏳ جارٍ تحميل النتائج...", + "searching": "جارٍ البحث في {{provider}}...", + "noResults": "❌ لم يتم العثور على نتائج.", + "resultsTitle": "{{provider}} — نتائج البحث", + "reactHint": "تفاعل مع رقم لإضافة إلى قائمة الانتظار • ❌ للإلغاء • مهلة 30 ثانية", + "cancelled": "❌ تم الإلغاء.", + "added": "✅ تمت إضافة [{{title}}]({{url}}) إلى قائمة الانتظار!", + "timedOut": "⏰ انتهت مهلة البحث.", + "sessionClosed": "تم إغلاق الجلسة" + }, + "servers": { + "noServers": "_لم يتم العثور على خوادم._", + "title": "🌐 الخوادم ({{count}})", + "pageTitle": "🌐 الخوادم ({{count}}) - صفحة {{page}}/{{total}}", + "listComplete": "اكتملت القائمة" + }, + "settings": { + "unknownSetting": "❌ إعداد غير معروف `{{setting}}`.", + "availableSettings": "المتاحة: `{{settings}}`", + "setSuccess": "✅ **{{label}}** تم تعيينه إلى {{value}}", + "resetSuccess": "🔄 `{{setting}}` تم إعادة تعيينه إلى القيمة الافتراضية: {{value}}", + "mustBeBool": "❌ `{{setting}}` يجب أن يكون قيمة منطقية.\nالمقبولة: `true`، `false`، `on`، `off`، `enable`، `disable`", + "volumeRange": "❌ يجب أن يكون مستوى الصوت رقماً بين **1** و **200**.", + "invalidLocale": "❌ `{{locale}}` ليست لغة مدعومة.\nاللغات المتاحة: {{locales}}", + "prefixLength": "❌ يجب أن يكون البادئة بين **1** و **5** أحرف.", + "prefixSpaces": "❌ لا يمكن أن تحتوي البادئة على مسافات.", + "invalid247": "❌ قيمة غير صالحة `{{value}}` لوضع 24/7.\n\n**الخيارات الصالحة:**\n• `off` — البوت يغادر بعد عدم النشاط\n• `on` — البوت يبقى نشطاً في قائمة القنوات المحفوظة\n• `auto` — البوت يبقى نشطاً ويحافظ على قائمة القنوات المحفوظة جاهزة للاسترداد", + "noServer": "❌ لم أتمكن من تحديد خادمك.", + "noVoice247": "❌ أنت لست في قناة صوتية. انضم إلى واحدة أولاً، ثم شغّل `%247 {{mode}}` مرة أخرى.", + "247Disabled": "✅ وضع 24/7 **معطّل** لـ <#{{channel}}. غادر البوت.", + "247DisabledAll": "✅ وضع 24/7 **معطّل** لجميع القنوات في هذا الخادم.", + "247Set": "✅ تم تعيين وضع 24/7 إلى **{{mode}}** لـ <#{{channel}}>.\n{{summary}}", + "247Joined": "✅ تم تعيين وضع 24/7 إلى **{{mode}}** لـ <#{{channel}}>. انضم البوت!\n{{summary}}", + "247JoinFailed": "✅ تم حفظ وضع 24/7 لـ <#{{channel}}>، لكن فشل الانضمام: {{error}}\n{{summary}}", + "247Status": "وضع 24/7: {{status}}", + "helpTitle": "⚙️ مساعدة الإعدادات", + "helpAvailable": "**الإعدادات المتاحة:** {{settings}}", + "helpSubcommands": "**الأوامر الفرعية:**\n• `{{prefix}}settings get` — عرض جميع القيم الحالية\n• `{{prefix}}settings get <إعداد>` — عرض إعداد واحد\n• `{{prefix}}settings set <إعداد> <قيمة>` — تغيير إعداد\n• `{{prefix}}settings reset <إعداد>` — استعادة القيمة الافتراضية\n• `{{prefix}}settings help <إعداد>` — وصف إعداد", + "helpShortcuts": "**الاختصارات:** `{{prefix}}prefix`، `{{prefix}}247`", + "serverTitle": "⚙️ إعدادات الخادم", + "serverHeader": "الخادم: **{{name}}**", + "shortcutsHint": "الاختصارات: `{{prefix}}247`، `{{prefix}}prefix`\nاستخدم `{{prefix}}settings help <إعداد>` لمعرفة المزيد عن أي إعداد." + }, + "shuffle": { + "emptyQueue": "لا يوجد شيء لخلطه في قائمة الانتظار.", + "shuffled": "🔀 تم خلط قائمة الانتظار" + }, + "skip": { + "nothingPlaying": "❌ لا يوجد شيء يعمل حالياً!", + "skipped": "⏭️ تم التخطي", + "skippedTrack": "⏭️ تم تخطي [{{title}}]({{url}})", + "skippedToPosition": "⏭️ تم التخطي إلى الموضع {{position}}" + }, + "stats": { + "title": "بوت Remix الموسيقي", + "servers": "📂 **الخوادم**", + "users": "👥 **المستخدمون**", + "players": "🎧 **المشغّلات**", + "ping": "🏓 **البينغ**", + "uptime": "⏱️ **وقت التشغيل**", + "build": "🔧 **الإصدار**", + "lastRestart": "🪛 **آخر إعادة تشغيل**", + "supportKofi": "☕ [ادعمنا على Ko-fi](https://ko-fi.com/remixbot)", + "community": "💬 [المجتمع](https://fluxer.gg/Remix)" + }, + "support": { + "title": "💬 الدعم", + "description": "لأي شيء يتعلق بـ Remix، توجّه إلى خادمنا:\n[Remix HQ](https://fluxer.gg/remix)\n\nإذا كنت لا تريد الانضمام، لا تتردد في التواصل مع أعضاء الفريق المدرجين في الخادم." + }, + "test": { + "notInServer": "❌ يجب استخدامه في خادم.", + "noOneInVoice": "لا يوجد أحد في الصوت.", + "title": "🎙️ أعضاء القناة الصوتية", + "channelEntry": "🔊 **{{name}}**: {{count}} عضو" + }, + "thumbnail": { + "nothingPlaying": "لا يوجد شيء يعمل حالياً.", + "noThumbnail": "لا تتوفر صورة مصغرة.", + "thumbnail": "الصورة المصغرة لـ [{{title}}]({{url}}):" + }, + "volume": { + "current": "🔊 مستوى الصوت الحالي: `{{volume}}%`", + "outOfRange": "❌ يجب أن يكون مستوى الصوت بين `0` و `{{max}}%`.", + "changed": "🔊 تم تغيير مستوى الصوت إلى `{{volume}}%` لهذه الجلسة.", + "setPending": "تم تعيين مستوى الصوت إلى `{{volume}}%` — سيتم تطبيقه عند الاتصال." + }, + "volumedefault": { + "title": "🔊 إعدادات الصوت", + "serverDefault": "• الافتراضي للخادم: `{{volume}}%`", + "currentVolume": "• مستوى صوت المشغّل الحالي: `{{volume}}%`", + "changeHint": "لتغيير الافتراضي، استخدم: `{{prefix}}volumedefault <0-{{max}}>`", + "noPermission": "⚠️ تحتاج إذن **إدارة الخادم** لتغيير الافتراضي.", + "noPermissionSet": "❌ تحتاج إذن **إدارة الخادم** لتعيين مستوى الصوت الافتراضي للخادم.", + "outOfRange": "❌ يجب أن يكون مستوى الصوت بين `0` و `{{max}}%`.", + "saved": "🔊 تم حفظ مستوى الصوت الافتراضي للخادم كـ `{{volume}}%`." } } -} \ No newline at end of file +} diff --git a/storage/locales/bot/ckb.json b/storage/locales/bot/ckb.json index 005b347..4991535 100644 --- a/storage/locales/bot/ckb.json +++ b/storage/locales/bot/ckb.json @@ -1,118 +1,487 @@ { - "cmdBuilder" : { - "requirement" : { - "permission" : "تۆ مۆڵەتی پێویستت نییە بۆ جێبەجێکردنی ئەم فەرمانە!" + "cmdBuilder": { + "requirement": { + "permission": "تۆ مۆڵەتی پێویستت نییە بۆ جێبەجێکردنی ئەم فەرمانە!" }, - "subcommand" : { - "invalid" : "فەرمانی لاوەکی نادروست. یەکێک لەم هەڵبژاردنانەی خوارەوە تاقی بکەرەوە: `$previousCmd <$cmdlist>`" + "subcommand": { + "invalid": "فەرمانی لاوەکی نادروست. یەکێک لەم هەڵبژاردانەی خوارەوە تاقی بکەرەوە: `$previousCmd <$cmdlist>`" } }, - "cmdHandler" : { - "command" : { - "invalid" : "فەرمانی نەناسراو {{command}}!", - "suggestion" : "مەبەستت {{command}} بوو؟ (بۆ جێبەجێکردنی ئەمە بنووسە {{acceptCommand}})" + "cmdHandler": { + "command": { + "invalid": "فەرمانی نەناسراو {{command}}!", + "suggestion": "مەبەستت {{command}} بوو؟ (بۆ جێبەجێکردنی ئەمە بنووسە {{acceptCommand}})" }, - "help" : { - "pageStructure" : "فەرمانە بەردەستەکان (لاپەڕە $currPage/$maxPage): \n\n$content\n\n`$prefix$helpCmd <فەرمان>` بنووسە بۆ زانینی زیاتر. دەتوانیت فەرمانی لاوەکیش لەخۆبگرێت.\nنموونە: `$prefix$helpCmd settings get`\n\nتێبینی: تیرەکانی خوارەوەی ئەم نامەیە بەکاربهێنە بۆ گۆڕینی لاپەڕەکان، یان ژمارەی لاپەڕەی پێویست دیاریبکە بە `$prefix$helpCmd <ژمارەی لاپەڕە>`" + "help": { + "pageStructure": "فەرمانە بەردەستەکان (لاپەڕە $currPage/$maxPage): \n\n$content\n\nبۆ زانینی زیاتر `$prefix$helpCmd <فەرمان>` بنووسە. دەتوانیت فەرمانی لاوەکیش لەخوابگرێت.\nنموونە: `$prefix$helpCmd settings get`\n\nتێبینی: تیرەکانی خوارەوەی ئەم نامەیە بەکاربهێنە بۆ گۆڕینی لاپەڕەکان، یان ژمارەی لاپەڕەی پێویست دیاریبکە بە `$prefix$helpCmd <ژمارەی لاپەڕە>`", + "unknownCommand": "❌ فەرمانی نەناسراو `{{command}}`. بۆ گەڕان `{{prefix}}help` بەکاربهێنە." }, - "invalidFlag" : "ئاڵای نادروست `$invalidFlag`. لەگەڵ هیچ هەڵبژاردنێکی ئەم فەرمانە نایگونجێت.\n`$previousCmd $invalidFlag`", - "page" : { - "invalid" : "{{number}} ژمارەی لاپەڕەیەکی دروست نییە!" + "invalidFlag": "ئاڵای نادروست `$invalidFlag`. لەگەڵ هیچ هەڵبژاردنێکی ئەم فەرمانە نایگونجێت.\n`$previousCmd $invalidFlag`", + "page": { + "invalid": "{{number}} ژمارەی لاپەڕەیەکی دروست نییە!" }, - "permissions" : { - "message" : "تکایە مۆڵەتی {{permission}} م پێ بدە لە {{channel}} یان پەیوەندی بە بەڕێوەبەری سێرڤەرەوە بکە. من بەبێ ئەمە ناتوانم نەشتەرگەری بکەم." + "permissions": { + "message": "تکایە مۆڵەتی {{permission}}م پێ بدە لە {{channel}} یان پەیوەندی بە بەڕێوەبەری سێرڤەرەوە بکە. من بەبێ ئەمە ناتوانم کار بکەم." } }, - "commands" : { - "clear" : "هەموو گۆرانییەکان لە ڕیزەکە بسڕەوە.", - "join" : "بۆتەکە بکە بچێتە کەناڵێکی دەنگی دیاریکراو.", - "leave" : "وا لە بۆتەکە بکە کەناڵی دەنگی ئێستات بەجێبهێڵێت", - "list" : "گۆرانییەکانی ڕیزەکەی کەناڵی دەنگی ئێستات لیست بکە.", - "login" : "چوونەژوورەوەی ئەکاونتەکەت لە ماڵپەڕەکەدا پشتڕاست بکەرەوە", - "loop" : "گەڕانەوەی ڕیزە/گۆرانییەکە کوز بکەرەوە.", - "lyrics" : "دەقی گۆرانییەکەی ئێستا بهێنەوە. تکایە تێبینی بکە کە دەقەکە لەوانەیە جیاواز بێت لە دەقی ڕاستەقینەکە، چونکە Genius هەمیشە گۆرانییەکەی دروست نادۆزێتەوە.", - "np" : "ناو و بەستەری گۆرانییەکەی ئێستا داوا بکە.", - "pause" : "وەستاندنی پەخشکردنەکە لە کەناڵی دەنگیدا", - "ping" : "پێشگرەکەی من لەم سێرڤەرەدا بریتییە لە: {{prefix}}\n\n{{helpCmd}} بەکاربهێنە بۆ دەستپێکردن!", - "play" : "ڤیدیۆیەکی یوتیوب پەخش بکە بە url/پرسیار یان پلەی لیست بە url. خزمەتگوزارییە تریش پشتگیری دەکرێن.\nبە شێوەیەکی بنەڕەتی گەڕان لەسەر `Youtube Music` دەکرێت.\nئەگەر دەتەوێت لەسەر `YouTube` بگەڕێیت دەبێت ئەمەش بە ئاشکرا دیاری بکەیت بە `-u yt`.", - "player" : "کۆنتڕۆڵی پەخشکەری ئیموجی بۆ کەناڵی دەنگیت دروست بکە", - "playnext" : "وەکوو %play. ئەنجامەکە لە سەرەوەی ڕیزەکە زیاد دەکرێت.", - "remove" : "گۆرانییەکێکی دیاریکراو لە ڕیزەکە دەربهێنە.", - "resume" : "بەردەوامکردنی پەخشکردنەکە لە کەناڵی دەنگیدا", - "search" : "ئەنجامی گەڕان بۆ پرسیارێکی دیاریکراو نیشان بدە", - "settings" : "ڕێکخستنەکان لە سێرڤەری ئێستادا بگۆڕە/بهێنەوە.", - "shuffle" : "ڕیزەکە بە شێوازێکی هەڕەمەکی دووبارە ڕیز بکەرەوە.", - "skip" : "گۆرانییەکەی ئێستا بتێپەڕێ.", - "stats" : "ئامارەکانی بۆت نیشان بدە وەکوو کاتی فعال.", - "support" : "سێرڤەری پشتگیری Remix. بە ئازادی داوای یارمەتی بکە، هەڵەکان ڕاپۆرت بکە یان تەنها چاوپێکەوتن بکە :)", - "thumbnail" : "وێنەی بچووکی گۆرانییەکەی ئێستا داوا بکە.", - "volume" : "دەنگی ئێستا بگۆڕە." + "commands": { + "clear": "هەموو گۆرانییەکان لە ڕیزبەندییەکە بسڕەوە.", + "debug": "فەرمانێکی دیباگ بۆ مەبەستی جۆراوجۆر.", + "eval": "هەڵسەنگاندنی کۆدی جاڤاسکریپت (تەنها بۆ خاوەن).", + "filter": "فلتەر Pikéri تەواوکەر بکەرەوە — بە ئیمۆجییەک واڕۆژێنەرەوە بۆ جێبەجێکردنی کاریگەریی دەنگی.", + "forceleave": "بکە Remix لە کەناڵێک دەربچێت ئەگەر تۆ تێیدا نەبیت.", + "invite": "بەستەری بانگکردنی Remix و سێرڤەری پشتگیری وەربگرە.", + "join": "بۆتەکە بکە بچێتە کەناڵی دەنگی خۆت، یان یەکێک دیاریبکە.", + "leave": "بۆتەکە بکە کەناڵی دەنگی ئێستات بەجێبهێڵێت.", + "list": "لیستی گۆرانییەکانی ڕیزبەندیی کەناڵی دەنگی ئێستات نیشان بدە.", + "login": "پشتڕاستکردنەوەی چوونەژوورەوەی ئەکاونتەکەت لە ماڵپەڕەکە.", + "loop": "کردنەوە/داخستنی دووبارەکردنەوەی ڕیزبەندی/گۆرانی.", + "lyrics": "دەقی گۆرانیی هاوئاهەنگ لە NodeLink نیشان بدە.", + "np": "ناو و بەستەری گۆرانیی ئێستا داوا بکە.", + "pause": "پەخشکردنەکە لە کەناڵی دەنگیت وەستێنە.", + "play": "گۆرانییەک یان لیستی پەخش بەستەرێکەوە یان بە پرسیارێکی گەڕان پەخش بکە.\nپشتگیری YouTube، Spotify، SoundCloud، Deezer، Apple Music، Tidal و زیاتر دەکات.\nگەڕانی بنەڕەتی: YouTube Music. `-p ` یان پێشگر بەکاربهێنە وەک `sp: blinding lights`.", + "player": "پانێلی کۆنتڕۆڵی پەخشکەری تەواوکەری هاوئاهەنگ دروست بکە.", + "playnext": "وەک %play بەڵام ئەنجامەکە لە سەرەوەی ڕیزبەندییەکە زیاد دەکرێت.", + "radio": "ستەیشنی ڕادیۆ پەخش بکە. `%radio list` بەکاربهێنە بۆ بینینی هەموو ستەیشنەکان.", + "reload": "فەرمانەکان، یان مۆدیولەکانی src، یان مۆدیولەکانی audio بارکردنەوە بکە. بەتاڵی بهێڵە بۆ بینینی هەموو ئامانجەکان.", + "remove": "گۆرانییەکی دیاریکراو لە ڕیزبەندییەکە دەربهێنە.", + "resume": "پەخشکردنەکە لە کەناڵی دەنگیت بەردەوامبکە.", + "search": "ئەنجامی گەڕان بۆ پرسیارێک نیشان بدە و یەکێکیان هەڵبژێرە بۆ پەخش.\nهەموو دابینکەران پشتگیری دەکرێن — پێشگر بەکاربهێنە وەک `sp: گۆرانی` یان `-p dz`.", + "servers": "لیستی سێرڤەرەکان کە بۆتەکەی تێدایە وەربگرە.", + "settings": "ڕێکخستنەکان لە سێرڤەری ئێستادا بگۆڕە/وەربگرە.", + "shuffle": "ڕیزبەندییەکە بە شێوەیەکی هەڕەمەکی دووبارە ڕیز بکەرەوە.", + "skip": "گۆرانیی ئێستا بتێپەڕێ.", + "stats": "ئامارەکانی بۆت وەک کاتی چالاک نیشان بدە.", + "support": "سێرڤەری پشتگیری بۆ Remix. بە ئازادی داوای یارمەتی بکە، هەڵە ڕاپۆرت بکە یان تەنها قسە بکە :)", + "test": "نیشاندانی ژمارەی خەڵک لە هەر کەناڵێکی دەنگیدا.", + "thumbnail": "وێنەی بچووکی گۆرانیی ئێستا داوا بکە.", + "volume": "ئاستی دەنگی ئێستا ببینە یان بگۆڕە.", + "volumedefault": "ئاستی دەنگی بنەڕەتی سێرڤەر ببینە یان دابنێ. (پێویستی بە بەڕێوەبردنی سێرڤەر هەیە بۆ دامەزراندن)" }, - "options" : { - "join" : { - "channel" : "کەناڵێک دیاری بکە کە بۆت پێیدا بچێت. ئەمە پێویستە بەهۆی سنووردارییەکانی (ئێستای) Revolt." + "options": { + "debug": { + "target": "ئامانجەکە کە پێویستە لێی بگەڕێت." }, - "login" : { - "id" : "ناسنامەکەی کە لە کاتی چوونەژوورەوە لە داشبۆردەکەدا وەرت گرتووە." + "eval": { + "expression": "دەربڕینی جاڤاسکریپت بۆ هەڵسەنگاندن" }, - "loop" : { - "type" : "دیاریدەکات کام loop دەبێت کوز بکرێتەوە." + "filter": { + "name": "ناوی فلتەر" }, - "play" : { - "query" : "پرسیار/url ی یوتیوب، url ی پلەی لیست، یان بەستەرێک بۆ گۆرانییەکی Spotify، SoundCloud، یان YouTube Music." + "forceleave": { + "channelId": "کەناڵەکە کە پێویستە لێی دەربچێت." }, - "playnext" : { - "query" : "پرسیار/url ی یوتیوب، url ی پلەی لیست، یان بەستەرێک بۆ گۆرانییەکی Spotify، SoundCloud، یان YouTube Music." + "join": { + "channel": "مەنتشن، ID، یان ناوی کەناڵێکی دەنگی بۆ پەیوەستبوون. بنەڕەتی: کەناڵی ئێستای تۆ." }, - "remove" : { - "index" : "شوێنی گۆرانییەکە لە ڕیزەکەدا. دەتوانیت بە فرمانی 'list' سەیری پێوەرەکان بکەیت" + "login": { + "id": "IDیەکەی لە کاتی چوونەژوورەوە لە داشبۆردەکە وەرگرتووە." }, - "search" : { - "provider" : "دابینکەری ئەنجامی گەڕان. (YouTube یان YouTube Music)", - "query" : "ئەو پرسیارەی کە پێویستە بەدوایدا بگەڕێیت." + "loop": { + "type": "دیاری دەکات کام لووپ بکرێتەوە." }, - "settings" : { - "get" : { - "setting" : "بەهای ئێستای ڕێکخستنێک بەدەست بهێنە." + "play": { + "query": "پرسیارێکی گەڕان، URL، یان پرسیارێک لەگەڵ پێشگری دابینکەر وەک `sp: ناوی گۆرانی`.", + "provider": "دابینکەری گەڕان. بنەڕەتی: YouTube Music. یان پێشگر بەکاربهێنە: sp:, dz:, am:, yt:, sc: هتد." + }, + "playnext": { + "query": "پرسیارێکی گەڕان، URL، یان پرسیارێک لەگەڵ پێشگری دابینکەر وەک `sp: ناوی گۆرانی`.", + "provider": "دابینکەری گەڕان. بنەڕەتی: YouTube Music." + }, + "radio": { + "station": "ناوی ستەیشن، 'list' بۆ بینین، یان بەتاڵی بهێڵە بۆ ستەیشنی بنەڕەتی." + }, + "reload": { + "target": "ناوی فەرمان/مۆدیول، یان: all | commands | src | audio" + }, + "remove": { + "index": "شوێنی گۆرانییەکە لە ڕیزبەندییەکەدا. دەتوانیت ئیندێکسەکان بە فەرمانی 'list' ببینیت." + }, + "search": { + "provider": "دابینکەری گەڕان. بنەڕەتی: YouTube Music.", + "query": "پرسیارەکەی بۆی دەگەڕێیت، یان پرسیارێک لەگەڵ پێشگری دابینکەر وەک `sp: ناوی گۆرانی`." + }, + "settings": { + "get": { + "setting": "بەهای ئێستای ڕێکخستنێک بەدەستبهێنە." }, - "set" : { - "setting" : "ناوی ئەو ڕێکخستنەی کە دەتەوێت ڕێکی بخەیت.", - "value" : "بەها نوێیەکە." - } - }, - "volume" : { - "volume" : "قەبارەی نوێ بە ڕێژەی سەدی (بۆ نموونە `30` یان `100`). ئەگەر بچیتە سەرووی 100% لەوانەیە لەدەستدانی کوالیتی هەبێت." - } - }, - "pagination" : { - "embed" : { - "sclosedContent" : "{{content}}\nدانیشتنەکە داخراوە - گۆڕینی لاپەڕەکان **کارناکات** لێرەوە.", - "sclosedTitle" : "دانیشتن داخرا" - }, - "error" : { - "perms" : { - "messages" : "من ناتوانم نامە بنێرم لە {{channel}}. تکایە پەیوەندی بە بەڕێوەبەری سێرڤەرێکەوە بکەن و مۆڵەتی \"SendMessage\"م پێ بدەن.", - "reactions" : "بۆ کارکردن پێویستم بە مۆڵەتی کاردانەوە هەیە. تکایە پەیوەندی بە بەڕێوەبەری سێرڤەرێکەوە بکە بۆ چارەسەرکردنی ئەمە." - } - } - }, - "subcommands" : { - "settings" : { - "get" : "بەهای ڕێکخستنێکی دیاریکراو یان ڕێکخستنەکانی سێرڤەرەکە بەدەستبهێنە.", - "set" : "بەهای ڕێکخستنێکی دیاریکراو دابنێ." - } - }, - "voice" : { - "join" : { - "cancelled" : "هەڵوەشایەوە!", - "error" : { - "dc" : "پێناچێت لە یەک کەناڵی دەنگیدا بین.", - "invalid" : "کەناڵی دەنگی نادروست. تکایە دووبارە هەوڵبدەرەوە و پیتی گەورە بزانە! (`x` بۆ هەڵوەشاندنەوە)", - "perms" : "هەندێ شت بە هەڵە ڕۆیشت. ناتوانرێت بەشداری {{channel}} بکەیت. ئایا مۆڵەتی پێویستم هەیە؟" + "set": { + "setting": "ناوی ڕێکخستنەکەی کە دەتەوێت بگۆڕیت.", + "value": "بەهای نوێ." }, - "warning" : { - "nc" : "پێناچێت تۆ پەیوەندیت بە {{channel}}ەوە هەبێت. لەبیرت چوو بەشداری بکەیت؟" + "reset": { + "setting": "ڕێکخستنەکەی کە دەتەوێت بگەڕێنیتەوە سەر بنەڕەتی." + }, + "help": { + "setting": "بەتاڵی بهێڵە بۆ بینینی هەموو ڕێکخستنە بەردەستەکان." } + }, + "volume": { + "volume": "ئاستی دەنگی نوێ بە ڕێژەی سەدی (بۆ نموونە `30` یان `100`). گەر لە 100% تێپەڕیت لەوانەیە کوالیتی دەستبکەوێت." + }, + "volumedefault": { + "volume": "ئاستی دەنگی نوێ % (0-200) بۆ پاشەکەوتکردن وەک بنەڕەتی سێرڤەر. بەتاڵی بهێڵە بۆ بینینی ئێستا." + } + }, + "pagination": { + "embed": { + "sclosedContent": "{{content}}\nدانیشتن داخراوە — گۆڕینی لاپەڕەکان **کارناکات** لێرەوە.", + "sclosedTitle": "دانیشتن داخرا" + }, + "error": { + "perms": { + "messages": "من ناتوانم نامە بنێرم لە {{channel}}. تکایە پەیوەندی بە بەڕێوەبەری سێرڤەرەوە بکە و مۆڵەتی \"SendMessage\"م پێ بدە.", + "reactions": "بۆ کارکردن پێویستم بە مۆڵەتی کاردانەوەیە. تکایە پەیوەندی بە بەڕێوەبەری سێرڤەرەوە بکە بۆ چارەسەرکردنی ئەمە." + } + } + }, + "subcommands": { + "settings": { + "get": "بەهای ڕێکخستنێکی دیاریکراو یان ڕێکخستنەکانی سێرڤەرەکە بەدەستبهێنە.", + "set": "بەهای ڕێکخستنێکی دیاریکراو دابنێ.", + "reset": "ڕێکخستنێک بگەڕێنەرەوە بۆ بەهای بنەڕەتی.", + "help": "یارمەتی سیستەمی ڕێکخستنەکان نیشان بدە، یان ڕێکخستنێکی دیاریکراو ڕوونبکەرەوە." + } + }, + "voice": { + "join": { + "cancelled": "هەڵوەشایەوە!", + "error": { + "dc": "پێناچێت لە یەک کەناڵی دەنگیدا بین.", + "invalid": "کەناڵی دەنگی نادروست. تکایە دووبارە هەوڵبدەرەوە و پیتی گەورە بزانە! (`x` بۆ هەڵوەشاندنەوە)", + "perms": "هەندێ شت هەڵە ڕۆیشت. ناتوانرێت بەشداری {{channel}} بکرێت. ئایا مۆڵەتی پێویستم هەیە؟" + }, + "warning": { + "nc": "پێناچێت پەیوەندیت بە {{channel}}ەوە هەبێت. لەبیرت چوو بەشداری بکەیت؟" + } + } + }, + "responses": { + "_common": { + "nothingPlaying": "❌ هیچ شتێک پەخش ناکرێت لە ئێستادا!", + "noVoiceChannel": "⚠️ تکایە سەرەتا بەشداری کەناڵێکی دەنگی بکە.", + "noVoiceStrict": "⚠️ پێویستە سەرەتا بەشداری کەناڵێکی دەنگی بکەیت بۆ بەکارهێنانی ئەم فەرمانە.", + "alreadyInChannel": "⚠️ من پێشتر لە {{channels}} پەخش دەکەم. بەشداری ئەو کەناڵە بکە یان `{{prefix}}play` بەکاربهێنە بۆ دەستپێکردنی موزیک لە کەناڵەکەت.", + "notInVoice": "من لە کەناڵێکی دەنگیدا نییم.", + "queueEmpty": "📭 ڕیزبەندییەکە بەتاڵە. `{{prefix}}play` بەکاربهێنە بۆ زیادکردنی گۆرانی!", + "queueEnded": "🎵 ڕیزبەندییەکە تەواو بوو — هیچ شتێک نەماوە بۆ پەخشکردن. گۆرانی زیاتر زیاد بکە بە `{{prefix}}play`!", + "notConnected": "پێناچێت لە یەک کەناڵی دەنگیدا بین.", + "controlsExpired": "⌛ کۆنتڕۆڵەکان بەسەرچوون", + "sessionEnded": "دانیشتن تەواو بوو", + "navigateHint": "💡 ⬅️ ➡️ ناوەڕۆک", + "voiceSelectionPrompt": "تکایە یەکێک لەم کەنانەی خوارەوە هەڵبژێرە بە کلیککردن لەسەر ڕیاکشنەکان", + "voiceSelectionHint": "نامەیەک بنێرە بە کەناڵی دەنگی! (مەنتشن/ID/ناو)\n'x' بنێرە بۆ هەڵوەشاندنەوە.", + "voiceSelectionTimedOut": "⏱️ کاتی هەڵبژاردنی کەناڵ تەواو بوو.", + "voiceConnectionLost": "❌ پەیوەندی دەنگی لەدەستچوو. تکایە دووبارە بەشداری بکەرەوە.", + "couldNotGetStream": "❌ نەتوانرا بەستەری دەنگ بۆ **{{title}}** بەدەستبهێنرێت — تێپەڕاندن.", + "errorStreaming": "❌ هەڵە لە پەخشکردنی **{{title}}** — تێپەڕاندن.", + "successfullyLeft": "✅ بە سەرکەوتوویی دەرچوو", + "voiceSelectionInvalid": "کەناڵی دەنگی نادروست. دووبارە هەوڵبدەرەوە یان 'x' بنێرە.", + "voiceChannelRequired": "❌ تکایە سەرەتا بەشداری **کەناڵێکی دەنگی** بکە پێش بەکارهێنانی ئەم فەرمانە!" + }, + "clear": { + "cleared": "🗑️ ڕیزبەندییەکە پاککرایەوە." + }, + "debug": { + "voiceTitle": "🔧 دیباگی دەنگ" + }, + "eval": { + "resultTitle": "ئەنجامی هەڵسەنگاندن", + "resultTitleError": "❌ ئەنجامی هەڵسەنگاندن", + "resultTitleSuccess": "✅ ئەنجامی هەڵسەنگاندن", + "typeLabel": "جۆر:", + "timeLabel": "کات:", + "pageLabel": "لاپەڕە {{page}}/{{total}}", + "navigateHint": "• ⬅️ ➡️ ناوەڕۆک • ❌ سڕینەوە", + "deleteHint": "• ❌ سڕینەوە", + "controlsExpired": "⌛ کۆنتڕۆڵەکان بەسەرچوون" + }, + "filter": { + "pickerTitle": "🎛️ هەڵبژاردەری فلتەری دەنگ", + "nothingPlaying": "❌ هیچ شتێک پەخش ناکرێت لە ئێستادا.", + "nothingPlayingInline": "*هیچ شتێک پەخش ناکرێت*", + "applyFailed": "❌ سەرکەوتوو نەبوو لە جێبەجێکردنی **{{filter}}**: `{{reason}}`\n\nدڵنیا ببەرەوە لەوەی گرێی NodeLinkت فلتەری چالاککراو هەیە.", + "applied": "{{emoji}} **{{label}}** جێبەجێ کرا!", + "removed": "{{emoji}} **{{label}}** لابرا.", + "cleared": "🔇 فلتەرەکان پاککرانەوە — دەنگی ئەسڵی گەڕایەوە.", + "pendingCleared": "فلتەر پاککرایەوە. دەنگی ئەسڵی لە تراکی دواتر بەکاردێت.", + "pendingApplied": "{{label}} پاشەکەوت کرا. لە تراکی دواتر جێبەجێ دەکرێت.", + "pendingRemoved": "{{label}} لابرا. تراکی دواتر فلتەرە نوێیەکان بەکاردەهێنێت.", + "noFilterActive": "🔇 هیچ فلتەرێکی چالاک نییە.", + "filtersActive": "✅ فلتەر چالاکە: **{{filters}}**.", + "reactToToggle": "💡 دووبارە واڕۆژێنەرەوە بۆ گۆڕین، یان ❌ بۆ داخستن.", + "sessionTimedOut": "⌛ کاتی دانیشتن تەواو بوو.", + "pickerClosed": "👋 هەڵبژاردەری فلتەر داخرا.", + "footer": "لاپەڕە {{page}}/{{total}} • بە ئیمۆجیی فلتەرێک واڕۆژێنەرەوە بۆ گۆڕین", + "activeLabel": "**← چالاک**", + "closeHint": "❌ داخستن" + }, + "forceleave": { + "channelNotFound": "❌ کەناڵەکە نەدۆزرایەوە.", + "wrongServer": "❌ ئەم فەرمانە پێویستە لە هەمان سێرڤەردا بێت کە کەناڵی دەنگی تێدایە.", + "playerNotFound": "❌ پەخشکەرەکە نەدۆزرایەوە.", + "playerNotInit": "❌ پەخشکەرەکە ئامادە نەکراوە." + }, + "invite": { + "title": "Banngکردنی Remix", + "description": "Remix زیاد بکە بۆ سێرڤەرەکەت لەڕێگەی [FluxerList]().\n\nبەشداری کۆمەڵگەکەمان بکە لە [fluxer.gg/remix](https://fluxer.gg/remix) بۆ پشتگیری، نوێکارییەکان، و ڕاوبۆچوونی ڕاستەوخۆ." + }, + "join": { + "channelNotFound": "نەتوانرا کەناڵ `{{channel}}` بدۆزرێتەوە\nفەرمانی یارمەتی بەکاربهێنە بۆ زانینی زیاتر. (`%help join`)", + "alreadyJoined": "پێشتر بەشداری <#{{channel}}> کرا.", + "audioNodeConnecting": "⚠️ گرێی دەنگ هێشتا پەیوەندی دەکات — تکایە چەند چرکەیەک دووبارە هەوڵبدەرەوە.", + "joining": "⏳ بەشداریکردنی کەناڵ...", + "joined": "✅ بە سەرکەوتوویی بەشداری <#{{channel}}> کرا", + "joinFailed": "❌ سەرکەوتوو نەبوو لە بەشداریکردن: {{error}}", + "noVoiceChannel": "❌ تۆ لە کەناڵێکی دەنگیدا نیت. تکایە سەرەتا بەشداری یەکێک بکە، یان کەناڵێک دیاریبکە: `{{prefix}}join <#کەناڵ>`", + "voiceChannelNotFound": "❌ نەتوانرا ئەو کەناڵی دەنگییە بدۆزرێتەوە. مەنتشنێک وەک `<#channelid>` یان ناوی کەناڵەکەی تەواو تاقی بکەرەوە.", + "autoLeaveInactive": "لە کەناڵی <#{{channel}}> دەرچوو بەهۆی بێچالاکبوون.", + "autoLeaveInactive247": "لە کەناڵی <#{{channel}}> دەرچوو بەهۆی بێچالاکبوون.\nئەگەر دەتەوێت لە دەنگ بمێنیتەوە، `{{prefix}}247 on/auto` بەکاربهێنە" + }, + "leave": { + "noVoiceChannel": "⚠️ تکایە سەرەتا بەشداری کەناڵێکی دەنگی بکە.", + "notInVoice": "من لە کەناڵێکی دەنگیدا نییم.", + "joinChannel": "⚠️ تکایە بەشداری {{channel}} بکە بۆ بەکارهێنانی ئەم فەرمانە.", + "multipleChannels": "⚠️ من لە چەندین کەناڵدا پەخش دەکەم! تکایە بەشداری یەکێکیان بکە:\n{{channels}}", + "playerNotInit": "پەخشکەرەکە ئامادە نەکراوە.", + "leftRejoin247": "✅ بە سەرکەوتوویی دەرچوو — دووبارە بەشداری <#{{channel}}> دەکەم لە 5 چرکەدا.\nبۆ ناچالاککردنی دۆخی 24/7 بەهەمیشەیی، `%247 off` بەکاربهێنە.", + "left247On": "✅ بە سەرکەوتوویی دەرچوو.\nℹ️ دۆخی 24/7 **چالاکە** — بۆتەکە دووبارە خۆی ناچێتەوە. `%play` بەکاربهێنە بۆ گەڕاندنی، یان `%247 off` بۆ ناچالاککردنی تەواو." + }, + "list": { + "empty": "📭 ڕیزبەندییەکە بەتاڵە. `{{prefix}}play` بەکاربهێنە بۆ زیادکردنی گۆرانی!", + "emptyInline": "_ڕیزبەندییەکە بەتاڵە._", + "nowPlaying": "🎵 **ئێستا پەخش دەکرێت**", + "header": "📋 **{{count}} تراک لە ڕیزبەندییەکەدا** • ⏱️ `{{time}}`", + "upNext": " ▶", + "queueTitle": "🎧 ڕیزبەندی" + }, + "login": { + "dashboardDisabled": "❌ داشبۆردەکە لەم بۆتەکەدا چالاک نەکراوە.", + "success": "✅ چوونەژوورەوە سەرکەوتوو بوو! دەتوانیت بەردەوامبیت بۆ ماڵپەڕەکە.", + "failed": "❌ چوونەژوورەوە سەرکەوتوو نەبوو! هۆکار: `{{error}}`. ئەگەر ئەمە هەڵەیەکە و کێشەکە بەردەوامە، تکایە پەیوەندی بە ئەندامێکی تیمەوە بکە لە ڕێگەی سێرڤەرەکە لە وەسفەکەمدا." + }, + "loop": { + "invalidChoice": "'{{choice}}' دروست نییە. `song` یان `queue` بەکاربهێنە", + "songActivated": "🔂 لووپی گۆرانی چالاک کرا", + "songDisabled": "➡️ لووپی گۆرانی ناچالاک کرا", + "queueActivated": "🔁 لووپی ڕیزبەندی چالاک کرا", + "queueDisabled": "➡️ لووپی ڕیزبەندی ناچالاک کرا" + }, + "lyrics": { + "nothingPlaying": "❌ هیچ شتێک پەخش ناکرێت لە ئێستادا.", + "searching": "گەڕان بۆ دەقی گۆرانی **{{title}}**...", + "noLyrics": "❌ هیچ دەقێک بۆ **{{title}}** بەردەست نییە.\n\n💡 پلاگینی دەقی NodeLink لەوانەیە ئەم تراکەی نەبێت. گۆرانییەکی بەناوبانگ تاقی بکەرەوە!", + "error": "❌ هەڵە: {{error}}", + "syncedBadge": " ⏱️ هاوئاهەنگ", + "nodeLinkFooter": "NodeLink • {{lines}} هێڵ", + "controlsExpired": "⌛ کۆنتڕۆڵەکان بەسەرچوون • NodeLink • {{lines}} هێڵ", + "sessionClosed": "دانیشتن داخرا • NodeLink • {{lines}} هێڵ" + }, + "np": { + "loading": "⏳ بارکردن...", + "nothingPlaying": "هیچ شتێک پەخش ناکرێت لە ئێستادا.", + "nowPlayingIn": "🔊 **ئێستا پەخش دەکرێت لە:** <#{{channel}}>", + "playing": "🎵 پەخش دەکرێت: **[{{title}}]({{url}})** ({{elapsed}}/{{duration}})", + "volume": "ئاستی دەنگ: {{volume}}%", + "queueLoop": "لووپی ڕیزبەندی: **{{state}}**", + "songLoop": "لووپی گۆرانی: **{{state}}**", + "streaming": "📻 پەخشی ڕاستەوخۆ **[{{title}}]({{url}})**", + "playingBy": "پەخش دەکرێت **[{{title}}]({{url}})** لەلایەن [{{artist}}]({{artistUrl}})" + }, + "pause": { + "nothingPlaying": "❌ هیچ شتێک پەخش ناکرێت لە ئێستادا!", + "alreadyPaused": "❌ پێشتر وەستاوە!", + "paused": "⏸️ وەستا" + }, + "play": { + "searching": "🔍 گەڕان...", + "loading": "بارکردن...", + "loadingFailed": "**سەرکەوتوو نەبوو لە بارکردنی ئەم تراکە.**", + "added": "[{{title}}]({{url}}) بە سەرکەوتوویی زیادکرا بۆ ڕیزبەندییەکە.", + "addedPlaylist": "**{{count}}** گۆرانی بە سەرکەوتوویی زیادکرا بۆ ڕیزبەندییەکە.", + "nowPlaying": "🎵 ئێستا پەخش دەکرێت [{{title}}]({{url}}) لەلایەن {{author}} لە <#{{channel}}>", + "noResults": "**هیچ ئەنجامێک نەدۆزرایەوە بۆ '{{query}}'.**", + "searchFailed": "**گەڕان سەرکەوتوو نەبوو. تکایە دووبارە هەوڵبدەرەوە.**", + "noData": "تراکەکە بارنەکرا — هیچ داتایەک نەگەڕایەوە.", + "loadFailed": "بارکردنی تراک سەرکەوتوو نەبوو.", + "unexpectedResult": "ئەنجامێکی چاوەڕواننەکراو لە بارکەری تراکەوە.", + "loadError": "هەڵەیەک ڕوویدا لە کاتی بارکردنی تراک.", + "searchingProvider": "گەڕان لە {{provider}}..." + }, + "playnext": { + "searching": "🔍 گەڕان..." + }, + "player": { + "title": "🎧 کۆنتڕۆڵەکانی پەخشکەری موزیک", + "inactiveTitle": "🎧 پەخشکەری موزیک (ناچالاک)", + "nowPlayingLabel": "ئێستا پەخش دەکرێت", + "volumeLabel": "🔊 ئاستی دەنگ: `{{volume}}%`", + "queueLabel": "📋 ڕیزبەندی: `{{count}}` تراک", + "loopOff": "لووپ: ❌ ناچالاک", + "loopSong": "لووپ: 🎂 گۆرانی", + "loopQueue": "لووپ: 🔁 ڕیزبەندی", + "filterOff": "فلتەر: 🔇 ناچالاک", + "filterActive": "فلتەر: {{emoji}} **{{label}}**", + "filterStacked": "فلتەر: 🔥 **{{label}}**", + "reactHint": "💡 *واڕۆژێنەرەوە بۆ کۆنتڕۆڵکردنی پەخش*", + "sessionExpires": "⏱️ دانیشتن لە دوای {{minutes}} خولەک بێچالاکبوون تەواو دەبێت", + "requestedBy": "داواکراوە لەلایەن {{username}} • کۆنتڕۆڵەکان چالاکن", + "controlsDisabled": "⌛ کۆنتڕۆڵەکان ناچالاککران (واڕۆژێنەرەوە بۆ چالاککردنەوە)", + "sessionClosed": "دانیشتن داخرا{{reason}}", + "closedByUser": "👋 کۆنتڕۆڵەکانی پەخشکەر داخران", + "startedPlaying": "▶️ دەستی بە پەخشکردن کرد", + "resumed": "▶️ بەردەوامبوو", + "pausedState": "⏸️ وەستا", + "stopped": "⏹️ وەستا", + "stoppedCleared": "⏹️ وەستا و پاککرایەوە", + "shuffled": "🔀 ڕیزبەندییەکە تێکەڵ کرا", + "added": "➕ زیادکرا: {{title}}", + "volumeChanged": "🔊 ئاستی دەنگ: {{volume}}%", + "filtersCleared": "🔇 فلتەرەکان پاککرانەوە", + "filterApplied": "{{emoji}} فلتەر: **{{label}}** جێبەجێ کرا", + "filterStackedApplied": "🔥 فلتەرەکان: **{{label}}** جێبەجێ کران", + "songLoopEnabled": "🔂 لووپی گۆرانی چالاک کرا", + "queueLoopEnabled": "🔁 لووپی ڕیزبەندی چالاک کرا", + "loopDisabled": "❌ لووپ ناچالاک کرا", + "alreadyPlaying": "▶️ پێشتر پەخش دەکرێت", + "startingPlayback": "▶️ دەستپێکردنی پەخش", + "previousNotImplemented": "⏮️ تراکی پێشوو (جێبەجێ نەکراوە)", + "openingFilterPicker": "🎛️ کردنەوەی هەڵبژاردەری فلتەر — لیستی فلتەرەکانی سەرەوە بپشکنە یان فەرمانی `filter` بەکاربهێنە.", + "filterError": "⚠️ هەڵەی فلتەر: {{error}}", + "fetchingLyrics": "📜 هێنانی دەق...", + "noLyricsFound": "❌ هیچ دەقێک لە NodeLink نەدۆزرایەوە", + "lyricsDisplayed": "دەق نیشان درا ({{lines}} هێڵ، {{pages}} لاپەڕە)", + "lyricsError": "⚠️ هەڵەی دەق: {{error}}" + }, + "radio": { + "noStations": "❌ هیچ ستەیشنێکی ڕادیۆیی ڕێکنەخراوە.", + "stationsTitle": "📻 **ستەیشنەکانی ڕادیۆ (لاپەڕە {{page}}/{{total}})**", + "timedOut": "📻 کاتی هەڵبژاردنی ڕادیۆ تەواو بوو.", + "cancelled": "❌ هەڵبژاردنی ڕادیۆ هەڵوەشایەوە.", + "unknownStation": "❌ ستەیشنی نەناسراو `{{station}}`. بەردەستەکان: {{stations}}\n\n`%radio list` بەکاربهێنە بۆ بینین.", + "nowPlaying": "📻 پەخشی ڕاستەوخۆ _{{title}}_ لەلایەن [{{author}}]({{url}}) لە <#{{channel}}>", + "skipHint": "_`%skip` بەکاربهێنە بۆ وەستاندنی ڕادیۆ، یان `%radio list` بۆ گۆڕینی ستەیشنەکان._", + "prevNext": "⬅️ پێشوو ➡️ دواتر ❌ پاشگەزبوونەوە" + }, + "reload": { + "indexNoReload": "❌ `index.mjs` ناتوانرێت بارکردنەوەی خێرا بکات — سەرەتا دەستپێکردنەوەی تەواو بکە.", + "unknownCommand": "❌ فەرمانی نەناسراو `{{name}}`", + "noFileTracked": "❌ هیچ فایلێک بۆ `{{name}}` تۆمارنەکراوە", + "noBuilder": "❌ هیچ builderێک لە `{{name}}` نەگەڕایەوە", + "reloaded": "✅ `{{name}}`", + "fileNotFound": "❌ فایلەکە نەدۆزرایەوە: `{{label}}`", + "moduleError": "❌ `{{label}}`: {{error}}", + "unknownTarget": "❌ ئامانجی نەناسراو `{{target}}`.\n`%reload` بەبێ ئارگومێنت بەکاربهێنە بۆ بینینی هەموو ئامانجەکان.", + "availableTargetsTitle": "🔄 بارکردنەوە — ئامانجە بەردەستەکان", + "runHint": "`%reload <ئامانج>` بەکاربهێنە یان وشەیەکی گرووپی بەکاربهێنە:", + "batchKeywords": "`all` · `commands` · `src` · `audio`", + "resultsHeader": "✅ **{{ok}}** بارکرانەوە · ❌ **{{bad}}** سەرکەوتوو نەبوون" + }, + "remove": { + "indexOutOfBounds": "ئیندێکس لە دەرەوەی سنوورە", + "removed": "**{{title}}** بە سەرکەوتوویی لە ڕیزبەندییەکە لابرا." + }, + "resume": { + "nothingPlaying": "❌ هیچ شتێک پەخش ناکرێت لە ئێستادا!", + "notPaused": "❌ وەستاو نییە!", + "resumed": "▶️ بەردەوامبوو" + }, + "search": { + "loadingResults": "⏳ بارکردنی ئەنجامەکان...", + "searching": "گەڕان لە {{provider}}...", + "noResults": "❌ هیچ ئەنجامێک نەدۆزرایەوە.", + "resultsTitle": "{{provider}} — ئەنجامەکانی گەڕان", + "reactHint": "بە ژمارەیەک واڕۆژێنەرەوە بۆ زیادکردن بۆ ڕیزبەندی • ❌ بۆ پاشگەزبوونەوە • 30 چرکە کات", + "cancelled": "❌ هەڵوەشایەوە.", + "added": "✅ [{{title}}]({{url}}) **زیادکرا بۆ ڕیزبەندییەکە!**", + "timedOut": "⏰ کاتی گەڕان تەواو بوو.", + "sessionClosed": "دانیشتن داخرا" + }, + "servers": { + "noServers": "_هیچ سێرڤەرێک نەدۆزرایەوە._", + "title": "🌐 سێرڤەرەکان ({{count}})", + "pageTitle": "🌐 سێرڤەرەکان ({{count}}) - لاپەڕە {{page}}/{{total}}", + "listComplete": "لیست تەواو بوو" + }, + "settings": { + "unknownSetting": "❌ ڕێکخستنی نەناسراو `{{setting}}`.", + "availableSettings": "بەردەستەکان: `{{settings}}`", + "setSuccess": "✅ **{{label}}** دانرا بۆ {{value}}", + "resetSuccess": "🔄 `{{setting}}` گەڕێنرایەوە بۆ بنەڕەتی: {{value}}", + "mustBeBool": "❌ `{{setting}}` دەبێت bool بێت.\nقبوڵکراو: `true`، `false`، `on`، `off`، `enable`، `disable`", + "volumeRange": "❌ ئاستی دەنگ دەبێت ژمارەیەک لەنێوان **1** و **200** بێت.", + "invalidLocale": "❌ `{{locale}}` زمانێکی پشتگیرینەکراو نییە.\nزمانە بەردەستەکان: {{locales}}", + "prefixLength": "❌ پێشگر دەبێت لەنێوان **1** و **5** پیت بێت.", + "prefixSpaces": "❌ پێشگر ناتوانێت بۆشایی هەبێت.", + "invalid247": "❌ بەهای نادروست `{{value}}` بۆ دۆخی 24/7.\n\n**هەڵبژاردنە دروستەکان:**\n• `off` — بۆت لە دوای بێچالاکبوون دەردەچێت\n• `on` — بۆت لە لیستی کەناڵە پاشەکەوتکراوەکاندا چالاک دەمێنێتەوە\n• `auto` — بۆت چالاک دەمێنێتەوە و لیستی کەناڵەکان ئامادە دەنێت بۆ گەڕانەوە", + "noServer": "❌ ناتوانرێت سێرڤەرەکەت پشتڕاست بکرێتەوە.", + "noVoice247": "❌ تۆ لە کەناڵێکی دەنگیدا نیت. سەرەتا بەشداری یەکێک بکە، پاشان `%247 {{mode}}` بەکاربهێنە.", + "247Disabled": "✅ دۆخی 24/7 **ناچالاک کرا** بۆ <#{{channel}}>. بۆت دەرچوو.", + "247DisabledAll": "✅ دۆخی 24/7 **ناچالاک کرا** بۆ هەموو کەناڵەکان لەم سێرڤەرەدا.", + "247Set": "✅ دۆخی 24/7 دانرا بۆ **{{mode}}** بۆ <#{{channel}}>.\n{{summary}}", + "247Joined": "✅ دۆخی 24/7 دانرا بۆ **{{mode}}** بۆ <#{{channel}}>. بۆت بەشداری کرد!\n{{summary}}", + "247JoinFailed": "✅ دۆخی 24/7 پاشەکەوت کرا بۆ <#{{channel}}>، بەڵام بەشداریکردن سەرکەوتوو نەبوو: {{error}}\n{{summary}}", + "247Status": "دۆخی 24/7: {{status}}", + "helpTitle": "⚙️ یارمەتی ڕێکخستنەکان", + "helpAvailable": "**ڕێکخستنە بەردەستەکان:** {{settings}}", + "helpSubcommands": "**فەرمانە لاوەکییەکان:**\n• `{{prefix}}settings get` — لیستی هەموو بەهای ئێستا\n• `{{prefix}}settings get <ڕێکخستن>` — بینینی ڕێکخستنێک\n• `{{prefix}}settings set <ڕێکخستن> <بەها>` — گۆڕینی ڕێکخستن\n• `{{prefix}}settings reset <ڕێکخستن>` — گەڕاندنەوەی بەهای بنەڕەتی\n• `{{prefix}}settings help <ڕێکخستن>` — ڕوونکردنەوەی ڕێکخستن", + "helpShortcuts": "**کورتکراوەکان:** `{{prefix}}prefix`، `{{prefix}}247`", + "serverTitle": "⚙️ ڕێکخستنەکانی سێرڤەر", + "serverHeader": "سێرڤەر: **{{name}}**", + "shortcutsHint": "کورتکراوەکان: `{{prefix}}247`، `{{prefix}}prefix`\n`{{prefix}}settings help <ڕێکخستن>` بەکاربهێنە بۆ زانینی زیاتر دەربارەی هەر ڕێکخستنێک." + }, + "shuffle": { + "emptyQueue": "هیچ شتێک نییە لە ڕیزبەندییەکەدا بۆ تێکەڵکردن.", + "shuffled": "🔀 ڕیزبەندییەکە تێکەڵ کرا" + }, + "skip": { + "nothingPlaying": "❌ هیچ شتێک پەخش ناکرێت لە ئێستادا!", + "skipped": "⏭️ تێپەڕا", + "skippedTrack": "⏭️ [{{title}}]({{url}}) تێپەڕا", + "skippedToPosition": "⏭️ تێپەڕا بۆ شوێنی {{position}}" + }, + "stats": { + "title": "بۆتی موزیکی Remix", + "servers": "📂 **سێرڤەرەکان**", + "users": "👥 **بەکارهێنەران**", + "players": "🎧 **پەخشکەرەکان**", + "ping": "🏓 **پینگ**", + "uptime": "⏱️ **کاتی چالاک**", + "build": "🔧 **بەرنامە**", + "lastRestart": "🪛 **دوایین دەستپێکردنەوە**", + "supportKofi": "☕ [پشتگیری ئێمە لە Ko-fi](https://ko-fi.com/remixbot)", + "community": "💬 [کۆمەڵگە](https://fluxer.gg/Remix)" + }, + "support": { + "title": "💬 پشتگیری", + "description": "بۆ هەر شتێک سەبارەت بە Remix، ڕوو لە سێرڤەرەکەمان بکە:\n[Remix HQ](https://fluxer.gg/remix)\n\nئەگەر ناتەوێت بەشداری بکەیت، بە ئازادی پەیوەندی بە ئەندامانی تیمەوە بکە کە لە سێرڤەرەکەدا ناویان هاتووە." + }, + "test": { + "notInServer": "❌ پێویستە لە سێرڤەرێکدا بەکارهێنرێت.", + "noOneInVoice": "کەس لە دەنگدا نییە.", + "title": "🎙️ ئەندامانی کەناڵی دەنگ", + "channelEntry": "🔊 **{{name}}**: {{count}} ئەندام" + }, + "thumbnail": { + "nothingPlaying": "هیچ شتێک پەخش ناکرێت لە ئێستادا.", + "noThumbnail": "وێنەی بچووک بەردەست نییە.", + "thumbnail": "وێنەی بچووکی [{{title}}]({{url}}):" + }, + "volume": { + "current": "🔊 ئاستی دەنگی ئێستا: `{{volume}}%`", + "outOfRange": "❌ ئاستی دەنگ دەبێت لەنێوان `0` و `{{max}}%` بێت.", + "changed": "🔊 ئاستی دەنگ گۆڕدرا بۆ `{{volume}}%` بۆ ئەم دانیشتنە.", + "setPending": "ئاستی دەنگ دانرا بۆ `{{volume}}%` — لە کاتی پەیوەستبووندا جێبەجێ دەکرێت." + }, + "volumedefault": { + "title": "🔊 ڕێکخستنەکانی دەنگ", + "serverDefault": "• بنەڕەتی سێرڤەر: `{{volume}}%`", + "currentVolume": "• ئاستی دەنگی پەخشکەری ئێستا: `{{volume}}%`", + "changeHint": "بۆ گۆڕینی بنەڕەتی: `{{prefix}}volumedefault <0-{{max}}>`", + "noPermission": "⚠️ پێویستە مۆڵەتی **بەڕێوەبردنی سێرڤەر** هەبێت بۆ گۆڕینی بنەڕەتی.", + "noPermissionSet": "❌ پێویستە مۆڵەتی **بەڕێوەبردنی سێرڤەر** هەبێت بۆ دانانی ئاستی دەنگی بنەڕەتی سێرڤەر.", + "outOfRange": "❌ ئاستی دەنگ دەبێت لەنێوان `0` و `{{max}}%` بێت.", + "saved": "🔊 ئاستی دەنگی بنەڕەتی سێرڤەر وەک `{{volume}}%` پاشەکەوت کرا." } } } diff --git a/storage/locales/bot/de-DE.json b/storage/locales/bot/de-DE.json index b08b36e..81854a0 100644 --- a/storage/locales/bot/de-DE.json +++ b/storage/locales/bot/de-DE.json @@ -1,118 +1,487 @@ { - "cmdBuilder" : { - "requirement" : { - "permission" : "Du hast nicht die notwendigen Berechtigungen, dieses Kommando hier auszuführen." + "cmdBuilder": { + "requirement": { + "permission": "Du hast nicht die nötigen Berechtigungen, um diesen Befehl auszuführen!" }, - "subcommand" : { - "invalid" : "Ungültiger Unterbefehl. Versuche es bitte mit einer dieser Optionen `$previousCmd <$cmdlist>`" + "subcommand": { + "invalid": "Ungültiger Unterbefehl. Versuche eine der folgenden Optionen: `$previousCmd <$cmdlist>`" } }, - "cmdHandler" : { - "command" : { - "invalid" : "Unbekanntes Kommando {{command}}!", - "suggestion" : "Meintest du {{command}}? (Nutze {{acceptCommand}}, um dies auszuführen)" + "cmdHandler": { + "command": { + "invalid": "Unbekannter Befehl {{command}}!", + "suggestion": "Meintest du {{command}}? (Tippe {{acceptCommand}} um ihn auszuführen)" }, - "help" : { - "pageStructure" : "Verfügbare Kommandos (page $currPage/$maxPage): $content Nutze das Kommando `$prefix$helpCmd ` um mehr zu erfahren. Du kannst auch zusätzliche Unterbefehle nutzen, wie zum Beispiel: `$prefix$helpCmd command subcommandName` Noch ein Tip: Nutze die Pfeile unter dieser Nachricht, um Seiten umzublättern, oder gib eine gewünschte Seitenzahl mit `$prefix$helpCmd ` an!" + "help": { + "pageStructure": "Verfügbare Befehle (Seite $currPage/$maxPage): \n\n$content\n\nNutze `$prefix$helpCmd `, um mehr zu erfahren. Du kannst auch Unterbefehle angeben.\nBeispiel: `$prefix$helpCmd settings get`\n\nTipp: Nutze die Pfeile unter dieser Nachricht zum Blättern, oder gib die gewünschte Seitennummer mit `$prefix$helpCmd ` an.", + "unknownCommand": "❌ Unbekannter Befehl `{{command}}`. Nutze `{{prefix}}help` zum Durchsuchen." }, - "invalidFlag" : "Ungültige Flag `$invalidFlag`. Sie stimmt mit keiner der Optionen im Kommando überein. `$previousCmd $invalidFlag`", - "page" : { - "invalid" : "{{number}} ist keine gültige Seiten-Nummer!" + "invalidFlag": "Ungültige Flag `$invalidFlag`. Sie stimmt mit keiner Option dieses Befehls überein.\n`$previousCmd $invalidFlag`", + "page": { + "invalid": "{{number}} ist keine gültige Seitennummer!" }, - "permissions" : { - "message" : "Bitte erteile mir die {{permission}}-Berechtigung in {{channel}} oder informiere einen Server-Admin. Ich habe in diesem Zustand keinen Zugriff, um zu arbeiten." + "permissions": { + "message": "Bitte erteile mir die {{permission}}-Berechtigung in {{channel}} oder wende dich an einen Server-Admin. Ich kann ohne diese nicht arbeiten." } }, - "commands" : { - "clear" : "Entferne alle Songs aus der Warteschlange.", - "join" : "Lasse den Bot einem bestimmten Sprachkanal beitreten", - "leave" : "Lasse den Bot deinen aktuellen Sprachkanal verlassen", - "list" : "Listet die Songs in der Warteschlange deines Kanals auf.", - "login" : "Bestätige die Anmeldung deines Kontos auf der Webseite", - "loop" : "Aktiviere/Deaktiviere die Schleife des aktuellen Songs oder der Warteschlange.", - "lyrics" : "Rufe den Songtext des aktuellen Liedes auf. Bitte beachte, dass dieser vom tatsächlichen Text abweichen kann, da Genius nicht immer den richtigen Song findet.", - "np" : "Rufe den Namen und die URL des Songs ab, der gerade abgespielt wird.", - "pause" : "Pausiere die Wiedergabe in deinem Sprachkanal", - "ping" : "Mein Präfix in diesem Server ist: {{prefix}}\n\nFühre {{helpCmd}} aus, um loszulegen!", - "play" : "Spiele ein YouTube-Video mithilfe einer URL/einem Suchbegriff, oder eine Playlist von einer URL. Einige andere Dienste sind auch unterstützt. \nSuchen werden standardmäßig über `Youtube Music` ausgeführt. Um `Youtube` zu verwenden, muss das mit der Option `-u yt` explizit angegeben werden.", - "player" : "Erstellen eine Emoji-Steuerung für deinen Sprachkanal", - "playnext" : "Siehe %play. Die gefundenen Songs werden am Anfang der Warteschlange eingefügt.", - "remove" : "Entferne einen bestimmten Song von der Warteschlange.", - "resume" : "Setze die Wiedergabe in deinem Sprachkanal fort", - "search" : "Listet die Suchergebnisse für eine bestimmte Suchanfrage auf", - "settings" : "Rufe die Einstellungen eines Servers ab, oder ändere diese.", - "shuffle" : "Ordnet die Warteschlange zufällig an.", - "skip" : "Überspringe den aktuellen Song.", - "stats" : "Rufe Statistiken über den Bot ab.", - "support" : "Der Support-Server für Remix. Zögere nicht, um Hilfe zu bitten, Bugs zu melden oder einfach zu chatten :)", - "thumbnail" : "Rufe das Thumbnail des aktuellen Songs ab.", - "volume" : "Ändere die aktuelle Lautstärke." + "commands": { + "clear": "Entferne alle Songs aus der Warteschlange.", + "debug": "Ein Debug-Befehl für verschiedene Zwecke.", + "eval": "Führt JavaScript-Code aus (Nur für Besitzer).", + "filter": "Öffne einen interaktiven Filter-Picker — reagiere mit einem Emoji, um einen Audioeffekt anzuwenden.", + "forceleave": "Lass Remix einen Kanal verlassen, auch wenn du nicht darin bist.", + "invite": "Erhalte den Einladungslink für Remix und den Support-Server.", + "join": "Lass den Bot deinem Sprachkanal beitreten oder gib einen bestimmten an.", + "leave": "Lass den Bot deinen aktuellen Sprachkanal verlassen.", + "list": "Liste die Songs in der Warteschlange deines aktuellen Sprachkanals auf.", + "login": "Bestätige die Anmeldung deines Kontos auf der Website.", + "loop": "Aktiviere/Deaktiviere die Schleife deiner Warteschlange/des Songs.", + "lyrics": "Zeige synchronisierte Songtexte von NodeLink an.", + "np": "Frage den Namen und die URL des aktuell spielenden Songs ab.", + "pause": "Pausiere die Wiedergabe in deinem Sprachkanal.", + "play": "Spiele einen Song oder eine Playlist von einer URL oder Suchanfrage.\nUnterstützt YouTube, Spotify, SoundCloud, Deezer, Apple Music, Tidal und mehr.\nStandardsuche: YouTube Music. Nutze `-p ` oder Inline-Präfix wie `sp: blinding lights`.", + "player": "Erstelle ein interaktives Wiedergabe-Kontrollfeld mit Live-Fortschritt.", + "playnext": "Wie %play, fügt das Ergebnis aber an den Anfang der Warteschlange hinzu.", + "radio": "Spiele einen Radiosender. Nutze `%radio list`, um alle Sender zu durchsuchen.", + "reload": "Lade Befehle, src-Module oder Audio-Module neu. Leer lassen, um alle Ziele anzuzeigen.", + "remove": "Entferne einen bestimmten Song aus der Warteschlange.", + "resume": "Setze die Wiedergabe in deinem Sprachkanal fort.", + "search": "Zeige Suchergebnisse für eine Anfrage an und wähle einen zum Abspielen.\nUnterstützt alle Anbieter — nutze Inline-Präfix wie `sp: song` oder `-p dz`.", + "servers": "Rufe eine Liste der Server ab, in denen der Bot ist.", + "settings": "Ändere/Rufe Einstellungen im aktuellen Server ab.", + "shuffle": "Ordne die Warteschlange zufällig neu.", + "skip": "Überspringe den aktuell spielenden Song.", + "stats": "Zeige Statistiken über den Bot wie die Uptime.", + "support": "Der Support-Server für Remix. Zögere nicht, um Hilfe zu bitten, Bugs zu melden oder einfach zu chatten :)", + "test": "Zeigt an, wie viele Personen in jedem Sprachkanal sind.", + "thumbnail": "Fordere das Thumbnail des aktuell spielenden Songs an.", + "volume": "Rufe die aktuelle Lautstärke ab oder ändere sie.", + "volumedefault": "Zeige oder setze die Standardlautstärke des Servers. (Erfordert Server verwalten zum Setzen)" }, - "options" : { - "join" : { - "channel" : "Gebe den Kanal an, dem der Bot beitreten soll. Dies ist aufgrund Revolt-Einschränkungen notwendig." + "options": { + "debug": { + "target": "Das Ziel, das untersucht werden soll." }, - "login" : { - "id" : "Die ID, die du beim Einloggen auf dem Dashboard erhalten hast." + "eval": { + "expression": "Der JavaScript-Ausdruck, der ausgewertet werden soll" }, - "loop" : { - "type" : "Gibt an, welcher Schleifentyp gesetzt werden soll." + "filter": { + "name": "Filtername" }, - "play" : { - "query" : "Eine YouTube-Suchanfrage/URL, Playlist-URL oder ein Link zu einem Song auf Spotify, SoundCloud oder YouTube Music." + "forceleave": { + "channelId": "Der Kanal, der verlassen werden soll." }, - "playnext" : { - "query" : "Eine YouTube-Suchanfrage/URL, Playlist-URL oder ein Link zu einem Song auf Spotify, SoundCloud oder YouTube Music." + "join": { + "channel": "Eine Sprachkanal-Erwähnung, ID oder Name zum Beitreten. Standard: dein aktueller Kanal." }, - "remove" : { - "index" : "Die Position des Liedes in der Warteschlange. Die Position aller Lieder kann mit dem `list` Befehl aufgerufen werden." + "login": { + "id": "Die ID, die du beim Login im Dashboard erhalten hast." }, - "search" : { - "provider" : "Der Anbieter der Suchergebnisse (YouTube oder YouTube Music). Standard: YouTube Music", - "query" : "Der Such-Text, nach dem gesucht werden soll." + "loop": { + "type": "Bestimmt, welche Schleife umgeschaltet werden soll." }, - "settings" : { - "get" : { - "setting" : "Rufe den Wert einer bestimmten Einstellung ab." + "play": { + "query": "Eine Suchanfrage, URL oder eine mit Anbieter-Präfix versehene Anfrage wie `sp: Songname`.", + "provider": "Der Suchanbieter. Standard: YouTube Music. Oder Inline-Präfix: sp:, dz:, am:, yt:, sc: usw." + }, + "playnext": { + "query": "Eine Suchanfrage, URL oder eine mit Anbieter-Präfix versehene Anfrage wie `sp: Songname`.", + "provider": "Der Suchanbieter. Standard: YouTube Music." + }, + "radio": { + "station": "Sendername, 'list' zum Durchsuchen oder leer für Standard." + }, + "reload": { + "target": "Befehls-/Modulname oder: all | commands | src | audio" + }, + "remove": { + "index": "Die Position des Songs in der Warteschlange. Du kannst die Indizes mit dem 'list'-Befehl anzeigen." + }, + "search": { + "provider": "Der Suchanbieter. Standard: YouTube Music.", + "query": "Die Suchanfrage oder eine mit Anbieter-Präfix versehene Anfrage wie `sp: Songname`." + }, + "settings": { + "get": { + "setting": "Rufe den aktuellen Wert einer Einstellung ab." }, - "set" : { - "setting" : "Der Name der Einstellung, die bearbeitet werden soll.", - "value" : "Der neue Wert der Einstellung." - } - }, - "volume" : { - "volume" : "Die neue Lautstärke in Prozent (z.B.: `30` oder `100`). Werte über 100 % können Qualitätsverluste verursachen." - } - }, - "pagination" : { - "embed" : { - "sclosedContent" : "{{content}}\nSitzung geschlossen - Das Umblättern funktioniert ab jetzt **nicht mehr**.", - "sclosedTitle" : "Sitzung geschlossen" - }, - "error" : { - "perms" : { - "messages" : "Ich kann keine Nachrichten in {{channel}} senden. Bitte wende dich an einen Serveradministrator und erteile mir die Berechtigung \"SendMessage\"", - "reactions" : "Ich brauche die Berechtigung, auf Nachrichten zu reagieren. Bitte wende dich an einen Serveradministrator, um dies zu klären." - } - } - }, - "subcommands" : { - "settings" : { - "get" : "Rufe den Wert einer bestimmten Einstellung oder eine Liste der Einstellungen des gesamten Servers auf.", - "set" : "Lege den Wert einer bestimmten Einstellung fest." - } - }, - "voice" : { - "join" : { - "cancelled" : "Abgebrochen!", - "error" : { - "dc" : "Es scheint, als wären wir nicht im selben Sprachkanal.", - "invalid" : "Ungültiger Sprachkanal. Bitte versuche es erneut und überprüfe deine Eingabe auf Groß- und Kleinschreibung! (`x` zum Abbrechen)", - "perms" : "Etwas ist schiefgelaufen. Ich kann {{channel}} nicht betreten. Habe ich die nötigen Berechtigungen?" + "set": { + "setting": "Der Name der Einstellung, die du ändern möchtest.", + "value": "Der neue Wert." }, - "warning" : { - "nc" : "Es scheint, als wärst du nicht mit {{channel}} verbunden. Hast du vergessen, dort beizutreten?" + "reset": { + "setting": "Die Einstellung, die zurückgesetzt werden soll." + }, + "help": { + "setting": "Leer lassen, um alle verfügbaren Einstellungen anzuzeigen." } + }, + "volume": { + "volume": "Die neue Lautstärke in Prozent (z.B. `30` oder `100`). Über 100% kann zu Qualitätsverlust führen." + }, + "volumedefault": { + "volume": "Neue Lautstärke in % (0–200) als Server-Standard. Leer lassen für aktuelle Anzeige." + } + }, + "pagination": { + "embed": { + "sclosedContent": "{{content}}\nSitzung geschlossen — Seitenwechsel funktioniert ab hier **nicht mehr**.", + "sclosedTitle": "Sitzung geschlossen" + }, + "error": { + "perms": { + "messages": "Ich kann keine Nachrichten in {{channel}} senden. Bitte wende dich an einen Server-Admin und erteile mir die \"SendMessage\"-Berechtigung.", + "reactions": "Ich benötige Reaktionsberechtigungen. Bitte wende dich an einen Server-Admin, um dies zu klären." + } + } + }, + "subcommands": { + "settings": { + "get": "Rufe den Wert einer bestimmten Einstellung oder die Servereinstellungen ab.", + "set": "Setze den Wert einer bestimmten Einstellung.", + "reset": "Setze eine Einstellung auf ihren Standardwert zurück.", + "help": "Zeige Hilfe für das Einstellungssystem oder erkläre eine bestimmte Einstellung." + } + }, + "voice": { + "join": { + "cancelled": "Abgebrochen!", + "error": { + "dc": "Es scheint, als wären wir nicht im selben Sprachkanal.", + "invalid": "Ungültiger Sprachkanal. Bitte versuche es erneut und achte auf Groß-/Kleinschreibung! (`x` zum Abbrechen)", + "perms": "Etwas ist schiefgelaufen. Kann {{channel}} nicht beitreten. Habe ich die nötigen Berechtigungen?" + }, + "warning": { + "nc": "Es scheint, als wärst du nicht mit {{channel}} verbunden. Hast du vergessen beizutreten?" + } + } + }, + "responses": { + "_common": { + "nothingPlaying": "❌ Es wird gerade nichts abgespielt!", + "noVoiceChannel": "⚠️ Bitte trete zuerst einem Sprachkanal bei.", + "noVoiceStrict": "⚠️ Du musst einem Sprachkanal beitreten, um diesen Befehl zu nutzen.", + "alreadyInChannel": "⚠️ Ich spiele bereits in {{channels}}. Trete diesem Kanal bei oder nutze `{{prefix}}play`, um Musik in deinem Kanal zu starten.", + "notInVoice": "Ich bin in keinem Sprachkanal.", + "queueEmpty": "📭 Die Warteschlange ist leer. Nutze `{{prefix}}play`, um Songs hinzuzufügen!", + "queueEnded": "🎵 Die Warteschlange ist zu Ende — nichts mehr abzuspielen. Füge weitere Songs mit `{{prefix}}play` hinzu!", + "notConnected": "Es scheint, als wären wir nicht im selben Sprachkanal.", + "controlsExpired": "⌛ Steuerung abgelaufen", + "sessionEnded": "Sitzung beendet", + "navigateHint": "💡 ⬅️ ➡️ Navigieren", + "voiceSelectionPrompt": "Bitte wähle einen der folgenden Kanäle durch Klicken auf die Reaktionen unten", + "voiceSelectionHint": "sende eine Nachricht mit dem Sprachkanal! (Erwähnung/ID/Name)\nSende 'x' zum Abbrechen.", + "voiceSelectionTimedOut": "⏱️ Kanalauswahl abgelaufen.", + "voiceConnectionLost": "❌ Sprachverbindung verloren. Bitte trete erneut bei.", + "couldNotGetStream": "❌ Stream-URL für **{{title}}** konnte nicht abgerufen werden — wird übersprungen.", + "errorStreaming": "❌ Fehler beim Streamen von **{{title}}** — wird übersprungen.", + "successfullyLeft": "✅ Erfolgreich verlassen", + "voiceSelectionInvalid": "Ungültiger Sprachkanal. Versuche es erneut oder tippe `x`.", + "voiceChannelRequired": "❌ Bitte trete zuerst einem **Sprachkanal** bei, bevor du diesen Befehl verwendest!" + }, + "clear": { + "cleared": "🗑️ Warteschlange geleert." + }, + "debug": { + "voiceTitle": "🔧 Sprach-Debug" + }, + "eval": { + "resultTitle": "Auswertungsergebnis", + "resultTitleError": "❌ Auswertungsergebnis", + "resultTitleSuccess": "✅ Auswertungsergebnis", + "typeLabel": "Typ:", + "timeLabel": "Zeit:", + "pageLabel": "Seite {{page}}/{{total}}", + "navigateHint": "• ⬅️ ➡️ Navigieren • ❌ Löschen", + "deleteHint": "• ❌ Löschen", + "controlsExpired": "⌛ Steuerung abgelaufen" + }, + "filter": { + "pickerTitle": "🎛️ Audio-Filter-Picker", + "nothingPlaying": "❌ Es wird gerade nichts abgespielt.", + "nothingPlayingInline": "*Nichts wird abgespielt*", + "applyFailed": "❌ Konnte **{{filter}}** nicht anwenden: `{{reason}}`\n\nStelle sicher, dass dein NodeLink-Knoten Filter aktiviert hat.", + "applied": "{{emoji}} **{{label}}** angewendet!", + "removed": "{{emoji}} **{{label}}** entfernt.", + "cleared": "🔇 Filter gelöscht — Original-Audio wiederhergestellt.", + "pendingCleared": "Filter gelöscht. Original-Audio wird beim nächsten abspielbaren Track verwendet.", + "pendingApplied": "{{label}} gespeichert. Wird beim nächsten abspielbaren Track angewendet.", + "pendingRemoved": "{{label}} entfernt. Der nächste Track wird die aktualisierten Filter verwenden.", + "noFilterActive": "🔇 Kein Filter aktiv.", + "filtersActive": "✅ Filter aktiv: **{{filters}}**.", + "reactToToggle": "💡 Reagiere erneut zum Umschalten oder ❌ zum Schließen.", + "sessionTimedOut": "⌛ Sitzung abgelaufen.", + "pickerClosed": "👋 Filter-Picker geschlossen.", + "footer": "Seite {{page}}/{{total}} • Reagiere mit einem Filter-Emoji zum Umschalten", + "activeLabel": "**← aktiv**", + "closeHint": "❌ Schließen" + }, + "forceleave": { + "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." + }, + "invite": { + "title": "Remix einladen", + "description": "Füge Remix direkt über [FluxerList]() zu deinem Server hinzu.\n\nTritt unserer Community auf [fluxer.gg/remix](https://fluxer.gg/remix) für Support, Updates und Feedback bei." + }, + "join": { + "channelNotFound": "Konnte den Kanal `{{channel}}` nicht finden.\nNutze den Hilfe-Befehl für mehr Infos. (`%help join`)", + "alreadyJoined": "Bereits in <#{{channel}}>.", + "audioNodeConnecting": "⚠️ Audio-Knoten verbindet noch — bitte versuche es in wenigen Sekunden erneut.", + "joining": "⏳ Trete Kanal bei...", + "joined": "✅ Erfolgreich <#{{channel}}> beigetreten", + "joinFailed": "❌ Beitritt fehlgeschlagen: {{error}}", + "noVoiceChannel": "❌ Du bist in keinem Sprachkanal. Bitte trete zuerst einem bei oder gib einen Kanal an: `{{prefix}}join <#Kanal>`", + "voiceChannelNotFound": "❌ Konnte diesen Sprachkanal nicht finden. Versuche eine Erwähnung wie `<#Kanal-ID>` oder den genauen Kanalnamen.", + "autoLeaveInactive": "Kanal <#{{channel}}> wegen Inaktivität verlassen.", + "autoLeaveInactive247": "Kanal <#{{channel}}> wegen Inaktivität verlassen.\nWenn ich im Sprachkanal bleiben soll, nutze `{{prefix}}247 on/auto`" + }, + "leave": { + "noVoiceChannel": "⚠️ Bitte trete zuerst einem Sprachkanal bei.", + "notInVoice": "Ich bin in keinem Sprachkanal.", + "joinChannel": "⚠️ Bitte trete {{channel}} bei, um diesen Befehl zu nutzen.", + "multipleChannels": "⚠️ Ich spiele in mehreren Kanälen! Bitte trete einem bei:\n{{channels}}", + "playerNotInit": "Player nicht initialisiert.", + "leftRejoin247": "✅ Erfolgreich verlassen — trete <#{{channel}}> in 5 Sekunden wieder bei.\nUm den 24/7-Modus dauerhaft zu deaktivieren, nutze `%247 off`.", + "left247On": "✅ Erfolgreich verlassen.\nℹ️ 24/7-Modus ist **aktiv** — Bot wird nicht automatisch wiederkommen. Nutze `%play`, um ihn zurückzuholen, oder `%247 off` zum vollständigen Deaktivieren." + }, + "list": { + "empty": "📭 Die Warteschlange ist leer. Nutze `{{prefix}}play`, um Songs hinzuzufügen!", + "emptyInline": "_Warteschlange ist leer._", + "nowPlaying": "🎵 **Spielt gerade**", + "header": "📋 **{{count}} Tracks in der Warteschlange** • ⏱️ `{{time}}`", + "upNext": " ▶", + "queueTitle": "🎧 Warteschlange" + }, + "login": { + "dashboardDisabled": "❌ Das Dashboard ist auf diesem Bot nicht aktiviert.", + "success": "✅ Login erfolgreich! Du kannst jetzt auf der Webseite fortfahren.", + "failed": "❌ Login fehlgeschlagen! Grund: `{{error}}`. Wenn dies ein Fehler ist und das Problem besteht, wende dich an ein Teammitglied über den Server in meiner Beschreibung." + }, + "loop": { + "invalidChoice": "'{{choice}}' ist ungültig. Nutze `song` oder `queue`", + "songActivated": "🔂 Song-Schleife aktiviert", + "songDisabled": "➡️ Song-Schleife deaktiviert", + "queueActivated": "🔁 Warteschlangen-Schleife aktiviert", + "queueDisabled": "➡️ Warteschlangen-Schleife deaktiviert" + }, + "lyrics": { + "nothingPlaying": "❌ Es wird gerade nichts abgespielt.", + "searching": "Suche Songtext für **{{title}}**...", + "noLyrics": "❌ Keine Songtexte verfügbar für **{{title}}**.\n\n💡 Das NodeLink-Songtext-Plugin hat diesen Track möglicherweise nicht. Versuche einen beliebteren Song!", + "error": "❌ Fehler: {{error}}", + "syncedBadge": " ⏱️ Synchronisiert", + "nodeLinkFooter": "NodeLink • {{lines}} Zeilen", + "controlsExpired": "⌛ Steuerung abgelaufen • NodeLink • {{lines}} Zeilen", + "sessionClosed": "Sitzung geschlossen • NodeLink • {{lines}} Zeilen" + }, + "np": { + "loading": "⏳ Laden...", + "nothingPlaying": "Es wird gerade nichts abgespielt.", + "nowPlayingIn": "🔊 **Spielt gerade in:** <#{{channel}}>", + "playing": "🎵 Spielt: **[{{title}}]({{url}})** ({{elapsed}}/{{duration}})", + "volume": "Lautstärke: {{volume}}%", + "queueLoop": "Warteschlangen-Schleife: **{{state}}**", + "songLoop": "Song-Schleife: **{{state}}**", + "streaming": "📻 Streamt **[{{title}}]({{url}})**", + "playingBy": "Spielt **[{{title}}]({{url}})** von [{{artist}}]({{artistUrl}})" + }, + "pause": { + "nothingPlaying": "❌ Es wird gerade nichts abgespielt!", + "alreadyPaused": "❌ Bereits pausiert!", + "paused": "⏸️ Pausiert" + }, + "play": { + "searching": "🔍 Suche...", + "loading": "Laden...", + "loadingFailed": "**Konnte diesen Track nicht laden.**", + "added": "[{{title}}]({{url}}) erfolgreich zur Warteschlange hinzugefügt.", + "addedPlaylist": "**{{count}}** Songs erfolgreich zur Warteschlange hinzugefügt.", + "nowPlaying": "🎵 Spielt jetzt [{{title}}]({{url}}) von {{author}} in <#{{channel}}>", + "noResults": "**Keine Ergebnisse für '{{query}}' gefunden.**", + "searchFailed": "**Suche fehlgeschlagen. Bitte versuche es erneut.**", + "noData": "Track konnte nicht geladen werden — keine Daten zurückgegeben.", + "loadFailed": "Track konnte nicht geladen werden.", + "unexpectedResult": "Unerwartetes Ergebnis vom Track-Lader.", + "loadError": "Beim Laden des Tracks ist ein Fehler aufgetreten.", + "searchingProvider": "Suche auf {{provider}}..." + }, + "playnext": { + "searching": "🔍 Suche..." + }, + "player": { + "title": "🎧 Musik-Player-Steuerung", + "inactiveTitle": "🎧 Musik-Player (Inaktiv)", + "nowPlayingLabel": "Spielt gerade", + "volumeLabel": "🔊 Lautstärke: `{{volume}}%`", + "queueLabel": "📋 Warteschlange: `{{count}}` Tracks", + "loopOff": "Schleife: ❌ Aus", + "loopSong": "Schleife: 🎂 Song", + "loopQueue": "Schleife: 🔁 Warteschlange", + "filterOff": "Filter: 🔇 Aus", + "filterActive": "Filter: {{emoji}} **{{label}}**", + "filterStacked": "Filter: 🔥 **{{label}}**", + "reactHint": "💡 *Reagiere, um die Wiedergabe zu steuern*", + "sessionExpires": "⏱️ Sitzung läuft nach {{minutes}}m Inaktivität ab", + "requestedBy": "Angefordert von {{username}} • Steuerung aktiv", + "controlsDisabled": "⌛ Steuerung deaktiviert (reagiere zum Reaktivieren)", + "sessionClosed": "Sitzung geschlossen{{reason}}", + "closedByUser": "👋 Player-Steuerung geschlossen", + "startedPlaying": "▶️ Wiedergabe gestartet", + "resumed": "▶️ Fortgesetzt", + "pausedState": "⏸️ Pausiert", + "stopped": "⏹️ Gestoppt", + "stoppedCleared": "⏹️ Gestoppt und geleert", + "shuffled": "🔀 Warteschlange gemischt", + "added": "➕ Hinzugefügt: {{title}}", + "volumeChanged": "🔊 Lautstärke: {{volume}}%", + "filtersCleared": "🔇 Filter gelöscht", + "filterApplied": "{{emoji}} Filter: **{{label}}** angewendet", + "filterStackedApplied": "🔥 Filter: **{{label}}** angewendet", + "songLoopEnabled": "🔂 Song-Schleife aktiviert", + "queueLoopEnabled": "🔁 Warteschlangen-Schleife aktiviert", + "loopDisabled": "❌ Schleife deaktiviert", + "alreadyPlaying": "▶️ Spielt bereits", + "startingPlayback": "▶️ Wiedergabe starten", + "previousNotImplemented": "⏮️ Vorheriger Track (nicht implementiert)", + "openingFilterPicker": "🎛️ Öffne Filter-Picker — sieh dir das Filter-Menü oben an oder nutze den `filter`-Befehl.", + "filterError": "⚠️ Filter-Fehler: {{error}}", + "fetchingLyrics": "📜 Lade Songtext...", + "noLyricsFound": "❌ Keine Songtexte in NodeLink gefunden", + "lyricsDisplayed": "Songtext angezeigt ({{lines}} Zeilen, {{pages}} Seiten)", + "lyricsError": "⚠️ Songtext-Fehler: {{error}}" + }, + "radio": { + "noStations": "❌ Keine Radiosender konfiguriert.", + "stationsTitle": "📻 **Radiosender (Seite {{page}}/{{total}})**", + "timedOut": "📻 Radio-Auswahl abgelaufen.", + "cancelled": "❌ Radio-Auswahl abgebrochen.", + "unknownStation": "❌ Unbekannter Sender `{{station}}`. Verfügbar: {{stations}}\n\nNutze `%radio list` zum Durchsuchen.", + "nowPlaying": "📻 Streamt jetzt _{{title}}_ von [{{author}}]({{url}}) in <#{{channel}}>", + "skipHint": "_Nutze `%skip`, um das Radio zu stoppen, oder `%radio list`, um Sender zu wechseln._", + "prevNext": "⬅️ Zurück ➡️ Weiter ❌ Abbrechen" + }, + "reload": { + "indexNoReload": "❌ `index.mjs` kann nicht neu geladen werden — führe einen vollständigen Neustart durch.", + "unknownCommand": "❌ Unbekannter Befehl `{{name}}`", + "noFileTracked": "❌ Keine Datei für `{{name}}` erfasst", + "noBuilder": "❌ Kein Builder von `{{name}}` zurückgegeben", + "reloaded": "✅ `{{name}}`", + "fileNotFound": "❌ Datei nicht gefunden: `{{label}}`", + "moduleError": "❌ `{{label}}`: {{error}}", + "unknownTarget": "❌ Unbekanntes Ziel `{{target}}`.\nFühre `%reload` ohne Argumente aus, um alle neuladbaren Ziele zu sehen.", + "availableTargetsTitle": "🔄 Neu laden — Verfügbare Ziele", + "runHint": "Führe `%reload ` aus oder nutze ein Stichwort:", + "batchKeywords": "`all` · `commands` · `src` · `audio`", + "resultsHeader": "✅ **{{ok}}** neu geladen · ❌ **{{bad}}** fehlgeschlagen" + }, + "remove": { + "indexOutOfBounds": "Index außerhalb des Bereichs", + "removed": "**{{title}}** erfolgreich aus der Warteschlange entfernt." + }, + "resume": { + "nothingPlaying": "❌ Es wird gerade nichts abgespielt!", + "notPaused": "❌ Nicht pausiert!", + "resumed": "▶️ Fortgesetzt" + }, + "search": { + "loadingResults": "⏳ Lade Ergebnisse...", + "searching": "Suche auf {{provider}}...", + "noResults": "❌ Keine Ergebnisse gefunden.", + "resultsTitle": "{{provider}} — Suchergebnisse", + "reactHint": "Reagiere mit einer Zahl zum Hinzufügen zur Warteschlange • ❌ zum Abbrechen • 30s Timeout", + "cancelled": "❌ Abgebrochen.", + "added": "✅ [{{title}}]({{url}}) zur Warteschlange hinzugefügt!", + "timedOut": "⏰ Suche abgelaufen.", + "sessionClosed": "Sitzung geschlossen" + }, + "servers": { + "noServers": "_Keine Server gefunden._", + "title": "🌐 Server ({{count}})", + "pageTitle": "🌐 Server ({{count}}) - Seite {{page}}/{{total}}", + "listComplete": "Liste vollständig" + }, + "settings": { + "unknownSetting": "❌ Unbekannte Einstellung `{{setting}}`.", + "availableSettings": "Verfügbar: `{{settings}}`", + "setSuccess": "✅ **{{label}}** gesetzt auf {{value}}", + "resetSuccess": "🔄 `{{setting}}` wurde auf den Standardwert zurückgesetzt: {{value}}", + "mustBeBool": "❌ `{{setting}}` muss ein boolescher Wert sein.\nAkzeptiert: `true`, `false`, `on`, `off`, `enable`, `disable`", + "volumeRange": "❌ Lautstärke muss eine Zahl zwischen **1** und **200** sein.", + "invalidLocale": "❌ `{{locale}}` wird nicht unterstützt.\nVerfügbare Locales: {{locales}}", + "prefixLength": "❌ Das Präfix muss zwischen **1** und **5** Zeichen lang sein.", + "prefixSpaces": "❌ Das Präfix darf keine Leerzeichen enthalten.", + "invalid247": "❌ Ungültiger Wert `{{value}}` für den 24/7-Modus.\n\n**Gültige Optionen:**\n• `off` — Bot verlässt nach Inaktivität\n• `on` — Bot bleibt in der gespeicherten Kanalliste aktiv\n• `auto` — Bot bleibt aktiv und hält die Kanalliste zur Wiederherstellung bereit", + "noServer": "❌ Konnte deinen Server nicht ermitteln.", + "noVoice247": "❌ Du bist in keinem Sprachkanal. Tritt einem bei und führe dann `%247 {{mode}}` erneut aus.", + "247Disabled": "✅ 24/7-Modus **deaktiviert** für <#{{channel}}>. Bot hat den Kanal verlassen.", + "247DisabledAll": "✅ 24/7-Modus **deaktiviert** für alle Kanäle in diesem Server.", + "247Set": "✅ 24/7-Modus auf **{{mode}}** gesetzt für <#{{channel}}>.\n{{summary}}", + "247Joined": "✅ 24/7-Modus auf **{{mode}}** gesetzt für <#{{channel}}>. Bot beigetreten!\n{{summary}}", + "247JoinFailed": "✅ 24/7-Modus gespeichert für <#{{channel}}>, aber Beitritt fehlgeschlagen: {{error}}\n{{summary}}", + "247Status": "24/7-Modus: {{status}}", + "helpTitle": "⚙️ Einstellungen-Hilfe", + "helpAvailable": "**Verfügbare Einstellungen:** {{settings}}", + "helpSubcommands": "**Unterbefehle:**\n• `{{prefix}}settings get` — alle aktuellen Werte anzeigen\n• `{{prefix}}settings get ` — einzelne Einstellung anzeigen\n• `{{prefix}}settings set ` — Einstellung ändern\n• `{{prefix}}settings reset ` — Standardwert wiederherstellen\n• `{{prefix}}settings help ` — Einstellung beschreiben", + "helpShortcuts": "**Abkürzungen:** `{{prefix}}prefix`, `{{prefix}}247`", + "serverTitle": "⚙️ Server-Einstellungen", + "serverHeader": "Server: **{{name}}**", + "shortcutsHint": "Abkürzungen: `{{prefix}}247`, `{{prefix}}prefix`\nNutze `{{prefix}}settings help ` für mehr Infos über jede Einstellung." + }, + "shuffle": { + "emptyQueue": "Es gibt nichts zum Mischen in der Warteschlange.", + "shuffled": "🔀 Warteschlange gemischt" + }, + "skip": { + "nothingPlaying": "❌ Es wird gerade nichts abgespielt!", + "skipped": "⏭️ Übersprungen", + "skippedTrack": "⏭️ [{{title}}]({{url}}) übersprungen", + "skippedToPosition": "⏭️ Zur Position {{position}} gesprungen" + }, + "stats": { + "title": "Remix Music Bot", + "servers": "📂 **Server**", + "users": "👥 **Benutzer**", + "players": "🎧 **Player**", + "ping": "🏓 **Ping**", + "uptime": "⏱️ **Uptime**", + "build": "🔧 **Build**", + "lastRestart": "🪛 **Letzter Neustart**", + "supportKofi": "☕ [Unterstütze uns auf Ko-fi](https://ko-fi.com/remixbot)", + "community": "💬 [Community](https://fluxer.gg/Remix)" + }, + "support": { + "title": "💬 Support", + "description": "Für alles rund um Remix, besuche unseren Server:\n[Remix HQ](https://fluxer.gg/remix)\n\nWenn du nicht beitreten möchtest, kannst du auch die Teammitglieder kontaktieren, die im Server aufgelistet sind." + }, + "test": { + "notInServer": "❌ Muss in einem Server verwendet werden.", + "noOneInVoice": "Niemand ist im Sprachkanal.", + "title": "🎙️ Sprachkanal-Mitglieder", + "channelEntry": "🔊 **{{name}}**: {{count}} Mitglieder" + }, + "thumbnail": { + "nothingPlaying": "Es wird gerade nichts abgespielt.", + "noThumbnail": "Kein Thumbnail verfügbar.", + "thumbnail": "Thumbnail von [{{title}}]({{url}}):" + }, + "volume": { + "current": "🔊 Aktuelle Lautstärke: `{{volume}}%`", + "outOfRange": "❌ Lautstärke muss zwischen `0` und `{{max}}%` liegen.", + "changed": "🔊 Lautstärke auf `{{volume}}%` für diese Sitzung geändert.", + "setPending": "Lautstärke auf `{{volume}}%` gesetzt — wird beim Verbinden angewendet." + }, + "volumedefault": { + "title": "🔊 Lautstärke-Einstellungen", + "serverDefault": "• Server-Standard: `{{volume}}%`", + "currentVolume": "• Aktuelle Player-Lautstärke: `{{volume}}%`", + "changeHint": "Um den Standard zu ändern, nutze: `{{prefix}}volumedefault <0-{{max}}>`", + "noPermission": "⚠️ Du benötigst die **Server verwalten**-Berechtigung zum Ändern des Standards.", + "noPermissionSet": "❌ Du benötigst die **Server verwalten**-Berechtigung zum Setzen der Standardlautstärke.", + "outOfRange": "❌ Lautstärke muss zwischen `0` und `{{max}}%` liegen.", + "saved": "🔊 Server-Standardlautstärke als `{{volume}}%` gespeichert." } } -} \ No newline at end of file +} diff --git a/storage/locales/bot/en.json b/storage/locales/bot/en.json index 583b8ad..737be91 100644 --- a/storage/locales/bot/en.json +++ b/storage/locales/bot/en.json @@ -1,118 +1,487 @@ { - "cmdBuilder" : { - "requirement" : { - "permission" : "You don't have the needed permissions to run this command!" + "cmdBuilder": { + "requirement": { + "permission": "You don't have the needed permissions to run this command!" }, - "subcommand" : { - "invalid" : "Invalid subcommand. Try one of the following options: `$previousCmd <$cmdlist>`" + "subcommand": { + "invalid": "Invalid subcommand. Try one of the following options: `$previousCmd <$cmdlist>`" } }, - "cmdHandler" : { - "command" : { - "invalid" : "Unknown command {{command}}!", - "suggestion" : "Did you mean {{command}}? (Type {{acceptCommand}} to run this)" + "cmdHandler": { + "command": { + "invalid": "Unknown command {{command}}!", + "suggestion": "Did you mean {{command}}? (Type {{acceptCommand}} to run this)" }, - "help" : { - "pageStructure" : "Available Commands (page $currPage/$maxPage): \n\n$content\n\nRun `$prefix$helpCmd ` to learn more about it. You can also include subcommands.\nFor example: `$prefix$helpCmd settings get`\n\nTip: Use the arrows beneath this message to turn pages, or specify the required page by using `$prefix$helpCmd `" + "help": { + "pageStructure": "Available Commands (page $currPage/$maxPage): \n\n$content\n\nRun `$prefix$helpCmd ` to learn more about it. You can also include subcommands.\nFor example: `$prefix$helpCmd settings get`\n\nTip: Use the arrows beneath this message to turn pages, or specify the required page by using `$prefix$helpCmd `", + "unknownCommand": "❌ Unknown command `{{command}}`. Use `{{prefix}}help` to browse." }, - "invalidFlag" : "Invalid flag `$invalidFlag`. It doesn't match any options on this command.\n`$previousCmd $invalidFlag`", - "page" : { - "invalid" : "{{number}} is not a valid page number!" + "invalidFlag": "Invalid flag `$invalidFlag`. It doesn't match any options on this command.\n`$previousCmd $invalidFlag`", + "page": { + "invalid": "{{number}} is not a valid page number!" }, - "permissions" : { - "message" : "Please grant me the {{permission}} permission in {{channel}} or contact a server administrator. I am unable to operate without this." + "permissions": { + "message": "Please grant me the {{permission}} permission in {{channel}} or contact a server administrator. I am unable to operate without this." } }, - "commands" : { - "clear" : "Remove all songs from the queue.", - "join" : "Make the bot join a specific voice channel.", - "leave" : "Make the bot leave your current voice channel", - "list" : "List the songs in the queue of your current voice channel.", - "login" : "Confirm the login of your account on the website", - "loop" : "Toggle the looping of your queue/song.", - "lyrics" : "Fetch the lyrics of the current song. Please note that the lyrics might differ from the actual ones, as Genius doesn't always find the right song.", - "np" : "Request the name and url of the currently playing song.", - "pause" : "Pause the playback in your voice channel", - "ping" : "My prefix in this server is: {{prefix}}\n\nUse {{helpCmd}} to get started!", - "play" : "Play a youtube video from url/query or a playlist by url. Other services are supported as well.\nSearches will be done on `Youtube Music` by default.\nIf you want to search on `YouTube` you will have to specify that with `-u yt` explicitly.", - "player" : "Create an emoji player control for your voice channel", - "playnext" : "Same as %play. The result will be added to the top of the queue.", - "remove" : "Remove a specific song from the queue.", - "resume" : "Resume the playback in your voice channel", - "search" : "Display the search results for a given query", - "settings" : "Change/Get settings in the current server.", - "shuffle" : "Re-orders the queue randomly.", - "skip" : "Skip the current playing song.", - "stats" : "Display stats about the bot like the uptime.", - "support" : "The support server for Remix. Feel free to ask help, report bugs or just chat :)", - "thumbnail" : "Request the thumbnail of the currently playing song.", - "volume" : "Change the current volume." + "commands": { + "clear": "Remove all songs from the queue.", + "debug": "A debug command for various purposes.", + "eval": "Evaluates JavaScript code (Owner Only).", + "filter": "Open an interactive filter picker — react with an emoji to apply an audio effect.", + "forceleave": "Make Remix leave a channel even if you're not in it.", + "invite": "Get the invite link for Remix and the support server.", + "join": "Make the bot join your voice channel, or specify one.", + "leave": "Make the bot leave your current voice channel.", + "list": "List the songs in the queue of your current voice channel.", + "login": "Confirm a login of your account on the website.", + "loop": "Toggle the looping of your queue/song.", + "lyrics": "Display synced lyrics from NodeLink.", + "np": "Request the name and url of the currently playing song.", + "pause": "Pause the playback in your voice channel.", + "play": "Play a song or playlist from a URL or search query.\nSupports YouTube, Spotify, SoundCloud, Deezer, Apple Music, Tidal, and more.\nDefault search: YouTube Music. Use `-p ` or inline prefix e.g. `sp: blinding lights`.", + "player": "Create an interactive player control panel with live progress.", + "playnext": "Same as %play but adds the result to the top of the queue.", + "radio": "Play a radio station. Use `%radio list` to browse all stations.", + "reload": "Reload commands, src modules, or audio modules. Leave blank to see all targets.", + "remove": "Remove a specific song from the queue.", + "resume": "Resume the playback in your voice channel.", + "search": "Display search results for a query and pick one to play.\nSupports all providers — use inline prefix e.g. `sp: song` or `-p dz`.", + "servers": "Fetch a list of servers the bot is in.", + "settings": "Change/Get settings in the current server.", + "shuffle": "Re-orders the queue randomly.", + "skip": "Skip the current playing song.", + "stats": "Display stats about the bot like the uptime.", + "support": "The support server for Remix. Feel free to ask help, report bugs or just chat :)", + "test": "Shows how many people are in each voice channel.", + "thumbnail": "Request the thumbnail of the currently playing song.", + "volume": "Get or change the current volume.", + "volumedefault": "View or set the server default volume. (Requires Manage Server to set)" }, - "options" : { - "join" : { - "channel" : "Specify the channel, the bot should join. This is necessary due to (current) Revolt limitations." + "options": { + "debug": { + "target": "The target that should be examined." }, - "login" : { - "id" : "The id you got from logging in at the dashboard." + "eval": { + "expression": "The JavaScript expression to evaluate" }, - "loop" : { - "type" : "Specifies what loop should be toggled." + "filter": { + "name": "Filter name" }, - "play" : { - "query" : "A YouTube query/url, playlist url, or a link to a Spotify, SoundCloud, or YouTube Music song." + "forceleave": { + "channelId": "The channel that should be left." }, - "playnext" : { - "query" : "A YouTube query/url, playlist url, or a link to a Spotify, SoundCloud, or YouTube Music song." + "join": { + "channel": "A voice channel mention, ID, or name to join. Defaults to your current channel." }, - "remove" : { - "index" : "The position of the song in the queue. You can view the indices with the 'list' command" + "login": { + "id": "The id you got from logging in at the dashboard." }, - "search" : { - "provider" : "The search result provider (YouTube or YouTube Music). Default: Youtube Music", - "query" : "The query to search for." + "loop": { + "type": "Specifies what loop should be toggled." }, - "settings" : { - "get" : { - "setting" : "Get the current value of a setting." + "play": { + "query": "A search query, URL, or provider-prefixed query like `sp: song name`.", + "provider": "The search provider. Default: YouTube Music. Or use inline prefix: sp:, dz:, am:, yt:, sc: etc." + }, + "playnext": { + "query": "A search query, URL, or provider-prefixed query like `sp: song name`.", + "provider": "The search provider. Default: YouTube Music." + }, + "radio": { + "station": "Station name, 'list' to browse, or leave blank for default." + }, + "reload": { + "target": "Command/module name, or: all | commands | src | audio" + }, + "remove": { + "index": "The position of the song in the queue. You can view the indices with the 'list' command." + }, + "search": { + "provider": "The search provider. Default: YouTube Music.", + "query": "The query to search for, or a provider-prefixed query like `sp: song name`." + }, + "settings": { + "get": { + "setting": "Get the current value of a setting." }, - "set" : { - "setting" : "The name of the setting you want to set.", - "value" : "The new value." - } - }, - "volume" : { - "volume" : "The new volume in percentages (e.g. `30` or `100`). If you go above 100% there might be quality loss." - } - }, - "pagination" : { - "embed" : { - "sclosedContent" : "{{content}}\nSession closed - Changing pages **won't work** from here.", - "sclosedTitle" : "Session Closed" - }, - "error" : { - "perms" : { - "messages" : "I am unable to send messages in {{channel}}. Please contact a server administrator and grant me the \"SendMessage\" permission.", - "reactions" : "I need reaction permissions to work. Please contact a server administrator to address this." - } - } - }, - "subcommands" : { - "settings" : { - "get" : "Get the value of a specific setting or the settings of the server.", - "set" : "Set the value of a specific setting." - } - }, - "voice" : { - "join" : { - "cancelled" : "Cancelled!", - "error" : { - "dc" : "It doesn't look like we're in the same voice channel.", - "invalid" : "Invalid voice channel. Please try again and check capitalization! (`x` to cancel)", - "perms" : "Something went wrong. Unable to join {{channel}}. Do I have the needed permissions?" + "set": { + "setting": "The name of the setting you want to set.", + "value": "The new value." }, - "warning" : { - "nc" : "You don't seem to be connected to {{channel}}. Did you forget to join?" + "reset": { + "setting": "Which setting to reset." + }, + "help": { + "setting": "Omit to see all available settings." } + }, + "volume": { + "volume": "The new volume in percentages (e.g. `30` or `100`). If you go above 100% there might be quality loss." + }, + "volumedefault": { + "volume": "New volume in % (0–200) to save as server default. Leave empty to view current." + } + }, + "pagination": { + "embed": { + "sclosedContent": "{{content}}\nSession closed - Changing pages **won't work** from here.", + "sclosedTitle": "Session Closed" + }, + "error": { + "perms": { + "messages": "I am unable to send messages in {{channel}}. Please contact a server administrator and grant me the \"SendMessage\" permission.", + "reactions": "I need reaction permissions to work. Please contact a server administrator to address this." + } + } + }, + "subcommands": { + "settings": { + "get": "Get the value of a specific setting or the settings of the server.", + "set": "Set the value of a specific setting.", + "reset": "Reset a setting to its default value.", + "help": "Show help for the settings system, or explain a specific setting." + } + }, + "voice": { + "join": { + "cancelled": "Cancelled!", + "error": { + "dc": "It doesn't look like we're in the same voice channel.", + "invalid": "Invalid voice channel. Please try again and check capitalization! (`x` to cancel)", + "perms": "Something went wrong. Unable to join {{channel}}. Do I have the needed permissions?" + }, + "warning": { + "nc": "You don't seem to be connected to {{channel}}. Did you forget to join?" + } + } + }, + "responses": { + "_common": { + "nothingPlaying": "❌ There's nothing playing at the moment!", + "noVoiceChannel": "⚠️ Please join a voice channel first.", + "noVoiceStrict": "⚠️ You need to join a voice channel to use this command.", + "alreadyInChannel": "⚠️ I'm already playing in {{channels}}. Join that channel or use `{{prefix}}play` to start music in your channel.", + "notInVoice": "I'm not in a voice channel.", + "queueEmpty": "📭 The queue is empty. Use `{{prefix}}play` to add songs!", + "queueEnded": "🎵 The queue has ended — nothing left to play. Add more songs with `{{prefix}}play`!", + "notConnected": "It doesn't look like we're in the same voice channel.", + "controlsExpired": "⌛ Controls expired", + "sessionEnded": "Session ended", + "navigateHint": "💡 ⬅️ ➡️ Navigate", + "voiceSelectionPrompt": "Please select one of the following channels by clicking on the reactions below", + "voiceSelectionHint": "send a message with the voice channel! (Mention/Id/Name)\nSend 'x' to cancel.", + "voiceSelectionTimedOut": "⏱️ Voice selection timed out.", + "voiceConnectionLost": "❌ Voice connection lost. Please rejoin.", + "couldNotGetStream": "❌ Could not get stream URL for **{{title}}** — skipping.", + "errorStreaming": "❌ Error streaming **{{title}}** — skipping.", + "successfullyLeft": "✅ Successfully Left", + "voiceSelectionInvalid": "Invalid voice channel. Try again or type `x`.", + "voiceChannelRequired": "❌ Please join a **voice channel** first before using this command!" + }, + "clear": { + "cleared": "🗑️ Queue cleared." + }, + "debug": { + "voiceTitle": "🔧 Voice Debug" + }, + "eval": { + "resultTitle": "Eval Result", + "resultTitleError": "❌ Eval Result", + "resultTitleSuccess": "✅ Eval Result", + "typeLabel": "Type:", + "timeLabel": "Time:", + "pageLabel": "Page {{page}}/{{total}}", + "navigateHint": "• ⬅️ ➡️ Navigate • ❌ Delete", + "deleteHint": "• ❌ Delete", + "controlsExpired": "⌛ Controls expired" + }, + "filter": { + "pickerTitle": "🎛️ Audio Filter Picker", + "nothingPlaying": "❌ Nothing is playing right now.", + "nothingPlayingInline": "*Nothing playing*", + "applyFailed": "❌ Failed to apply **{{filter}}**: `{{reason}}`\n\nMake sure your NodeLink node has filters enabled.", + "applied": "{{emoji}} **{{label}}** applied!", + "removed": "{{emoji}} **{{label}}** removed.", + "cleared": "🔇 Filters cleared — original audio restored.", + "pendingCleared": "Filter cleared. Original audio will be used on the next playable track.", + "pendingApplied": "{{label}} saved. It will apply on the next playable track.", + "pendingRemoved": "{{label}} removed. The next playable track will use the updated filters.", + "noFilterActive": "🔇 No filter active.", + "filtersActive": "✅ Filters active: **{{filters}}**.", + "reactToToggle": "💡 React again to toggle, or ❌ to close.", + "sessionTimedOut": "⌛ Session timed out.", + "pickerClosed": "👋 Filter picker closed.", + "footer": "Page {{page}}/{{total}} • React with a filter emoji to toggle it", + "activeLabel": "**← active**", + "closeHint": "❌ Close" + }, + "forceleave": { + "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." + }, + "invite": { + "title": "Invite Remix", + "description": "Add Remix to your server directly from [FluxerList]().\n\nJoin our community at [fluxer.gg/remix](https://fluxer.gg/remix) for support, updates, and direct feedback." + }, + "join": { + "channelNotFound": "Couldn't find the channel `{{channel}}`\nUse the help command to learn more about this. (`%help join`)", + "alreadyJoined": "Already joined <#{{channel}}>.", + "audioNodeConnecting": "⚠️ Audio node is still connecting — please try again in a few seconds.", + "joining": "⏳ Joining Channel...", + "joined": "✅ Successfully joined <#{{channel}}>", + "joinFailed": "❌ Failed to join: {{error}}", + "noVoiceChannel": "❌ You're not in a voice channel. Please join one first, or specify a channel: `{{prefix}}join <#channel>`", + "voiceChannelNotFound": "❌ Couldn't find that voice channel. Try using a mention like `<#channelid>` or the exact channel name.", + "autoLeaveInactive": "Left channel <#{{channel}}> because of inactivity.", + "autoLeaveInactive247": "Left channel <#{{channel}}> because of inactivity.\nIf you want me to stay in voice, use `{{prefix}}247 on/auto`" + }, + "leave": { + "noVoiceChannel": "⚠️ Please join a voice channel first.", + "notInVoice": "I'm not in a voice channel.", + "joinChannel": "⚠️ Please join {{channel}} to use this command.", + "multipleChannels": "⚠️ I'm playing in multiple channels! Please join one of them:\n{{channels}}", + "playerNotInit": "Player not initialized.", + "leftRejoin247": "✅ Successfully Left — rejoining <#{{channel}}> in 5 seconds.\nTo disable 24/7 mode permanently, use `%247 off`.", + "left247On": "✅ Successfully Left.\nℹ️ 24/7 mode is **on** — bot won't rejoin automatically. Use `%play` to bring it back, or `%247 off` to fully disable." + }, + "list": { + "empty": "📭 The queue is empty. Use `{{prefix}}play` to add songs!", + "emptyInline": "_Queue is empty._", + "nowPlaying": "🎵 **Now Playing**", + "header": "📋 **{{count}} tracks in queue** • ⏱️ `{{time}}`", + "upNext": " ▶", + "queueTitle": "🎧 Queue" + }, + "login": { + "dashboardDisabled": "❌ The dashboard is not enabled on this bot.", + "success": "✅ Login succeeded! You can continue to the webpage now.", + "failed": "❌ Login failed! Reason: `{{error}}`. If this is an error and the issue persists, please contact a team member through the server in my description." + }, + "loop": { + "invalidChoice": "'{{choice}}' is not valid. Use `song` or `queue`", + "songActivated": "🔂 Song loop activated", + "songDisabled": "➡️ Song loop disabled", + "queueActivated": "🔁 Queue loop activated", + "queueDisabled": "➡️ Queue loop disabled" + }, + "lyrics": { + "nothingPlaying": "❌ There's nothing playing at the moment.", + "searching": "Loading frame Searching lyrics for **{{title}}**...", + "noLyrics": "❌ No lyrics available for **{{title}}**.\n\n💡 NodeLink lyrics plugin may not have this track. Try a popular song!", + "error": "❌ Error: {{error}}", + "syncedBadge": " ⏱️ Synced", + "nodeLinkFooter": "NodeLink • {{lines}} lines", + "controlsExpired": "⌛ Controls expired • NodeLink • {{lines}} lines", + "sessionClosed": "Session closed • NodeLink • {{lines}} lines" + }, + "np": { + "loading": "⏳ Loading...", + "nothingPlaying": "There's nothing playing at the moment.", + "nowPlayingIn": "🔊 **Now playing in:** <#{{channel}}>", + "playing": "🎵 Playing: **[{{title}}]({{url}})** ({{elapsed}}/{{duration}})", + "volume": "Volume: {{volume}}%", + "queueLoop": "Queue loop: **{{state}}**", + "songLoop": "Song loop: **{{state}}**", + "streaming": "📻 Streaming **[{{title}}]({{url}})**", + "playingBy": "Playing **[{{title}}]({{url}})** by [{{artist}}]({{artistUrl}})" + }, + "pause": { + "nothingPlaying": "❌ There's nothing playing at the moment!", + "alreadyPaused": "❌ Already paused!", + "paused": "⏸️ Paused" + }, + "play": { + "searching": "🔍 Searching...", + "loading": "Loading...", + "loadingFailed": "**Failed to load that track.**", + "added": "Successfully added [{{title}}]({{url}}) to the queue.", + "addedPlaylist": "Successfully added **{{count}}** songs to the queue.", + "nowPlaying": "🎵 Now playing [{{title}}]({{url}}) by {{author}} in <#{{channel}}>", + "noResults": "**No results found for '{{query}}'.**", + "searchFailed": "**Search failed. Please try again.**", + "noData": "Could not load track - no data returned.", + "loadFailed": "Failed to load track.", + "unexpectedResult": "Unexpected result from track loader.", + "loadError": "An error occurred while loading the track.", + "searchingProvider": "Searching {{provider}}..." + }, + "playnext": { + "searching": "🔍 Searching..." + }, + "player": { + "title": "🎧 Music Player Controls", + "inactiveTitle": "🎧 Music Player (Inactive)", + "nowPlayingLabel": "Now Playing", + "volumeLabel": "🔊 Volume: `{{volume}}%`", + "queueLabel": "📋 Queue: `{{count}}` tracks", + "loopOff": "Loop: ❌ Off", + "loopSong": "Loop: 🎂 Song", + "loopQueue": "Loop: 🔁 Queue", + "filterOff": "Filter: 🔇 Off", + "filterActive": "Filter: {{emoji}} **{{label}}**", + "filterStacked": "Filter: 🔥 **{{label}}**", + "reactHint": "💡 *React to control playback*", + "sessionExpires": "⏱️ Session expires in {{minutes}}m of inactivity", + "requestedBy": "Requested by {{username}} • Controls active", + "controlsDisabled": "⌛ Controls disabled (react to re-enable)", + "sessionClosed": "Session closed{{reason}}", + "closedByUser": "👋 Player controls closed", + "startedPlaying": "▶️ Started playing", + "resumed": "▶️ Resumed", + "pausedState": "⏸️ Paused", + "stopped": "⏹️ Stopped", + "stoppedCleared": "⏹️ Stopped and cleared", + "shuffled": "🔀 Queue shuffled", + "added": "➕ Added: {{title}}", + "volumeChanged": "🔊 Volume: {{volume}}%", + "filtersCleared": "🔇 Filters cleared", + "filterApplied": "{{emoji}} Filter: **{{label}}** applied", + "filterStackedApplied": "🔥 Filters: **{{label}}** applied", + "songLoopEnabled": "🔂 Song loop enabled", + "queueLoopEnabled": "🔁 Queue loop enabled", + "loopDisabled": "❌ Loop disabled", + "alreadyPlaying": "▶️ Already playing", + "startingPlayback": "▶️ Starting playback", + "previousNotImplemented": "⏮️ Previous track (not implemented)", + "openingFilterPicker": "🎛️ Opening filter picker — check the filter menu above or use the `filter` command.", + "filterError": "⚠️ Filter error: {{error}}", + "fetchingLyrics": "📜 Fetching lyrics...", + "noLyricsFound": "❌ No lyrics found in NodeLink", + "lyricsDisplayed": "Lyrics displayed ({{lines}} lines, {{pages}} pages)", + "lyricsError": "⚠️ Lyrics error: {{error}}" + }, + "radio": { + "noStations": "❌ No radio stations are configured.", + "stationsTitle": "📻 **Radio Stations (Page {{page}}/{{total}})**", + "timedOut": "📻 Radio selection timed out.", + "cancelled": "❌ Radio selection cancelled.", + "unknownStation": "❌ Unknown station `{{station}}`. Available: {{stations}}\n\nUse `%radio list` to browse.", + "nowPlaying": "📻 Now streaming _{{title}}_ by [{{author}}]({{url}}) in <#{{channel}}>", + "skipHint": "_Use `%skip` to stop the radio, or `%radio list` to switch stations._", + "prevNext": "⬅️ Previous ➡️ Next ❌ Cancel" + }, + "reload": { + "indexNoReload": "❌ `index.mjs` cannot be hot-reloaded — do a full restart.", + "unknownCommand": "❌ Unknown command `{{name}}`", + "noFileTracked": "❌ No file tracked for `{{name}}`", + "noBuilder": "❌ No builder returned from `{{name}}`", + "reloaded": "✅ `{{name}}`", + "fileNotFound": "❌ File not found: `{{label}}`", + "moduleError": "❌ `{{label}}`: {{error}}", + "unknownTarget": "❌ Unknown target `{{target}}`.\nRun `%reload` with no arguments to see all reloadable targets.", + "availableTargetsTitle": "🔄 Reload — Available Targets", + "runHint": "Run `%reload ` or use a batch keyword:", + "batchKeywords": "`all` · `commands` · `src` · `audio`", + "resultsHeader": "✅ **{{ok}}** reloaded · ❌ **{{bad}}** failed" + }, + "remove": { + "indexOutOfBounds": "Index out of bounds", + "removed": "Successfully removed **{{title}}** from the queue." + }, + "resume": { + "nothingPlaying": "❌ There's nothing playing at the moment!", + "notPaused": "❌ Not paused!", + "resumed": "▶️ Resumed" + }, + "search": { + "loadingResults": "⏳ Loading results...", + "searching": "Searching {{provider}}...", + "noResults": "❌ No results found.", + "resultsTitle": "{{provider}} — Search Results", + "reactHint": "React with a number to add to queue • ❌ to cancel • 30s timeout", + "cancelled": "❌ Cancelled.", + "added": "✅ Added [{{title}}]({{url}}) to the queue!", + "timedOut": "⏰ Search timed out.", + "sessionClosed": "Session closed" + }, + "servers": { + "noServers": "_No servers found._", + "title": "🌐 Servers ({{count}})", + "pageTitle": "🌐 Servers ({{count}}) - Page {{page}}/{{total}}", + "listComplete": "List complete" + }, + "settings": { + "unknownSetting": "❌ Unknown setting `{{setting}}`.", + "availableSettings": "Available: `{{settings}}`", + "setSuccess": "✅ **{{label}}** set to {{value}}", + "resetSuccess": "🔄 `{{setting}}` has been reset to its default: {{value}}", + "mustBeBool": "❌ `{{setting}}` must be a boolean.\nAccepted: `true`, `false`, `on`, `off`, `enable`, `disable`", + "volumeRange": "❌ Volume must be a number between **1** and **200**.", + "invalidLocale": "❌ `{{locale}}` is not a supported locale.\nAvailable locales: {{locales}}", + "prefixLength": "❌ Prefix must be between **1** and **5** characters.", + "prefixSpaces": "❌ Prefix cannot contain spaces.", + "invalid247": "❌ Invalid value `{{value}}` for 24/7 mode.\n\n**Valid options:**\n• `off` — bot leaves after inactivity\n• `on` — bot stays active in the saved channel list\n• `auto` — bot stays active and keeps the saved channel list ready for recovery", + "noServer": "❌ Could not detect your server.", + "noVoice247": "❌ You're not in a voice channel. Join one first, then run `%247 {{mode}}` again.", + "247Disabled": "✅ 24/7 mode **disabled** for <#{{channel}}>. Bot has left.", + "247DisabledAll": "✅ 24/7 mode **disabled** for all channels in this server.", + "247Set": "✅ 24/7 mode set to **{{mode}}** for <#{{channel}}>.\n{{summary}}", + "247Joined": "✅ 24/7 mode set to **{{mode}}** for <#{{channel}}>. Bot joined!\n{{summary}}", + "247JoinFailed": "✅ 24/7 mode saved for <#{{channel}}>, but failed to join: {{error}}\n{{summary}}", + "247Status": "24/7 mode: {{status}}", + "helpTitle": "⚙️ Settings Help", + "helpAvailable": "**Available settings:** {{settings}}", + "helpSubcommands": "**Subcommands:**\n• `{{prefix}}settings get` — list all current values\n• `{{prefix}}settings get ` — view a single setting\n• `{{prefix}}settings set ` — change a setting\n• `{{prefix}}settings reset ` — restore default value\n• `{{prefix}}settings help ` — describe a setting", + "helpShortcuts": "**Shortcuts:** `{{prefix}}prefix`, `{{prefix}}247`", + "serverTitle": "⚙️ Server Settings", + "serverHeader": "Server: **{{name}}**", + "shortcutsHint": "Shortcuts: `{{prefix}}247`, `{{prefix}}prefix`\nUse `{{prefix}}settings help ` to learn about any setting." + }, + "shuffle": { + "emptyQueue": "There is nothing to shuffle in the queue.", + "shuffled": "🔀 Shuffled queue" + }, + "skip": { + "nothingPlaying": "❌ There's nothing playing at the moment!", + "skipped": "⏭️ Skipped", + "skippedTrack": "⏭️ Skipped [{{title}}]({{url}})", + "skippedToPosition": "⏭️ Skipped to position {{position}}" + }, + "stats": { + "title": "Remix Music Bot", + "servers": "📂 **Servers**", + "users": "👥 **Users**", + "players": "🎧 **Players**", + "ping": "🏓 **Ping**", + "uptime": "⏱️ **Uptime**", + "build": "🔧 **Build**", + "lastRestart": "🪛 **Last restart**", + "supportKofi": "☕ [Support us on Ko-fi](https://ko-fi.com/remixbot)", + "community": "💬 [Community](https://fluxer.gg/Remix)" + }, + "support": { + "title": "💬 Support", + "description": "For anything regarding Remix, head over to our server:\n[Remix HQ](https://fluxer.gg/remix)\n\nIf you don't want to join, feel free to contact the team members listed in the server." + }, + "test": { + "notInServer": "❌ Must be used in a server.", + "noOneInVoice": "No one is in voice.", + "title": "🎙️ Voice Channel Members", + "channelEntry": "🔊 **{{name}}**: {{count}} members" + }, + "thumbnail": { + "nothingPlaying": "There's nothing playing at the moment.", + "noThumbnail": "No thumbnail available.", + "thumbnail": "Thumbnail of [{{title}}]({{url}}):" + }, + "volume": { + "current": "🔊 Current volume: `{{volume}}%`", + "outOfRange": "❌ Volume must be between `0` and `{{max}}%`.", + "changed": "🔊 Volume changed to `{{volume}}%` for this session.", + "setPending": "Volume set to `{{volume}}%` — will apply when connected." + }, + "volumedefault": { + "title": "🔊 Volume Settings", + "serverDefault": "• Server default: `{{volume}}%`", + "currentVolume": "• Current player volume: `{{volume}}%`", + "changeHint": "To change the default, use: `{{prefix}}volumedefault <0-{{max}}>`", + "noPermission": "⚠️ You need **Manage Server** permission to change the default.", + "noPermissionSet": "❌ You need **Manage Server** permission to set the server default volume.", + "outOfRange": "❌ Volume must be between `0` and `{{max}}%`.", + "saved": "🔊 Server default volume saved as `{{volume}}%`." } } -} \ No newline at end of file +} diff --git a/storage/locales/bot/pt-BR.json b/storage/locales/bot/pt-BR.json index c1b339e..b04a2ef 100644 --- a/storage/locales/bot/pt-BR.json +++ b/storage/locales/bot/pt-BR.json @@ -1,18 +1,487 @@ { - "cmdBuilder" : { - "requirement" : { - "permission" : "Você não tem as permissões necessárias para executar este comando!" - } - }, - "cmdHandler" : { - "command" : { - "invalid" : "Comando desconhecido {{command}}!" + "cmdBuilder": { + "requirement": { + "permission": "Você não tem as permissões necessárias para executar este comando!" }, - "page" : { - "invalid" : "{{number}} não é um n" + "subcommand": { + "invalid": "Subcomando inválido. Tente uma das seguintes opções: `$previousCmd <$cmdlist>`" } }, - "commands" : { - "clear" : "Remover todas m" + "cmdHandler": { + "command": { + "invalid": "Comando desconhecido {{command}}!", + "suggestion": "Você quis dizer {{command}}? (Digite {{acceptCommand}} para executá-lo)" + }, + "help": { + "pageStructure": "Comandos Disponíveis (página $currPage/$maxPage): \n\n$content\n\nExecute `$prefix$helpCmd ` para saber mais. Você também pode incluir subcomandos.\nExemplo: `$prefix$helpCmd settings get`\n\nDica: Use as setas abaixo desta mensagem para mudar de página, ou especifique o número da página com `$prefix$helpCmd `", + "unknownCommand": "❌ Comando desconhecido `{{command}}`. Use `{{prefix}}help` para navegar." + }, + "invalidFlag": "Flag inválida `$invalidFlag`. Não corresponde a nenhuma opção deste comando.\n`$previousCmd $invalidFlag`", + "page": { + "invalid": "{{number}} não é um número de página válido!" + }, + "permissions": { + "message": "Por favor, conceda-me a permissão {{permission}} em {{channel}} ou entre em contato com um administrador do servidor. Não consigo operar sem isso." + } + }, + "commands": { + "clear": "Remova todas as músicas da fila.", + "debug": "Um comando de depuração para vários fins.", + "eval": "Avalia código JavaScript (Apenas para o dono).", + "filter": "Abra um seletor de filtros interativo — reaja com um emoji para aplicar um efeito de áudio.", + "forceleave": "Faça o Remix sair de um canal mesmo que você não esteja nele.", + "invite": "Obtenha o link de convite do Remix e do servidor de suporte.", + "join": "Faça o bot entrar no seu canal de voz ou especifique um.", + "leave": "Faça o bot sair do seu canal de voz atual.", + "list": "Liste as músicas na fila do seu canal de voz atual.", + "login": "Confirme o login da sua conta no site.", + "loop": "Ative/desative o loop da fila/música.", + "lyrics": "Exiba letras sincronizadas do NodeLink.", + "np": "Solicite o nome e a URL da música que está tocando atualmente.", + "pause": "Pause a reprodução no seu canal de voz.", + "play": "Toque uma música ou playlist a partir de uma URL ou consulta de busca.\nSuporta YouTube, Spotify, SoundCloud, Deezer, Apple Music, Tidal e mais.\nBusca padrão: YouTube Music. Use `-p ` ou prefixo inline como `sp: blinding lights`.", + "player": "Crie um painel de controle interativo com progresso ao vivo.", + "playnext": "Igual ao %play, mas adiciona o resultado ao topo da fila.", + "radio": "Toque uma estação de rádio. Use `%radio list` para ver todas as estações.", + "reload": "Recarregue comandos, módulos src ou módulos de áudio. Deixe vazio para ver todos os alvos.", + "remove": "Remova uma música específica da fila.", + "resume": "Retome a reprodução no seu canal de voz.", + "search": "Exiba resultados de busca para uma consulta e escolha uma para tocar.\nSuporta todos os provedores — use prefixo inline como `sp: música` ou `-p dz`.", + "servers": "Veja a lista de servidores onde o bot está.", + "settings": "Altere/veja configurações no servidor atual.", + "shuffle": "Embaralhe a fila aleatoriamente.", + "skip": "Pule a música que está tocando atualmente.", + "stats": "Exiba estatísticas sobre o bot como o tempo de atividade.", + "support": "O servidor de suporte do Remix. Sinta-se à vontade para pedir ajuda, reportar bugs ou só conversar :)", + "test": "Mostra quantas pessoas estão em cada canal de voz.", + "thumbnail": "Solicite a thumbnail da música que está tocando atualmente.", + "volume": "Veja ou altere o volume atual.", + "volumedefault": "Veja ou defina o volume padrão do servidor. (Requer Gerenciar Servidor para definir)" + }, + "options": { + "debug": { + "target": "O alvo que deve ser examinado." + }, + "eval": { + "expression": "A expressão JavaScript para avaliar" + }, + "filter": { + "name": "Nome do filtro" + }, + "forceleave": { + "channelId": "O canal que deve ser deixado." + }, + "join": { + "channel": "Menção, ID ou nome de um canal de voz para entrar. Padrão: seu canal atual." + }, + "login": { + "id": "O ID que você obteve ao fazer login no painel." + }, + "loop": { + "type": "Especifica qual loop deve ser alternado." + }, + "play": { + "query": "Uma consulta de busca, URL ou consulta com prefixo de provedor como `sp: nome da música`.", + "provider": "O provedor de busca. Padrão: YouTube Music. Ou use prefixo inline: sp:, dz:, am:, yt:, sc: etc." + }, + "playnext": { + "query": "Uma consulta de busca, URL ou consulta com prefixo de provedor como `sp: nome da música`.", + "provider": "O provedor de busca. Padrão: YouTube Music." + }, + "radio": { + "station": "Nome da estação, 'list' para navegar ou deixe vazio para a padrão." + }, + "reload": { + "target": "Nome do comando/módulo ou: all | commands | src | audio" + }, + "remove": { + "index": "A posição da música na fila. Você pode ver os índices com o comando 'list'." + }, + "search": { + "provider": "O provedor de busca. Padrão: YouTube Music.", + "query": "A consulta para buscar, ou uma consulta com prefixo de provedor como `sp: nome da música`." + }, + "settings": { + "get": { + "setting": "Veja o valor atual de uma configuração." + }, + "set": { + "setting": "O nome da configuração que você deseja alterar.", + "value": "O novo valor." + }, + "reset": { + "setting": "A configuração que deseja redefinir." + }, + "help": { + "setting": "Deixe vazio para ver todas as configurações disponíveis." + } + }, + "volume": { + "volume": "O novo volume em porcentagem (ex: `30` ou `100`). Acima de 100% pode haver perda de qualidade." + }, + "volumedefault": { + "volume": "Novo volume em % (0-200) para salvar como padrão do servidor. Deixe vazio para ver o atual." + } + }, + "pagination": { + "embed": { + "sclosedContent": "{{content}}\nSessão encerrada — Mudar de páginas **não funciona** mais a partir daqui.", + "sclosedTitle": "Sessão Encerrada" + }, + "error": { + "perms": { + "messages": "Não consigo enviar mensagens em {{channel}}. Por favor, entre em contato com um administrador do servidor e conceda-me a permissão \"SendMessage\".", + "reactions": "Preciso de permissão de reações para funcionar. Por favor, entre em contato com um administrador do servidor." + } + } + }, + "subcommands": { + "settings": { + "get": "Veja o valor de uma configuração específica ou as configurações do servidor.", + "set": "Defina o valor de uma configuração específica.", + "reset": "Redefina uma configuração para o valor padrão.", + "help": "Mostre ajuda para o sistema de configurações ou explique uma configuração específica." + } + }, + "voice": { + "join": { + "cancelled": "Cancelado!", + "error": { + "dc": "Parece que não estamos no mesmo canal de voz.", + "invalid": "Canal de voz inválido. Por favor, tente novamente e verifique maiúsculas/minúsculas! (`x` para cancelar)", + "perms": "Algo deu errado. Não foi possível entrar em {{channel}}. Tenho as permissões necessárias?" + }, + "warning": { + "nc": "Parece que você não está conectado a {{channel}}. Esqueceu de entrar?" + } + } + }, + "responses": { + "_common": { + "nothingPlaying": "❌ Não está tocando nada no momento!", + "noVoiceChannel": "⚠️ Por favor, entre em um canal de voz primeiro.", + "noVoiceStrict": "⚠️ Você precisa entrar em um canal de voz para usar este comando.", + "alreadyInChannel": "⚠️ Já estou tocando em {{channels}}. Entre nesse canal ou use `{{prefix}}play` para começar a tocar no seu canal.", + "notInVoice": "Não estou em um canal de voz.", + "queueEmpty": "📭 A fila está vazia. Use `{{prefix}}play` para adicionar músicas!", + "queueEnded": "🎵 A fila acabou — nada mais para tocar. Adicione mais músicas com `{{prefix}}play`!", + "notConnected": "Parece que não estamos no mesmo canal de voz.", + "controlsExpired": "⌛ Controles expirados", + "sessionEnded": "Sessão encerrada", + "navigateHint": "💡 ⬅️ ➡️ Navegar", + "voiceSelectionPrompt": "Por favor, selecione um dos canais abaixo clicando nas reações", + "voiceSelectionHint": "envie uma mensagem com o canal de voz! (Menção/Id/Nome)\nEnvie 'x' para cancelar.", + "voiceSelectionTimedOut": "⏱️ Tempo de seleção de canal esgotado.", + "voiceConnectionLost": "❌ Conexão de voz perdida. Por favor, reconecte.", + "couldNotGetStream": "❌ Não foi possível obter a URL do stream para **{{title}}** — pulando.", + "errorStreaming": "❌ Erro ao transmitir **{{title}}** — pulando.", + "successfullyLeft": "✅ Saiu com sucesso", + "voiceSelectionInvalid": "Canal de voz inválido. Tente novamente ou digite `x`.", + "voiceChannelRequired": "❌ Por favor, entre em um **canal de voz** primeiro antes de usar este comando!" + }, + "clear": { + "cleared": "🗑️ Fila limpa." + }, + "debug": { + "voiceTitle": "🔧 Debug de Voz" + }, + "eval": { + "resultTitle": "Resultado da Avaliação", + "resultTitleError": "❌ Resultado da Avaliação", + "resultTitleSuccess": "✅ Resultado da Avaliação", + "typeLabel": "Tipo:", + "timeLabel": "Tempo:", + "pageLabel": "Página {{page}}/{{total}}", + "navigateHint": "• ⬅️ ➡️ Navegar • ❌ Excluir", + "deleteHint": "• ❌ Excluir", + "controlsExpired": "⌛ Controles expirados" + }, + "filter": { + "pickerTitle": "🎛️ Seletor de Filtros de Áudio", + "nothingPlaying": "❌ Não está tocando nada no momento.", + "nothingPlayingInline": "*Nada tocando*", + "applyFailed": "❌ Falha ao aplicar **{{filter}}**: `{{reason}}`\n\nCertifique-se de que seu nó NodeLink tem filtros habilitados.", + "applied": "{{emoji}} **{{label}}** aplicado!", + "removed": "{{emoji}} **{{label}}** removido.", + "cleared": "🔇 Filtros limpos — áudio original restaurado.", + "pendingCleared": "Filtro limpo. O áudio original será usado na próxima faixa reproduzível.", + "pendingApplied": "{{label}} salvo. Será aplicado na próxima faixa reproduzível.", + "pendingRemoved": "{{label}} removido. A próxima faixa reproduzível usará os filtros atualizados.", + "noFilterActive": "🔇 Nenhum filtro ativo.", + "filtersActive": "✅ Filtros ativos: **{{filters}}**.", + "reactToToggle": "💡 Reaja novamente para alternar ou ❌ para fechar.", + "sessionTimedOut": "⌛ Tempo da sessão esgotado.", + "pickerClosed": "👋 Seletor de filtros fechado.", + "footer": "Página {{page}}/{{total}} • Reaja com o emoji de um filtro para alternar", + "activeLabel": "**← ativo**", + "closeHint": "❌ Fechar" + }, + "forceleave": { + "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." + }, + "invite": { + "title": "Convide o Remix", + "description": "Adicione o Remix ao seu servidor diretamente pelo [FluxerList]().\n\nJunte-se à nossa comunidade em [fluxer.gg/remix](https://fluxer.gg/remix) para suporte, atualizações e feedback direto." + }, + "join": { + "channelNotFound": "Não foi possível encontrar o canal `{{channel}}`\nUse o comando de ajuda para saber mais. (`%help join`)", + "alreadyJoined": "Já entrou em <#{{channel}}>.", + "audioNodeConnecting": "⚠️ O nó de áudio ainda está conectando — por favor, tente novamente em alguns segundos.", + "joining": "⏳ Entrando no canal...", + "joined": "✅ Entrou com sucesso em <#{{channel}}>", + "joinFailed": "❌ Falha ao entrar: {{error}}", + "noVoiceChannel": "❌ Você não está em um canal de voz. Entre em um primeiro ou especifique um canal: `{{prefix}}join <#canal>`", + "voiceChannelNotFound": "❌ Não foi possível encontrar esse canal de voz. Tente usar uma menção como `<#id_do_canal>` ou o nome exato do canal.", + "autoLeaveInactive": "Sai do canal <#{{channel}}> por inatividade.", + "autoLeaveInactive247": "Sai do canal <#{{channel}}> por inatividade.\nSe quiser que eu permaneça no canal de voz, use `{{prefix}}247 on/auto`" + }, + "leave": { + "noVoiceChannel": "⚠️ Por favor, entre em um canal de voz primeiro.", + "notInVoice": "Não estou em um canal de voz.", + "joinChannel": "⚠️ Por favor, entre em {{channel}} para usar este comando.", + "multipleChannels": "⚠️ Estou tocando em vários canais! Por favor, entre em um deles:\n{{channels}}", + "playerNotInit": "Player não inicializado.", + "leftRejoin247": "✅ Sai com sucesso — reentrando em <#{{channel}}> em 5 segundos.\nPara desativar o modo 24/7 permanentemente, use `%247 off`.", + "left247On": "✅ Sai com sucesso.\nℹ️ O modo 24/7 está **ativo** — o bot não voltará automaticamente. Use `%play` para trazê-lo de volta ou `%247 off` para desativar completamente." + }, + "list": { + "empty": "📭 A fila está vazia. Use `{{prefix}}play` para adicionar músicas!", + "emptyInline": "_A fila está vazia._", + "nowPlaying": "🎵 **Tocando Agora**", + "header": "📋 **{{count}} faixas na fila** • ⏱️ `{{time}}`", + "upNext": " ▶", + "queueTitle": "🎧 Fila" + }, + "login": { + "dashboardDisabled": "❌ O painel não está habilitado neste bot.", + "success": "✅ Login bem-sucedido! Você pode continuar para a página web agora.", + "failed": "❌ Falha no login! Motivo: `{{error}}`. Se isso for um erro e o problema persistir, entre em contato com um membro da equipe através do servidor na minha descrição." + }, + "loop": { + "invalidChoice": "'{{choice}}' é inválido. Use `song` ou `queue`", + "songActivated": "🔂 Loop de música ativado", + "songDisabled": "➡️ Loop de música desativado", + "queueActivated": "🔁 Loop da fila ativado", + "queueDisabled": "➡️ Loop da fila desativado" + }, + "lyrics": { + "nothingPlaying": "❌ Não está tocando nada no momento.", + "searching": "Buscando letras para **{{title}}**...", + "noLyrics": "❌ Nenhuma letra disponível para **{{title}}**.\n\n💡 O plugin de letras do NodeLink pode não ter esta faixa. Tente uma música popular!", + "error": "❌ Erro: {{error}}", + "syncedBadge": " ⏱️ Sincronizado", + "nodeLinkFooter": "NodeLink • {{lines}} linhas", + "controlsExpired": "⌛ Controles expirados • NodeLink • {{lines}} linhas", + "sessionClosed": "Sessão encerrada • NodeLink • {{lines}} linhas" + }, + "np": { + "loading": "⏳ Carregando...", + "nothingPlaying": "Não está tocando nada no momento.", + "nowPlayingIn": "🔊 **Tocando agora em:** <#{{channel}}>", + "playing": "🎵 Tocando: **[{{title}}]({{url}})** ({{elapsed}}/{{duration}})", + "volume": "Volume: {{volume}}%", + "queueLoop": "Loop da fila: **{{state}}**", + "songLoop": "Loop de música: **{{state}}**", + "streaming": "📻 Transmitindo **[{{title}}]({{url}})**", + "playingBy": "Tocando **[{{title}}]({{url}})** por [{{artist}}]({{artistUrl}})" + }, + "pause": { + "nothingPlaying": "❌ Não está tocando nada no momento!", + "alreadyPaused": "❌ Já está pausado!", + "paused": "⏸️ Pausado" + }, + "play": { + "searching": "🔍 Buscando...", + "loading": "Carregando...", + "loadingFailed": "**Falha ao carregar esta faixa.**", + "added": "[{{title}}]({{url}}) adicionado à fila com sucesso.", + "addedPlaylist": "**{{count}}** músicas adicionadas à fila com sucesso.", + "nowPlaying": "🎵 Tocando agora [{{title}}]({{url}}) por {{author}} em <#{{channel}}>", + "noResults": "**Nenhum resultado encontrado para '{{query}}'.**", + "searchFailed": "**A busca falhou. Por favor, tente novamente.**", + "noData": "Não foi possível carregar a faixa — nenhum dado retornado.", + "loadFailed": "Falha ao carregar a faixa.", + "unexpectedResult": "Resultado inesperado do carregador de faixas.", + "loadError": "Ocorreu um erro ao carregar a faixa.", + "searchingProvider": "Buscando no {{provider}}..." + }, + "playnext": { + "searching": "🔍 Buscando..." + }, + "player": { + "title": "🎧 Controles do Player de Música", + "inactiveTitle": "🎧 Player de Música (Inativo)", + "nowPlayingLabel": "Tocando Agora", + "volumeLabel": "🔊 Volume: `{{volume}}%`", + "queueLabel": "📋 Fila: `{{count}}` faixas", + "loopOff": "Loop: ❌ Desativado", + "loopSong": "Loop: 🎂 Música", + "loopQueue": "Loop: 🔁 Fila", + "filterOff": "Filtro: 🔇 Desativado", + "filterActive": "Filtro: {{emoji}} **{{label}}**", + "filterStacked": "Filtro: 🔥 **{{label}}**", + "reactHint": "💡 *Reaja para controlar a reprodução*", + "sessionExpires": "⏱️ Sessão expira em {{minutes}}min de inatividade", + "requestedBy": "Solicitado por {{username}} • Controles ativos", + "controlsDisabled": "⌛ Controles desativados (reaja para reativar)", + "sessionClosed": "Sessão encerrada{{reason}}", + "closedByUser": "👋 Controles do player fechados", + "startedPlaying": "▶️ Começou a tocar", + "resumed": "▶️ Retomado", + "pausedState": "⏸️ Pausado", + "stopped": "⏹️ Parado", + "stoppedCleared": "⏹️ Parado e limpo", + "shuffled": "🔀 Fila embaralhada", + "added": "➕ Adicionado: {{title}}", + "volumeChanged": "🔊 Volume: {{volume}}%", + "filtersCleared": "🔇 Filtros limpos", + "filterApplied": "{{emoji}} Filtro: **{{label}}** aplicado", + "filterStackedApplied": "🔥 Filtros: **{{label}}** aplicados", + "songLoopEnabled": "🔜 Loop de música ativado", + "queueLoopEnabled": "🔁 Loop da fila ativado", + "loopDisabled": "❌ Loop desativado", + "alreadyPlaying": "▶️ Já está tocando", + "startingPlayback": "▶️ Iniciando reprodução", + "previousNotImplemented": "⏮️ Faixa anterior (não implementado)", + "openingFilterPicker": "🎛️ Abrindo seletor de filtros — confira o menu de filtros acima ou use o comando `filter`.", + "filterError": "⚠️ Erro no filtro: {{error}}", + "fetchingLyrics": "📜 Buscando letras...", + "noLyricsFound": "❌ Nenhuma letra encontrada no NodeLink", + "lyricsDisplayed": "Letras exibidas ({{lines}} linhas, {{pages}} páginas)", + "lyricsError": "⚠️ Erro nas letras: {{error}}" + }, + "radio": { + "noStations": "❌ Nenhuma estação de rádio configurada.", + "stationsTitle": "📻 **Estações de Rádio (Página {{page}}/{{total}})**", + "timedOut": "📻 Tempo de seleção de rádio esgotado.", + "cancelled": "❌ Seleção de rádio cancelada.", + "unknownStation": "❌ Estação desconhecida `{{station}}`. Disponíveis: {{stations}}\n\nUse `%radio list` para navegar.", + "nowPlaying": "📻 Transmitindo agora _{{title}}_ por [{{author}}]({{url}}) em <#{{channel}}>", + "skipHint": "_Use `%skip` para parar o rádio ou `%radio list` para trocar de estação._", + "prevNext": "⬅️ Anterior ➡️ Próximo ❌ Cancelar" + }, + "reload": { + "indexNoReload": "❌ `index.mjs` não pode ser recarregado — faça uma reinicialização completa.", + "unknownCommand": "❌ Comando desconhecido `{{name}}`", + "noFileTracked": "❌ Nenhum arquivo rastreado para `{{name}}`", + "noBuilder": "❌ Nenhum builder retornado de `{{name}}`", + "reloaded": "✅ `{{name}}`", + "fileNotFound": "❌ Arquivo não encontrado: `{{label}}`", + "moduleError": "❌ `{{label}}`: {{error}}", + "unknownTarget": "❌ Alvo desconhecido `{{target}}`.\nExecute `%reload` sem argumentos para ver todos os alvos recarregáveis.", + "availableTargetsTitle": "🔄 Recarregar — Alvos Disponíveis", + "runHint": "Execute `%reload ` ou use uma palavra-chave em lote:", + "batchKeywords": "`all` · `commands` · `src` · `audio`", + "resultsHeader": "✅ **{{ok}}** recarregados · ❌ **{{bad}}** falharam" + }, + "remove": { + "indexOutOfBounds": "Índice fora do intervalo", + "removed": "**{{title}}** removido da fila com sucesso." + }, + "resume": { + "nothingPlaying": "❌ Não está tocando nada no momento!", + "notPaused": "❌ Não está pausado!", + "resumed": "▶️ Retomado" + }, + "search": { + "loadingResults": "⏳ Carregando resultados...", + "searching": "Buscando no {{provider}}...", + "noResults": "❌ Nenhum resultado encontrado.", + "resultsTitle": "{{provider}} — Resultados da Busca", + "reactHint": "Reaja com um número para adicionar à fila • ❌ para cancelar • 30s de tempo limite", + "cancelled": "❌ Cancelado.", + "added": "✅ [{{title}}]({{url}}) adicionado à fila!", + "timedOut": "⏰ Tempo de busca esgotado.", + "sessionClosed": "Sessão encerrada" + }, + "servers": { + "noServers": "_Nenhum servidor encontrado._", + "title": "🌐 Servidores ({{count}})", + "pageTitle": "🌐 Servidores ({{count}}) - Página {{page}}/{{total}}", + "listComplete": "Lista completa" + }, + "settings": { + "unknownSetting": "❌ Configuração desconhecida `{{setting}}`.", + "availableSettings": "Disponíveis: `{{settings}}`", + "setSuccess": "✅ **{{label}}** definido como {{value}}", + "resetSuccess": "🔄 `{{setting}}` foi redefinido para o padrão: {{value}}", + "mustBeBool": "❌ `{{setting}}` deve ser um booleano.\nAceitos: `true`, `false`, `on`, `off`, `enable`, `disable`", + "volumeRange": "❌ O volume deve ser um número entre **1** e **200**.", + "invalidLocale": "❌ `{{locale}}` não é um idioma suportado.\nIdiomas disponíveis: {{locales}}", + "prefixLength": "❌ O prefixo deve ter entre **1** e **5** caracteres.", + "prefixSpaces": "❌ O prefixo não pode conter espaços.", + "invalid247": "❌ Valor inválido `{{value}}` para o modo 24/7.\n\n**Opções válidas:**\n• `off` — bot sai após inatividade\n• `on` — bot permanece ativo na lista de canais salva\n• `auto` — bot permanece ativo e mantém a lista de canais pronta para recuperação", + "noServer": "❌ Não foi possível detectar seu servidor.", + "noVoice247": "❌ Você não está em um canal de voz. Entre em um primeiro e depois execute `%247 {{mode}}` novamente.", + "247Disabled": "✅ Modo 24/7 **desativado** para <#{{channel}}>. Bot saiu.", + "247DisabledAll": "✅ Modo 24/7 **desativado** para todos os canais neste servidor.", + "247Set": "✅ Modo 24/7 definido como **{{mode}}** para <#{{channel}}>.\n{{summary}}", + "247Joined": "✅ Modo 24/7 definido como **{{mode}}** para <#{{channel}}>. Bot entrou!\n{{summary}}", + "247JoinFailed": "✅ Modo 24/7 salvo para <#{{channel}}>, mas falha ao entrar: {{error}}\n{{summary}}", + "247Status": "Modo 24/7: {{status}}", + "helpTitle": "⚙️ Ajuda de Configurações", + "helpAvailable": "**Configurações disponíveis:** {{settings}}", + "helpSubcommands": "**Subcomandos:**\n• `{{prefix}}settings get` — listar todos os valores atuais\n• `{{prefix}}settings get ` — ver uma configuração específica\n• `{{prefix}}settings set ` — alterar uma configuração\n• `{{prefix}}settings reset ` — restaurar valor padrão\n• `{{prefix}}settings help ` — descrever uma configuração", + "helpShortcuts": "**Atalhos:** `{{prefix}}prefix`, `{{prefix}}247`", + "serverTitle": "⚙️ Configurações do Servidor", + "serverHeader": "Servidor: **{{name}}**", + "shortcutsHint": "Atalhos: `{{prefix}}247`, `{{prefix}}prefix`\nUse `{{prefix}}settings help ` para saber mais sobre qualquer configuração." + }, + "shuffle": { + "emptyQueue": "Não há nada para embaralhar na fila.", + "shuffled": "🔀 Fila embaralhada" + }, + "skip": { + "nothingPlaying": "❌ Não está tocando nada no momento!", + "skipped": "⏭️ Pulado", + "skippedTrack": "⏭️ Pulado [{{title}}]({{url}})", + "skippedToPosition": "⏭️ Pulou para a posição {{position}}" + }, + "stats": { + "title": "Remix Music Bot", + "servers": "📂 **Servidores**", + "users": "👥 **Usuários**", + "players": "🎧 **Players**", + "ping": "🏓 **Ping**", + "uptime": "⏱️ **Tempo de Atividade**", + "build": "🔧 **Build**", + "lastRestart": "🪛 **Último Reinício**", + "supportKofi": "☕ [Apoie-nos no Ko-fi](https://ko-fi.com/remixbot)", + "community": "💬 [Comunidade](https://fluxer.gg/Remix)" + }, + "support": { + "title": "💬 Suporte", + "description": "Para qualquer coisa sobre o Remix, acesse nosso servidor:\n[Remix HQ](https://fluxer.gg/remix)\n\nSe não quiser entrar, sinta-se à vontade para contatar os membros da equipe listados no servidor." + }, + "test": { + "notInServer": "❌ Deve ser usado em um servidor.", + "noOneInVoice": "Ninguém está no canal de voz.", + "title": "🎙️ Membros do Canal de Voz", + "channelEntry": "🔊 **{{name}}**: {{count}} membros" + }, + "thumbnail": { + "nothingPlaying": "Não está tocando nada no momento.", + "noThumbnail": "Nenhuma thumbnail disponível.", + "thumbnail": "Thumbnail de [{{title}}]({{url}}):" + }, + "volume": { + "current": "🔊 Volume atual: `{{volume}}%`", + "outOfRange": "❌ O volume deve estar entre `0` e `{{max}}%`.", + "changed": "🔊 Volume alterado para `{{volume}}%` nesta sessão.", + "setPending": "Volume definido para `{{volume}}%` — será aplicado quando conectado." + }, + "volumedefault": { + "title": "🔊 Configurações de Volume", + "serverDefault": "• Padrão do servidor: `{{volume}}%`", + "currentVolume": "• Volume atual do player: `{{volume}}%`", + "changeHint": "Para alterar o padrão, use: `{{prefix}}volumedefault <0-{{max}}>`", + "noPermission": "⚠️ Você precisa da permissão **Gerenciar Servidor** para alterar o padrão.", + "noPermissionSet": "❌ Você precisa da permissão **Gerenciar Servidor** para definir o volume padrão do servidor.", + "outOfRange": "❌ O volume deve estar entre `0` e `{{max}}%`.", + "saved": "🔊 Volume padrão do servidor salvo como `{{volume}}%`." + } } -} \ No newline at end of file +}