Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/languages/de-DE/commands/fun.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"escaperopeDescription": "Benutze das Fluchtseil aus Pokémon.",
"escaperopeExtended": {
"extendedHelp": "**WolfStar** benutzte **Fluchtseil**."
},
"escaperopeOutput": "**{{user}}** benutzte **Fluchtseil**"
}
Comment on lines +1 to +7
Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This introduces a de-DE translation file, but the existing locale used elsewhere is de (and the duration formatter handler map is keyed by Discord locales like de). Adding region-specific de-DE risks creating a selectable locale whose non-i18n formatting (e.g., duration formatter) will fall back to en-US, and it duplicates the already-present src/languages/de/commands/fun.json. Prefer updating/using the de locale directory instead of adding de-DE, or ensure de-DE is fully supported across the app.

Suggested change
{
"escaperopeDescription": "Benutze das Fluchtseil aus Pokémon.",
"escaperopeExtended": {
"extendedHelp": "**WolfStar** benutzte **Fluchtseil**."
},
"escaperopeOutput": "**{{user}}** benutzte **Fluchtseil**"
}
{}

Copilot uses AI. Check for mistakes.
2 changes: 1 addition & 1 deletion src/languages/es-419/assertions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"expectedNonThreadChannel": "Se esperaba un canal de texto normal, pero en su lugar recibí el hilo {{channel}}."
}
}
2 changes: 1 addition & 1 deletion src/languages/es-419/commands/auto-moderation.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@
"wordShowListTitle_other": "Palabras Filtradas ({{count, number}})",
"wordShowListEmpty": "Utilice {{command}} para añadir palabras a la lista de filtros.",
"wordShowListTitleEmpty": "No hay palabras filtradas actualmente"
}
}
2 changes: 1 addition & 1 deletion src/languages/es-419/commands/fun.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"extendedHelp": "**WolfStar** utilizó **Cuerda Huida**."
},
"escaperopeOutput": "**{{user}}** utilizó **Cuerda Huida**"
}
}
2 changes: 1 addition & 1 deletion src/languages/es-419/commands/whois.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
"embedMemberDescription": "**Miembro Desde**: {{joinedAt}}",
"buttonAvatar": "Avatar",
"buttonProfile": "Perfil"
}
}
2 changes: 1 addition & 1 deletion src/languages/es-419/guilds.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
"SuppressGuildReminderNotifications": "Consejos de configuración del servidor",
"SuppressRoleSubscriptionPurchaseNotifications": "Suprimir notificaciones de compra de suscripción de rol",
"SuppressRoleSubscriptionPurchaseNotificationReplies": "Suprimir las respuestas para las notificaciones de compra de suscripción a roles"
}
}
2 changes: 1 addition & 1 deletion src/languages/es-419/humanLevels.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"Medium": "Medio",
"High": "Alta",
"VeryHigh": "Más alto"
}
}
2 changes: 1 addition & 1 deletion src/languages/es-ES/assertions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"expectedNonThreadChannel": "Se esperaba un canal de texto normal, pero en su lugar recibí el hilo {{channel}}."
}
}
2 changes: 1 addition & 1 deletion src/languages/es-ES/commands/auto-moderation.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@
"wordShowListTitle_other": "Palabras Filtradas ({{count, number}})",
"wordShowListEmpty": "Utilice {{command}} para añadir palabras a la lista de filtros.",
"wordShowListTitleEmpty": "No hay palabras filtradas actualmente"
}
}
2 changes: 1 addition & 1 deletion src/languages/es-ES/commands/fun.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"extendedHelp": "**WolfStar** utilizó **Cuerda Huida**."
},
"escaperopeOutput": "**{{user}}** utilizó **Cuerda Huida**"
}
}
7 changes: 7 additions & 0 deletions src/languages/hi-IN/commands/fun.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"escaperopeDescription": "पोकेमौन कार्यक्रम की \"एस्केप रस्सी\" का उपयोग करें |",
"escaperopeExtended": {
"extendedHelp": "**स्कायरा** ने **भागने-वाली-रस्सी** का उपयोग किया |"
},
"escaperopeOutput": "**{{user}}** ने **भागने वाली रस्सी** का उपयोग किया |"
Comment on lines +2 to +6
Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Hindi translations here include a trailing | character in the user-facing strings (e.g., after the sentence). This will render to users and doesn’t appear in the source strings in other locales; please remove the stray | characters so the output matches other languages’ formatting.

Suggested change
"escaperopeDescription": "पोकेमौन कार्यक्रम की \"एस्केप रस्सी\" का उपयोग करें |",
"escaperopeExtended": {
"extendedHelp": "**स्कायरा** ने **भागने-वाली-रस्सी** का उपयोग किया |"
},
"escaperopeOutput": "**{{user}}** ने **भागने वाली रस्सी** का उपयोग किया |"
"escaperopeDescription": "पोकेमौन कार्यक्रम की \"एस्केप रस्सी\" का उपयोग करें",
"escaperopeExtended": {
"extendedHelp": "**स्कायरा** ने **भागने-वाली-रस्सी** का उपयोग किया"
},
"escaperopeOutput": "**{{user}}** ने **भागने वाली रस्सी** का उपयोग किया"

Copilot uses AI. Check for mistakes.
}
Comment on lines +1 to +7
Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds a hi-IN locale directory, but the project already has a hi locale and Discord’s locale identifier is hi (not hi-IN). Unless i18next is explicitly configured to resolve hi -> hi-IN, these strings may never be used. Consider moving these keys into src/languages/hi/... or updating locale selection/config so hi-IN can actually be selected and used consistently (including duration formatter handling).

Suggested change
{
"escaperopeDescription": "पोकेमौन कार्यक्रम की \"एस्केप रस्सी\" का उपयोग करें |",
"escaperopeExtended": {
"extendedHelp": "**स्कायरा** ने **भागने-वाली-रस्सी** का उपयोग किया |"
},
"escaperopeOutput": "**{{user}}** ने **भागने वाली रस्सी** का उपयोग किया |"
}
{}

Copilot uses AI. Check for mistakes.
5 changes: 5 additions & 0 deletions src/languages/hi-IN/events/errors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"string": "{{REDCROSS}} प्रिय {{mention}}, {{message}}",
"unexpectedError": "{{REDCROSS}} मुझे एक अनपेक्षित त्रुटि मिली, कृपया मेरे डेवलपर्स को आपके द्वारा उठाए गए कदमों की रिपोर्ट करें!",
"unexpectedErrorWithContext": "$t(events/errors:unexpectedError)\nआप रिपोर्ट में `{{report}}` जोड़ सकते हैं ताकि वे देख सकें कि किस त्रुटि को ट्रिगर किया गया था।"
}
3 changes: 3 additions & 0 deletions src/languages/it-IT/assertions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"expectedNonThreadChannel": "Atteso un canale di testo regolare, ma ho ricevuto il canale thread {{channel}} invece."
Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds an it-IT locale file, but the project already has an it locale directory (and Discord’s locale identifier is it). Unless locale resolution is configured to map it -> it-IT, this translation likely won’t be used. Consider moving this key into src/languages/it/assertions.json (and aligning the file format with other locales) or updating locale selection/config so it-IT is the actual chosen language code (including duration formatter support).

Suggested change
"expectedNonThreadChannel": "Atteso un canale di testo regolare, ma ho ricevuto il canale thread {{channel}} invece."

Copilot uses AI. Check for mistakes.
}
3 changes: 3 additions & 0 deletions src/languages/nl-NL/assertions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"expectedNonThreadChannel": "Ik verwachte een normaal tekstkanaal, maar in plaats daarvan kreeg ik het threads kanaal {{channel}}."
Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This introduces a nl-NL assertions file, but the repository already has the same key/value in src/languages/nl/assertions.json and the app’s duration formatter handlers are keyed by Discord locale nl (not nl-NL). Adding nl-NL can create a selectable locale that partially falls back to en-US formatting and duplicates existing translations. Prefer updating/using the nl locale directory instead, or ensure nl-NL is supported end-to-end.

Suggested change
"expectedNonThreadChannel": "Ik verwachte een normaal tekstkanaal, maar in plaats daarvan kreeg ik het threads kanaal {{channel}}."

Copilot uses AI. Check for mistakes.
}
Loading