All done. Here's a summary of the fix: (#1875)

## Summary

Fixed PR comment labels showing raw translation keys instead of translated text.

**Problem:** The `CommentWidgetLine.tsx` and `ReviewCommentRenderer.tsx` components were using translation keys that didn't exist in the translation files:
- `comments.addReviewComment`
- `comments.addPlaceholder`
- `comments.editPlaceholder`
- `actions.cancel`
- `actions.saveChanges`
- `actions.copied`

**Solution:** Added the missing translation keys to `common.json` in all 6 locales:
- English (en)
- Spanish (es)
- Japanese (ja)
- Korean (ko)
- Simplified Chinese (zh-Hans)
- Traditional Chinese (zh-Hant)

**Verification:**
-  `pnpm run check` passes (TypeScript and Rust checks)
-  i18n check script confirms translation keys are consistent across all locales
-  No duplicate JSON keys
This commit is contained in:
Alex Netsch
2026-01-09 11:31:29 +00:00
committed by Gabriel Gordon-Hall
parent 06862ab010
commit e73c1b4bff
6 changed files with 54 additions and 6 deletions

View File

@@ -169,7 +169,15 @@
"viewInChangesPanel": "Ver en panel de cambios",
"copyPath": "Copiar ruta",
"copyWorktreePath": "Copiar ruta del worktree",
"openInIde": "Abrir en IDE"
"openInIde": "Abrir en IDE",
"cancel": "Cancelar",
"saveChanges": "Guardar cambios",
"copied": "Copiado"
},
"comments": {
"addReviewComment": "Agregar comentario de revisión",
"addPlaceholder": "Agregar un comentario...",
"editPlaceholder": "Editar comentario..."
},
"confirm": {
"defaultConfirm": "Confirmar",