Page MenuHomePhabricator

Page allowed for translation to priority language, without reason, only shows "Reason:" when translating
Closed, ResolvedPublic

Description

Steps to reproduce

  1. Page is marked for translation, with priority languages set, and translations to non-priority language disabled.
  2. Translator translates the page into a non priority language

The message displayed at such a time gives an empty "Reason:". See screenshot below,

no-reason-bug-prio.png (426×1 px, 30 KB)

Should the Reason should be left empty? Or should we add a text saying No reason provided?

Event Timeline

abi_ renamed this task from Page allowed for translation to priority language, without reason, only shows "Reason:" when translation to Page allowed for translation to priority language, without reason, only shows "Reason:" when translating.Oct 31 2019, 7:39 AM
abi_ triaged this task as Lowest priority.

Simplest would be to just leave "Reason:" out if no reason given.

abi_ claimed this task.

This was fixed in 636911: Remove "Reason" prefix if translation restriction reason is not provided | https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Translate/+/636911

image.png (741×1 px, 69 KB)