mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
feat(i18n): localize all newly upgraded command embeds across 6 languages
- Add complete translations for en, ar-SA, ckb, tr, de-DE, and pt-BR - Localize author headers, fields, and footers for playnext, remove, move, and trackopt - Localize audio mastering fields for normalize and volumedefault - Localize Last.fm whoknows leaderboards and Crown Holder cards - Localize help command inspector and voice channel picker embeds - Ensure 0 missing keys and 100% translation coverage
This commit is contained in:
1 parent
8689dee50a
commit
63433816c4
16 files changed
+420
-120
No files matched your search
@@ -67,9 +67,9 @@ export async function run(message, data) {
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: "🎚️ Dynamic Loudness Normalization" })
|
||||
.setTitle("EBU R128 Audio Leveling")
|
||||
.setFooter({ text: "Balances volume differences across YouTube, Spotify & SoundCloud" });
|
||||
.setAuthor({ name: this.t(message, "responses.normalize.headerAuthor") })
|
||||
.setTitle(this.t(message, "responses.normalize.headerTitle"))
|
||||
.setFooter({ text: this.t(message, "responses.normalize.footer") });
|
||||
|
||||
const statusMsg = newState
|
||||
? this.t(message, "responses.normalize.statusEnabled")
|
||||
@@ -87,9 +87,9 @@ export async function run(message, data) {
|
||||
const gainSign = gain >= 1 ? "+" : "";
|
||||
|
||||
embed.addFields(
|
||||
{ name: "Track Source", value: source || "Default", inline: true },
|
||||
{ name: "Gain Offset", value: `${gainSign}${gainDb} dB (${(gain * 100).toFixed(0)}%)`, inline: true },
|
||||
{ name: "Effective Volume", value: `${Math.round(p.getEffectiveVolume())}%`, inline: true }
|
||||
{ name: this.t(message, "responses.normalize.fieldSource"), value: source || "Default", inline: true },
|
||||
{ name: this.t(message, "responses.normalize.fieldGainOffset"), value: `${gainSign}${gainDb} dB (${(gain * 100).toFixed(0)}%)`, inline: true },
|
||||
{ name: this.t(message, "responses.normalize.fieldEffectiveVolume"), value: `${Math.round(p.getEffectiveVolume())}%`, inline: true }
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user