Page MenuHomePhabricator

PageTranslation: `tpt-duplicate` message should have an error class
Closed, ResolvedPublic

Description

As a translation admin,
When I go to mark a page for translation,
I want errors such as tpt-duplicate ("Translation unit name 1 is used more than once") to have a errorbox class, similar to the error from unbalanced translate tags
So that I can more easily see that there is an error, rather than hitting "Mark this version for translation" and only then realizing that there is an issue

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 544541 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/Translate@master] Add errorbox class to duplicate translation units message

https://gerrit.wikimedia.org/r/544541

abi_ subscribed.

Works well, tested. See screenshot below,

image.png (480×965 px, 25 KB)

Reported T236153: Show tpt-duplicate error message only once for a translation unit to address the issue with the message appearing multiple times.

Change 544541 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Add errorbox class to duplicate translation units message

https://gerrit.wikimedia.org/r/544541