Pisti87 patch 4#349
Conversation
feat(lang): add Hungarian language
Update language label from English to Hungarian
Update hu.yml
|
|
📝 WalkthroughWalkthroughAdds ChangesHungarian localization
Estimated code review effort: 1 (Trivial) | ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 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 4: Update the Hungarian translations for the “1 of 1 nodes online” entry
and its plural forms in locale/hu.yml, replacing the empty and English values
with non-empty Hungarian text while preserving every %d placeholder.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
| hu: | ||
| Reboot into BaseUI?: Újraindítás BaseUI módba? | ||
| no new messages: nincs új üzenet | ||
| 1 of 1 nodes online: ~ |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
sed -n '1,12p;150,165p' locale/hu.yml | cat -nRepository: meshtastic/device-ui
Length of output: 1393
🏁 Script executed:
nl -ba locale/hu.yml | sed -n '1,220p'Repository: meshtastic/device-ui
Length of output: 194
🏁 Script executed:
python3 - <<'PY'
from pathlib import Path
p = Path('locale/hu.yml')
for i, line in enumerate(p.read_text(encoding='utf-8').splitlines(), 1):
if 'nodes online' in line or i <= 8 or 145 <= i <= 170:
print(f"{i:4d}: {line}")
PYRepository: meshtastic/device-ui
Length of output: 1682
Complete the online-node translations. locale/hu.yml:4,156-158 still has 1 of 1 nodes online: ~, and the plural forms are still English (node/nodes). Add non-empty Hungarian text for all forms and keep the %d placeholders.
🤖 Prompt for 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.
In `@locale/hu.yml` at line 4, Update the Hungarian translations for the “1 of 1
nodes online” entry and its plural forms in locale/hu.yml, replacing the empty
and English values with non-empty Hungarian text while preserving every %d
placeholder.
Summary by CodeRabbit