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 project: User-DannyS712. · View Herald TranscriptOct 21 2019, 1:52 AM
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

Masumrezarock100 triaged this task as Medium priority.Oct 21 2019, 2:21 AM
Masumrezarock100 added a subscriber: Masumrezarock100.
abi_ added a subscriber: abi_.

Works well, tested. See screenshot below,

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

DannyS712 closed this task as Resolved.Oct 31 2019, 4:45 AM