Closed
Bug 395640
Opened 18 years ago
Closed 18 years ago
"always ask" and "handle internally" options for feed entry in Applications prefpane should be renamed
Categories
(Firefox :: File Handling, defect, P2)
Firefox
File Handling
Tracking
()
RESOLVED
FIXED
Firefox 3 beta1
People
(Reporter: myk, Assigned: myk)
References
Details
(Whiteboard: [contentHandling-ui])
Attachments
(1 file, 2 obsolete files)
|
9.13 KB,
patch
|
Gavin
:
review+
mconnor
:
approval1.9+
|
Details | Diff | Splinter Review |
faaborg's review in bug 377784, comment 45 says that the "always ask" option for the Web Feed entry in the Applications prefpane, which is currently called "Show me a preview and ask me what to do", should be labeled "Preview in Firefox", while the "handle internally" option, which is currently called "Live Bookmarks", should be called "Live Bookmarks in Firefox".
| Assignee | ||
Comment 1•18 years ago
|
||
Err, un-ccing mconnor. I don't want to spam him with a bunch of bug mail, so I'm only going to cc: him on the stuff he's commented on in bug 377784.
| Assignee | ||
Updated•18 years ago
|
Assignee: nobody → myk
Priority: -- → P2
Target Milestone: --- → Firefox 3 M9
Updated•18 years ago
|
Whiteboard: [contentHandling-ui]
| Assignee | ||
Comment 2•18 years ago
|
||
Attachment #280824 -
Flags: review?(gavin.sharp)
| Assignee | ||
Comment 3•18 years ago
|
||
Comment on attachment 280824 [details] [diff] [review]
patch v1: changes labels
Gavin pointed out on IRC that we should be using brandShortName instead of
hardcoding the name of the application in the properties. My patch for bug 395644 adds the necessary plumbing to make that possible, so I'll submit an updated patch for this bug once the patch on that bug lands.
Attachment #280824 -
Attachment is obsolete: true
Attachment #280824 -
Flags: review?(gavin.sharp)
| Assignee | ||
Comment 4•18 years ago
|
||
Here's a patch that uses brandShortName instead of hardcoding the name of the application in the properties file. This patch also memoizes brandShortName so that retrieving it doesn't hurt performance for tasks that call describePreferredAction many times.
Attachment #281220 -
Flags: review?(gavin.sharp)
Comment 5•18 years ago
|
||
Comment on attachment 281220 [details] [diff] [review]
patch v2: uses brandShortName
>Index: browser/components/preferences/applications.js
>@@ -1069,25 +1076,28 @@ var gApplicationsPane = {
>+ let label = this._prefsBundle.getFormattedString("alwaysAskAboutFeed",
>+ let label = this._prefsBundle.getFormattedString("liveBookmarks",
nit: unnecessarily redeclaring "label"
>Index: browser/locales/en-US/chrome/browser/preferences/preferences.properties
>+# LOCALIZATION NOTE (alwaysAskAboutFeed, liveBookmarks): %S = brandShortName
>+alwaysAskAboutFeed=Preview in %S
>+liveBookmarks=Live Bookmarks in %S
As I mentioned on IRC, it wouldn't hurt to change the entity names here to indicate a semantic change, even if it's fairly unlikely that localizers have started translating these yet.
Attachment #281220 -
Flags: review?(gavin.sharp) → review+
| Assignee | ||
Comment 6•18 years ago
|
||
(In reply to comment #5)
> nit: unnecessarily redeclaring "label"
Urk, right, fixed.
> >+# LOCALIZATION NOTE (alwaysAskAboutFeed, liveBookmarks): %S = brandShortName
> >+alwaysAskAboutFeed=Preview in %S
> >+liveBookmarks=Live Bookmarks in %S
>
> As I mentioned on IRC, it wouldn't hurt to change the entity names here to
> indicate a semantic change, even if it's fairly unlikely that localizers have
> started translating these yet.
Erm, right, how about previewInApp and liveBookmarksInApp?
Attachment #281220 -
Attachment is obsolete: true
Attachment #281236 -
Flags: review?(gavin.sharp)
Updated•18 years ago
|
Attachment #281236 -
Flags: review?(gavin.sharp) → review+
| Assignee | ||
Comment 7•18 years ago
|
||
Comment on attachment 281236 [details] [diff] [review]
patch v3: review fixes
Requesting approval to land this low-risk polish fix that renames two actions in the actions menu for the feed type (and refactors a bit of code in the process).
Attachment #281236 -
Flags: approval1.9?
Updated•18 years ago
|
Attachment #281236 -
Flags: approval1.9? → approval1.9+
| Assignee | ||
Comment 8•18 years ago
|
||
Checking in browser/components/preferences/applications.js;
/cvsroot/mozilla/browser/components/preferences/applications.js,v <-- applications.js
new revision: 1.8; previous revision: 1.7
done
Checking in browser/locales/en-US/chrome/browser/preferences/preferences.properties;
/cvsroot/mozilla/browser/locales/en-US/chrome/browser/preferences/preferences.properties,v <-- preferences.properties
new revision: 1.17; previous revision: 1.16
done
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•