Page MenuHomePhabricator

Adjust spacing for the invite to translate missing languages
Open, LowPublic

Description

The language selector now surfaces languages you may want to translate (T290972). A message ( "Missing in X, Y and more") invites users to translate into the language they frequently use in which the article is not available yet.

The initial implementation provide the key functionality, but there are some details to polish. In particular, the spacing needs some adjustments to align with the spec.

Currently, in the dialog to start the translation the separation between the message and the buttons with the language names below is 8px. The spec defined a 16px separation. The difference may be because the list of buttons lacks padding at the top (and bottom), and adding 8px there could solve it.

Screenshots and spec shown below:

Current message paddingCurrent button paddingSpec
Screenshot 2022-06-09 at 13.32.40 2.png (361×910 px, 123 KB)
Screenshot 2022-06-09 at 13.36.00 2.png (422×886 px, 166 KB)
Group.png (342×934 px, 53 KB)