Skip to content

Conversation

@hyacz
Copy link
Contributor

@hyacz hyacz commented Jan 21, 2026

Summary

  • Updated Gemini permission mode translation keys across 7 language files to match the updated TypeScript type definition
  • Fixed TypeScript type checking errors in CI pipeline

Changes

Renamed the following translation keys in all language files (ca, es, it, ja, pl, pt, zh-Hans):

  • acceptEditsreadOnly
  • plansafeYolo
  • bypassPermissionsyolo
  • badgeAcceptAllEditsbadgeReadOnly
  • badgeBypassAllPermissionsbadgeSafeYolo
  • badgePlanModebadgeYolo

Test plan

  • Run yarn typecheck to verify no TypeScript errors
  • Verify all translation files compile successfully
  • Check that translations remain contextually appropriate

🤖 Generated with Claude Code
via Happy

Update translation keys in geminiPermissionMode to match the updated
TranslationStructure type definition:
- acceptEdits → readOnly
- plan → safeYolo
- bypassPermissions → yolo
- badgeAcceptAllEdits → badgeReadOnly
- badgeBypassAllPermissions → badgeSafeYolo
- badgePlanMode → badgeYolo

This fixes TypeScript type checking errors in CI pipeline.

Affected languages: ca, es, it, ja, pl, pt, zh-Hans

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
@hyacz
Copy link
Contributor Author

hyacz commented Jan 22, 2026

Closing this PR as the fix has been incorporated upstream in the mono-repo refactor (commit 315852a). The translation key updates for Gemini permission modes have been applied to all language files in the new repository structure.

@hyacz hyacz closed this Jan 22, 2026
@hyacz hyacz deleted the fix/translation-type-errors branch January 22, 2026 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant