feat(lang): add Hungarian language#347
Conversation
|
|
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdded a Hungarian translation catalog with formatted and pluralized messages, defined its i18n data and plural-selection rule, and registered the Hungarian locale in the bundled language pack. ChangesHungarian localization
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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. Comment |
|
All errors have been fixed |
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@locale/hu.yml`:
- Line 27: Update the translation value for the “Language: English” key to
preserve the English language name, using the Hungarian translation “Nyelv:
angol” instead of “Nyelv: magyar”.
- Line 16: Update the static “Modem Preset: LONG FAST” translation entry to use
the Hungarian label “Modem profil: LONG FAST”, matching the translated dynamic
form.
- Line 4: Update the localized node-count text in the affected locale entry to
use the singular “node” form for a count of one, matching the singular wording
used by the related entries at lines 157–158 while preserving the plural form
for larger counts.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
Fix Hungarian translations
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@locale/lv_i18n.c`:
- Around line 1531-1534: Update the Hungarian source translation entry for “%d
of %d nodes online” so its plural form uses the singular Hungarian noun,
matching the translation in hu_plurals_one; do not edit only the generated
locale/lv_i18n.c output, and preserve the existing other translations.
- Around line 3524-3528: Add a meshtastic_Language_HUNGARIAN case to
TFTView_320x240.cpp::setLocale that calls lv_i18n_set_locale("hu"), matching the
existing language mappings and enabling Hungarian UI selection.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 77118d38-4df2-4191-a80b-ff413ecffb55
📒 Files selected for processing (2)
locale/hu.ymllocale/lv_i18n.c
🚧 Files skipped from review as they are similar to previous changes (1)
- locale/hu.yml
this patch is full. now okay
Summary by CodeRabbit
hu) language support across the interface.