Closed Bug 1551832 Opened 5 years ago Closed 5 years ago

Onboarding button label not wrapping

Categories

(Firefox :: Messaging System, defect, P1)

defect

Tracking

()

VERIFIED FIXED
Firefox 68
Iteration:
69.1 - May 13 - 26
Tracking Status
firefox67.0.1 --- fixed
firefox68 --- verified

People

(Reporter: theo, Assigned: Mardak)

References

Details

(Keywords: github-merged)

Attachments

(2 files)

This label (onboarding-send-tabs-button) doesn’t fit in French, and it looks like it may just be wrapping in two lines instead

@mardak
Can we make sure this is evaluated in time for uplifts?

Flags: needinfo?(edilee)

What should the behavior be for long button text? I believe aaron (PTO) said buttons stay on one line, so we tried to make sure it expanded wide for longer text, but looks like that's not enough.

Flags: needinfo?(edilee) → needinfo?(bbell)

Looks like at minimum we'll need white-space: pre-wrap to allow multiline fluent strings. Then we'll need to fix up spacing min-height/margin/padding on the button. The button seems to be absolutely positions on the bottom so probably some adjustments needed there too.

Assignee: nobody → edilee
Flags: needinfo?(bbell)
Iteration: --- → 69.1 - May 13 - 26
Priority: -- → P1

Just to note here if someone else runs into this when localizing:

Instead of doing:

onboarding-send-tabs-button = Commencer à utiliser « Envoyer l’onglet »

Do this instead:

onboarding-send-tabs-button =
  Commencer à utiliser
  « Envoyer l’onglet »

Bug 1551951 added a localization note noting that buttons can have explicit new lines

See Also: → 1551951
Blocks: 1552366
Keywords: github-merged
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68

I have verified that this issue is no longer reproducible with the latest Firefox Nightly FR locale (68.0a1 Build ID - 20190520095418) installed, on Windows 10 x64, Arch Linux and Mac 10.13.3. Now, the labels are not exceeding the cards.

Status: RESOLVED → VERIFIED
Component: Activity Streams: Newtab → Messaging System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: