Pull request for issue #55#56
Merged
Merged
Conversation
This commit introduces a new options page that allows users to manually select the extension's interface language. Key changes: - Created `options.html` and `options.js` to provide a language selection dropdown (Auto, English, Traditional Chinese). - Updated `manifest.json` to register the options page. - Modified `webpack.config.js` to include the new options files in the build. - Refactored `content-script.js` to fetch the user's language preference from `chrome.storage.sync` and use it to identify the correct 'Copy link' button text on Facebook. This resolves the issue where the extension would fail if the user's Facebook language did not match their browser's language setting.
5 tasks
Owner
|
Traditional Chinese 後面加上 (繁體中文) |
Owner
|
Jules , Traditional Chinese 後面加上 (繁體中文) |
This commit adds the Traditional Chinese translation `(繁體中文)` next to the "Traditional Chinese" option in the language selection dropdown on the options page. This improves clarity for users who prefer the Traditional Chinese interface.
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.
Fixes #55