Closed
Bug 1892846
Opened 7 months ago
Closed 7 months ago
Disable translate-full-page button when same language is selected
Categories
(Firefox :: Translations, enhancement, P3)
Firefox
Translations
Tracking
()
VERIFIED
FIXED
127 Branch
Tracking | Status | |
---|---|---|
firefox127 | --- | verified |
People
(Reporter: nordzilla, Assigned: nordzilla)
References
Details
Attachments
(1 file)
Description
The SelectTranslationsPanel allows same-language translation, but the FullPageTranslationsPanel does not.
If the same language is ever selected in the SelectTranslationsPanel, we need to ensure that the translate-full-page button is disabled.
Steps to implement
- Disable the translate-full-page button if the same language is selected in the SelectTranslationsPanel.
Tests to implement
- Ensure all pre-existing test cases assert this relationship on every relevant panel view assertion.
Assignee | ||
Comment 1•7 months ago
|
||
Updated•7 months ago
|
Attachment #9398027 -
Attachment description: WIP: Bug 1892846 - Disable translate-full-page on same language r=#translations-reviewers! → Bug 1892846 - Disable translate-full-page on same language r=#translations-reviewers!
Updated•7 months ago
|
Attachment #9398027 -
Attachment description: Bug 1892846 - Disable translate-full-page on same language r=#translations-reviewers! → WIP: Bug 1892846 - Disable translate-full-page on same language r=#translations-reviewers!
Updated•7 months ago
|
Attachment #9398027 -
Attachment description: WIP: Bug 1892846 - Disable translate-full-page on same language r=#translations-reviewers! → Bug 1892846 - Disable translate-full-page on same language r=#translations-reviewers!
Pushed by enordin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bab4df44e770
Disable translate-full-page on same language r=translations-reviewers,gregtatum
Status: NEW → RESOLVED
Closed: 7 months ago
status-firefox127:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
Updated•6 months ago
|
Flags: qe-verify+
Comment 4•5 months ago
|
||
I was able to replicate the behavior described in Comment 0 on Firefox Nightly 126.0a1 (2024-04-01), using macOS 14.4 by setting the browser.translations.select.enable pref to true from about:config and selecting the same language in SelectTranslationsPanel.
Verified as fixed on Firefox 127.0b9, build ID 20240531105723, using Windows 11, Ubuntu 22.04 and macOS 14.4 and the "Translate full page" button from the SelectTranslationsPanel is now disabled when the same language is selected.
You need to log in
before you can comment on or make changes to this bug.
Description
•