Translating a page twice reverts the translation all the while the Translation icon still shows the page as translated
Categories
(Firefox :: Translations, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox115 | --- | verified |
People
(Reporter: acornestean, Assigned: gregtatum)
References
Details
Attachments
(3 files)
Affected versions:
- Nightly 115.0a1/20230529093707
Description:
When a page is translated twice using the same language combination, after the second translation the page reverts to its original language but the Translations icon remains in the translated state i.e. the icon is blue and the language box is displayed beside it.
Steps to reproduce:
- Access https://es.wikipedia.org/wiki/Wikipedia:Portada
- Manually translate the page OR Enable the “Always translate <<language>> function. It does not matter as long as the page is translated
- Open the Translations panel once more and manually translate the page again
- Notice the page reverts to the original language (Spanish), but the Translations icon is in the translated state (blue icon and language box)
Actual:
- The page reverts to its original language upon translating the page twice
- The Translations icon remains in the translated state (blue icon and language box)
Expected:
- A second translation of the page should do nothing and not revert the page to its original language. In this case the Translations icon will be in the correct state and show the correct information.
OR
- Since the page is reverted to its original language, the Translations icon should also revert states i.e. it should become black and the language box should be gone
Comment 1•2 years ago
|
||
Thanks for filing this!
It looks like we missed the logic for disabling the Translate
button in the revisit panel when applying the most recent UX feedback to update the panel views.
The expected behavior is that the Translate
button should be disabled and the page should not be translatable a second time.
Greg, do you have a moment to look into this? It should be a trivial fix.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Comment 4•2 years ago
|
||
bugherder |
Reporter | ||
Comment 5•2 years ago
|
||
Verified as Fixed on the latest Nightly (115.0a120230531041723). Tested on Windows 10 x64 and macOS 11.3.1
The “Translate” button is disabled (faded out) when attempting to translate the page again using the same language combination. This includes both the “Translate” button from the panel opened via the URL bar icon and the panel opened via the “Translate page…” option in the Main Menu.
For further details, see the attached screenshot.
Reporter | ||
Comment 6•2 years ago
|
||
Description
•