Closed Bug 1388170 Opened 7 years ago Closed 7 years ago

Page Action Menu > Pocket needs to read "Save to Pocket"

Categories

(Firefox :: Pocket, defect, P1)

defect

Tracking

()

VERIFIED FIXED
Firefox 57
Iteration:
57.2 - Aug 29
Tracking Status
firefox57 --- fixed

People

(Reporter: abenson, Assigned: adw)

References

Details

(Whiteboard: [reserve-photon-structure][photon-l10n-risk])

Attachments

(2 files)

Attached image save-to-pocket.png
Open the Page Action Menu (•••), the item that reads "Pocket" should read "Save to Pocket"
Whiteboard: [photon-structure] → [photon-structure] [triage]
Flags: qe-verify?
Priority: -- → P3
Whiteboard: [photon-structure] [triage] → [photon-structure]
Whiteboard: [photon-structure] → [reserve-photon-structure]
Blocks: 1367927
Whiteboard: [reserve-photon-structure] → [reserve-photon-structure][photon-l10n-risk]
Aaron, we currently have a few similar strings for saving:

* pocket-button.tooltiptext = Save to Pocket
* saveToPocketCmd.label = Save Page to Pocket
* saveLinkToPocketCmd.label = Save Link to Pocket

My patch uses the first one for this label, but it seems kind of sketchy to use "tooltiptext" for the button label.

So I point this out to ask, do we really want all three of these, and for this bug should we maybe use the command label (saveToPocketCmd.label = Save Page to Pocket) instead?
Flags: needinfo?(abenson)
Assignee: nobody → adw
Status: NEW → ASSIGNED
Iteration: --- → 57.2 - Aug 29
Priority: P3 → P1
(In reply to Drew Willcoxon :adw from comment #2)
> but it seems kind of sketchy to use "tooltiptext" for the button label.

Of course we could just rename this string or duplicate it.
(If it's a big problem, which I'm not sure it is)
Attachment #8897932 - Flags: review?(gijskruitbosch+bugs) → review?(francesco.lodolo)
I'm redirecting the review to :flod because I'm not sure what to do here, and if reusing a label from elsewhere is fine. I *think* that reusing the command label is probably OK, but I'm less sure about the tooltip one. I also don't know how adding new strings for pocket works because last I checked we shipped all the locales in-product ( cf. https://dxr.mozilla.org/mozilla-central/search?q=path%3Alocale%20path%3Apocket&=mozilla-central ) and I don't know how those get updated.
Component: Menus → Pocket
Comment on attachment 8897932 [details]
Bug 1388170 - Page Action Menu > Pocket needs to read "Save to Pocket".

https://reviewboard.mozilla.org/r/169218/#review174624

Using a tooltip for a label is definitely a bad idea. 

Button = action, tooltip = description of what the element does. As a consequence, in some languages the button label is imperative, while the tooltip uses a present tense verb (third person).

If you need to add strings to the Pocket add-on, Shane (mixedpuppy) is your best source of information.
https://github.com/mozilla-partners/pocket
https://github.com/mozilla-l10n/pocket-l10n

Strings are exposed in a repository outside of mozilla-central, then translated in Pontoon and dumped back into mozilla-central
Attachment #8897932 - Flags: review?(francesco.lodolo) → review-
OK, thanks Francesco.  IMO we should use the existing command label (saveToPocketCmd.label = Save Page to Pocket), but I'll wait to see what Aaron says.
I'm not exactly sure where those strings show up but I can imagine the context between 'page' and 'link' might be useful. Since this particular issue is about the menu item in the Page Action Menu, I'd be okay if it read "Save Page to Pocket".
Flags: needinfo?(abenson)
Ack, however there's another item that reads "Send to Device" so lets be consistent and use "Save to Pocket". Final answer. :)
We'd have to go through a whole localization process, described in comment 6, for that.  Also, the bookmark menu item is labeled "Bookmark This Page."  Are you sure?  It'd be way easier to change "Send to Device" to "Send Page to Device" than to add a new Pocket string.
Flags: needinfo?(abenson)
Well if it's easier that way then I say go for it. :) I was mostly shooting for consistency in the labels.
Flags: needinfo?(abenson)
(In reply to :Gijs from comment #14)
> Comment on attachment 8897932 [details]
> Bug 1388170 - Page Action Menu > Pocket needs to read "Save to Pocket".
> 
> https://reviewboard.mozilla.org/r/169218/#review174664
> 
> Then let's just update the send to device string to also be "Send Page to
> Device?"

Err, ignore this comment. The mozreview header was collapsed when I refreshed, and I didn't realize I'd be sending this when hitting publish.
Pushed by dwillcoxon@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b094de6a8d3b
Page Action Menu > Pocket needs to read "Save to Pocket". r=Gijs
https://hg.mozilla.org/mozilla-central/rev/b094de6a8d3b
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
I have reproduced this bug with Nightly 57.0a1 (2017-08-07) on Windows 8.1 !

This bug's fix is verified with latest Nightly!

Build Id   : 20170820100343
User Agent : Mozilla/5.0 (Windows NT 6.3; WOW64; rv:57.0) Gecko/20100101 Firefox/57.0

[bugday-20170816]
Flags: qe-verify? → qe-verify+
QA Contact: gwimberly
I have reproduced this bug with Nightly 57.0a1 (2017-08-07) on Ubuntu 16.04 LTS!

This bug's fix is verified with latest Nightly!

Build  ID  : 20170823100553 
User Agent : Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
QA Whiteboard: [bugday-20170823]
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: