Skip to content

i18n(fa): Update Persian translation & fix hardcoded UI strings#3271

Merged
ImprovedTube merged 3 commits intocode-charity:masterfrom
Neutron84:update-i18n-fa-and-fix-keys
Oct 21, 2025
Merged

i18n(fa): Update Persian translation & fix hardcoded UI strings#3271
ImprovedTube merged 3 commits intocode-charity:masterfrom
Neutron84:update-i18n-fa-and-fix-keys

Conversation

@Neutron84
Copy link
Contributor

This pull request provides a comprehensive update for the Persian (fa) localization and resolves technical issues in the Internationalization (i18n) setup.

This update:

  • Completes Persian Translation: Adds translations for all new UI messages, including:

    • Optimal, secondaryColor, transparentBackgroundAlternative, hideProgressBarPreview, revertTheaterModeButtonSizes, playbackSpeedButton, fullscreenReturn, thumbnailSize, and bulk deletion options.
  • Fixes Hardcoded Strings: Replaces numerous hardcoded English texts (like "Buttons", "Download", "Transparent background alternative") in the menu skeleton files (appearance.js and player.js) with their proper locale keys. This ensures they are now correctly translated across all languages.

  • Adds Contributor Credit: Includes Neutron84 in the README.md contributors list.

These changes significantly improve the consistency and completeness of the ImprovedTube experience for Persian-speaking users.


Note: New message keys have also been added to en/messages.json to support the UI fixes.

- Replace hardcoded English strings with locale keys in appearance.js and player.js\n- Add new message keys to en/messages.json (Optimal, secondaryColor, transparentBackgroundAlternative, hideProgressBarPreview, revertTheaterModeButtonSizes, playbackSpeedButton, fullscreenReturn, etc.)
- Add translations for new UI message keys (Optimal, secondaryColor, transparentBackgroundAlternative, hideProgressBarPreview, revertTheaterModeButtonSizes, playbackSpeedButton, fullscreenReturn, thumbnailSize, excludeShortsInPlayAll, etc.)\n- Add quickDeleteShortcut and bulkDeleteByProgress translations\n- Update 'dawn' translation for improved accuracy
- Add Neutron84 as Persian (fa) translator to contributors list in README
@ImprovedTube ImprovedTube merged commit 6a67148 into code-charity:master Oct 21, 2025
1 check passed
@ImprovedTube
Copy link
Member

Sweeet

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.

2 participants