feat/german-language#587
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughA German locale is added by registering "de" in supported locales and adding German translation JSON files for common UI, dialogs, editor, timeline, settings, launch/recording, extensions, and shortcuts. ChangesGerman Locale Support
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
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 `@src/i18n/locales/de/editor.json`:
- Around line 9-46: The German locale's annotations block uses German keys which
breaks key-path lookups; rename the top-level key "Anmerkungen" to "annotations"
and change each German key to the matching English key used in en/editor.json
(e.g. "Einstellungen" -> "settings", "aktiv" -> "active", "text" -> "text",
"image" -> "image", "arrow" -> "arrow", "blur" -> "blur", "textContent" stays
"textContent", "textPlaceholder" stays "textPlaceholder", "fontStyle" ->
"fontStyle", "selectStyle" -> "selectStyle", "size" -> "size", "toggleBold" ->
"toggleBold", "toggleItalic" -> "toggleItalic", "toggleUnderline" ->
"toggleUnderline", "alignLeft" -> "alignLeft", "alignCenter" -> "alignCenter",
"alignRight" -> "alignRight", "textColor" -> "textColor", "background" ->
"background", "none" -> "none", "clearBackground" -> "clearBackground",
"uploadImage" -> "uploadImage", "supportedFormats" -> "supportedFormats",
"arrowDirection" -> "arrowDirection", "strokeWidth" -> "strokeWidth",
"arrowColor" -> "arrowColor", "deleteAnnotation" -> "deleteAnnotation",
"shortcutsAndTips" -> "shortcutsAndTips", "tipSelectAnnotation" ->
"tipSelectAnnotation", "tipCycleForward" -> "tipCycleForward",
"tipCycleBackward" -> "tipCycleBackward", "imageUploadSuccess" ->
"imageUploadSuccess", "imageUploadError" -> "imageUploadError", "blurStrength"
-> "blurStrength", "solidColor" -> "solidColor", and "borderRadius" ->
"borderRadius"; keep the German strings as values and preserve interpolation
tokens like {{width}}/{{strength}} exactly.
In `@src/i18n/locales/de/extensions.json`:
- Line 26: The translation key "von" is a localized identifier causing lookup
failures; rename the key to the canonical English identifier (e.g., replace the
"von" key with "author") while keeping the German value "Von {{author}}", and
update any code or template lookups that referenced "von" to use "author" (or
the chosen canonical key) so runtime i18n lookups succeed; locate the "von"
entry in the locales JSON and perform the key rename consistently across the
codebase.
🪄 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 Plus
Run ID: 294bd7a5-8d70-4187-bf12-21d22e00674a
📒 Files selected for processing (9)
src/i18n/config.tssrc/i18n/locales/de/common.jsonsrc/i18n/locales/de/dialogs.jsonsrc/i18n/locales/de/editor.jsonsrc/i18n/locales/de/extensions.jsonsrc/i18n/locales/de/launch.jsonsrc/i18n/locales/de/settings.jsonsrc/i18n/locales/de/shortcuts.jsonsrc/i18n/locales/de/timeline.json
Pull Request Template
Description
translation from en to de
Motivation
german language is missing
Type of Change
Summary by CodeRabbit