Closed Bug 354251 Opened 18 years ago Closed 18 years ago

"Open in Tabs" string missing from History menu under "Recently Closed Tabs" (if you disable places)

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 3 alpha1

People

(Reporter: moco, Assigned: moco)

References

()

Details

Attachments

(2 files, 1 obsolete file)

"Open in Tabs" string missing from History menu under "Recently Closed Tabs" (if you disable places) http://litmus.mozilla.org/show_test.cgi?id=2468 from the console: JavaScript error: chrome://browser/content/browser.js, line 6610: strings has no properties here comes a screen shot
Attached patch patch (obsolete) — Splinter Review
note, these strings are duplicated. the still live in places.properties, for use by http://lxr.mozilla.org/seamonkey/source/browser/base/content/browser-places.js#420
Attachment #240099 - Flags: review?(dietrich)
in addition to the menu not having a label, the menu item won't work as we'll throw that error
Target Milestone: --- → Firefox 3 alpha1
(In reply to comment #3) > Created an attachment (id=240099) [edit] > patch > > note, these strings are duplicated. the still live in places.properties, for > use by > http://lxr.mozilla.org/seamonkey/source/browser/base/content/browser-places.js#420 > Instead of duplicating the strings, would it be possible to remove the duplicate strings from places.properties, and use gNavigatorBundle with the browser.properties string in both locations? These are the only consumers of the property, so it'd be great not to duplicate. http://lxr.mozilla.org/mozilla/search?string=menuOpenInTabs.label
should be doable, since: /browser/base/content/browser.js, line 6769 -- #include browser-places.js so we should have access to browser.properties (via bundle_browser). I'll investigate that (for --enabled-places, to make sure I don't break that.)
Status: NEW → ASSIGNED
Attached patch better patchSplinter Review
here's a better patch (thanks to dietrich for the suggestion) to move (instead of duplicating) the strings. I've tested on trunk both with places (and without, which is now the default.)
Attachment #240099 - Attachment is obsolete: true
Attachment #240201 - Flags: review?(dietrich)
Attachment #240099 - Flags: review?(dietrich)
OS: Mac OS X 10.3 → All
Hardware: PC → All
Attachment #240201 - Flags: review?(dietrich) → review+
fixed
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Depends on: 368449
Component: History → Bookmarks & History
QA Contact: history → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: