Page MenuHomePhabricator

Update unmodified content error and warning messages to distinguish them better
Closed, ResolvedPublic

Description

Messaging regarding unmodified content errors for the whole document (T190283) and warnings for specific paragraphs (T190279) can be confusing when both are shown for the same translation. This may be more frequent for wikis that adjusted the threshold for the error (T221353).

The example below shows two very similar messages where two different percentages of unmodified text are exposed to the user:

In order to clarify the messages, this ticket proposes to adjust the messages making it easy to distinguish what they refer to:

Adjusting the warning message

The warning message title will be changed to:

Part of your translation contains X% of unmodified text

In this way, it is more clear that the warning refers to a specific part of the translation.

Adjusting the error message

The error message title will be changed to:

Your translation contains a total of X% of unmodified text

The message body will be also updated (check the last part) aligning it with T221359:

Automatic translation is provided only as a starting point. Make sure that the content is accurate and reads naturally in your language.
Your translation cannot be published without further editing.

In this way, the message mentions it it about the whole document and we avoid a contradicting message (we were telling the user that the translation may be deleted while not allowing to be published).


Related comment: T203377#5165891

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 8 2019, 10:32 AM
Pginer-WMF triaged this task as Normal priority.May 8 2019, 10:32 AM
Pginer-WMF moved this task from Needs Triage to CX2 on the ContentTranslation board.

Change 511912 had a related patch set uploaded (by Petar.petkovic; owner: Petar.petkovic):
[mediawiki/extensions/ContentTranslation@master] Update unmodified content error and warning messages

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

Change 511912 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] Update unmodified content error and warning messages

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

Pginer-WMF closed this task as Resolved.Jun 3 2019, 3:53 PM

The messages have been updated: