i18n(fa): Update Persian translation & fix hardcoded UI strings#3271
Merged
ImprovedTube merged 3 commits intocode-charity:masterfrom Oct 21, 2025
Merged
Conversation
- 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
Member
|
Sweeet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.jsandplayer.js) with their proper locale keys. This ensures they are now correctly translated across all languages.Adds Contributor Credit: Includes
Neutron84in theREADME.mdcontributors 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.jsonto support the UI fixes.