Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

chore: remove unused translation keys#160

Merged
breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom
fix/150-remove-unused-translation-keysbreaking-brake/cc-wf-studio:fix/150-remove-unused-translation-keysCopy head branch name to clipboard
Nov 26, 2025
Merged

chore: remove unused translation keys#160
breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom
fix/150-remove-unused-translation-keysbreaking-brake/cc-wf-studio:fix/150-remove-unused-translation-keysCopy head branch name to clipboard

Conversation

@breaking-brake
Copy link
Copy Markdown
Owner

Problem

During the Terms of Use feature implementation (#148), two translation keys were added but are not actually used in the TermsOfUseDialog component:

  • terms.warning.aiGeneration
  • terms.warning.workflow

Solution

Removed the unused translation keys from all translation files.

Changes

Files modified:

  • src/webview/src/i18n/translation-keys.ts - Removed type definitions
  • src/webview/src/i18n/translations/en.ts - Removed English translations
  • src/webview/src/i18n/translations/ja.ts - Removed Japanese translations
  • src/webview/src/i18n/translations/ko.ts - Removed Korean translations
  • src/webview/src/i18n/translations/zh-CN.ts - Removed Simplified Chinese translations
  • src/webview/src/i18n/translations/zh-TW.ts - Removed Traditional Chinese translations

Impact

  • No functional impact (unused keys removal)
  • Minimal bundle size reduction (~100-200 bytes per language)

Testing

  • Code quality checks passed (format, lint, check)
  • Build succeeded without errors

Fixes #150

🤖 Generated with Claude Code

- Removed 'terms.warning.aiGeneration' key
- Removed 'terms.warning.workflow' key
- Fixes #150

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@breaking-brake breaking-brake merged commit dd6dc90 into main Nov 26, 2025
3 checks passed
@breaking-brake breaking-brake deleted the fix/150-remove-unused-translation-keys branch November 26, 2025 23:05
@breaking-brake breaking-brake mentioned this pull request Nov 27, 2025
@github-actions
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.14.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: remove unused translation keys from Terms of Use

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.