fix: add missing changelog entry in keyboard shortcuts menu#2873
fix: add missing changelog entry in keyboard shortcuts menu#2873BittuBarnwal7479 wants to merge 4 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
📝 WalkthroughSummary by CodeRabbit
WalkthroughAdds a ChangesChangelog keyboard shortcut
Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
ghostdevv
left a comment
There was a problem hiding this comment.
I assume you used AI to do the translations? Usually we prefer it if you only translate the languages you're familiar with as it's easier for people to add missing translations and fix broken ones (plus gives others a good way to contribute). Otherwise LGTM
Yes, I used AI to help with the translations. The change was very small, just replacing a few English text. I agree that native speakers are best suited for translation work, and I appreciate you pointing it out. I'll keep that in mind for future translation contributions. |
WilcoSp
left a comment
There was a problem hiding this comment.
Looking good, but like what ghostdev said about the translations, at least in Dutch I localise it differently
| "settings": "Open instellingen", | ||
| "compare": "Open vergelijken", | ||
| "compare_from_package": "Vergelijking openen (vooraf ingevuld met het huidige pakket)", | ||
| "changelog": "Open changelog", |
There was a problem hiding this comment.
For Dutch this should be "Open wijzigingenoverzicht"
Also for languages you don't know I would suggest leaving them empty instead of "{open} changelog" as it can be that some languages will localise it differently compared to translating directly.
There was a problem hiding this comment.
Thanks!
I agree, I'll keep that in mind for future translation contributions.
WilcoSp
left a comment
There was a problem hiding this comment.
at least for Dutch looking good now, further reviewing I'll leave up to ghostdevv.
I'll also share this pr in the i18n channel in discord, maybe some from there will look at the translations
…context for new packages
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 `@i18n/locales/cs-CZ.json`:
- Line 39: The cs-CZ translation for the "changelog" key is misleading ("Otevřít
změny nového balíčku"); update the value for the "changelog" entry in
i18n/locales/cs-CZ.json (key: "changelog") to a neutral phrase that reflects
opening the changelog for the current package, e.g., "Otevřít changelog" or
"Otevřít změny balíčku", ensuring it no longer implies the package is new.
In `@i18n/locales/zh-TW.json`:
- Line 39: The "changelog" translation value currently reads "開啟變更日誌(針對新套件)",
which implies the shortcut is only for new packages; update the value for the
"changelog" key to remove the misleading qualifier and use "開啟變更日誌" so it
correctly reflects opening the changelog for the current package; locate the
"changelog" key in i18n/locales/zh-TW.json and replace its value accordingly.
🪄 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: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: e56b936e-6688-486f-ac4c-b92f6f747ff2
📒 Files selected for processing (9)
i18n/locales/cs-CZ.jsoni18n/locales/hu-HU.jsoni18n/locales/it-IT.jsoni18n/locales/ja-JP.jsoni18n/locales/pl-PL.jsoni18n/locales/ta-IN.jsoni18n/locales/tr-TR.jsoni18n/locales/zh-CN.jsoni18n/locales/zh-TW.json
✅ Files skipped from review due to trivial changes (5)
- i18n/locales/zh-CN.json
- i18n/locales/hu-HU.json
- i18n/locales/pl-PL.json
- i18n/locales/tr-TR.json
- i18n/locales/ja-JP.json
🚧 Files skipped from review as they are similar to previous changes (2)
- i18n/locales/ta-IN.json
- i18n/locales/it-IT.json
| "settings": "Otevřít nastavení", | ||
| "compare": "Otevřít porovnání", | ||
| "compare_from_package": "Otevřít porovnání (předvyplněno aktuálním balíčkem)", | ||
| "changelog": "Otevřít změny nového balíčku", |
There was a problem hiding this comment.
Translation may be misleading.
The Czech translation "Otevřít změny nového balíčku" (Open changes of new package) incorrectly suggests this shortcut only applies to new packages. According to the PR objectives, the - shortcut opens the changelog tab for the current package being viewed, regardless of whether it's new. Consider revising to "Otevřít changelog" or "Otevřít změny balíčku" (without "nového").
As noted in the PR comments, contributors are encouraged to translate only languages they're familiar with, and native speakers are preferable for ensuring translation accuracy.
🤖 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 `@i18n/locales/cs-CZ.json` at line 39, The cs-CZ translation for the
"changelog" key is misleading ("Otevřít změny nového balíčku"); update the value
for the "changelog" entry in i18n/locales/cs-CZ.json (key: "changelog") to a
neutral phrase that reflects opening the changelog for the current package,
e.g., "Otevřít changelog" or "Otevřít změny balíčku", ensuring it no longer
implies the package is new.
gameroman
left a comment
There was a problem hiding this comment.
I'd recommend to not adding translations for the languages you are not familiar with and wait until someone who does adds them later
I've removed the unverified translations and kept the change focused on the original fix. |
🔗 Linked issue
#2871
🧭 Context
The
-shortcut for opening the changelog tab on package is shown in the UI but missing from the Keyboard Shortcuts search section.📚 Description
The package page shows a
-keyboard shortcut for opening the changelog, but this shortcut is not listed on the Keyboard shortcuts search section.