Skip to content

chore(i18n-crowdin): new crowdin translation 🌐#181

Open
RedStar071 wants to merge 14 commits intomainfrom
i18n/crowdin
Open

chore(i18n-crowdin): new crowdin translation 🌐#181
RedStar071 wants to merge 14 commits intomainfrom
i18n/crowdin

Conversation

@RedStar071
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 6, 2026 10:36
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 6, 2026

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (2)
  • refactor
  • feature

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 7829ef9c-5056-427f-b495-7d4b462b4234

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch i18n/crowdin

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sentry
Copy link
Copy Markdown

sentry bot commented Apr 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.07%. Comparing base (41bd5aa) to head (8883aec).
⚠️ Report is 109 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #181      +/-   ##
==========================================
+ Coverage   71.83%   78.07%   +6.24%     
==========================================
  Files          91       81      -10     
  Lines        2769     2153     -616     
  Branches      208      240      +32     
==========================================
- Hits         1989     1681     -308     
+ Misses        775      449     -326     
- Partials        5       23      +18     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Syncs Crowdin-managed i18n resources by adding new locale JSON files/keys and normalizing formatting in existing Spanish translation files.

Changes:

  • Added new assertion translations for expectedNonThreadChannel in nl-NL and it-IT.
  • Added new hi-IN translations for events/errors and commands/fun.
  • Added de-DE translation for the escaperope fun command and normalized JSON EOF formatting in several es-ES / es-419 files.

Reviewed changes

Copilot reviewed 5 out of 14 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/languages/nl-NL/assertions.json Adds Dutch (NL) assertion translation.
src/languages/it-IT/assertions.json Adds Italian (IT) assertion translation.
src/languages/hi-IN/events/errors.json Adds Hindi (IN) event error strings.
src/languages/hi-IN/commands/fun.json Adds Hindi (IN) fun command strings (Escape Rope).
src/languages/es-ES/commands/fun.json JSON formatting/EOF normalization only.
src/languages/es-ES/commands/auto-moderation.json JSON formatting/EOF normalization only.
src/languages/es-ES/assertions.json JSON formatting/EOF normalization only.
src/languages/es-419/humanLevels.json JSON formatting/EOF normalization only.
src/languages/es-419/guilds.json JSON formatting/EOF normalization only.
src/languages/es-419/commands/whois.json JSON formatting/EOF normalization only.
src/languages/es-419/commands/fun.json JSON formatting/EOF normalization only.
src/languages/es-419/commands/auto-moderation.json JSON formatting/EOF normalization only.
src/languages/es-419/assertions.json JSON formatting/EOF normalization only.
src/languages/de-DE/commands/fun.json Adds German (DE-DE) fun command strings (Escape Rope).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +2 to +6
"escaperopeDescription": "पोकेमौन कार्यक्रम की \"एस्केप रस्सी\" का उपयोग करें |",
"escaperopeExtended": {
"extendedHelp": "**स्कायरा** ने **भागने-वाली-रस्सी** का उपयोग किया |"
},
"escaperopeOutput": "**{{user}}** ने **भागने वाली रस्सी** का उपयोग किया |"
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
{
"escaperopeDescription": "पोकेमौन कार्यक्रम की \"एस्केप रस्सी\" का उपयोग करें |",
"escaperopeExtended": {
"extendedHelp": "**स्कायरा** ने **भागने-वाली-रस्सी** का उपयोग किया |"
},
"escaperopeOutput": "**{{user}}** ने **भागने वाली रस्सी** का उपयोग किया |"
}
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.
Comment on lines +1 to +7
{
"escaperopeDescription": "Benutze das Fluchtseil aus Pokémon.",
"escaperopeExtended": {
"extendedHelp": "**WolfStar** benutzte **Fluchtseil**."
},
"escaperopeOutput": "**{{user}}** benutzte **Fluchtseil**"
}
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.
@@ -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.
@@ -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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants