Closed
Bug 808412
Opened 12 years ago
Closed 12 years ago
Add "Open Calendar File…" to Calendar list context menu.
Categories
(Calendar :: General, defect)
Calendar
General
Tracking
(Not tracked)
RESOLVED
FIXED
1.9
People
(Reporter: Paenglab, Assigned: Paenglab)
References
Details
Attachments
(1 file, 2 obsolete files)
2.17 KB,
patch
|
Fallen
:
review+
Fallen
:
approval-calendar-aurora+
Fallen
:
approval-calendar-beta+
|
Details | Diff | Splinter Review |
Follow-up of bug 785480 to add the missing menu item.
Assignee | ||
Comment 1•12 years ago
|
||
Like in bug 785480 comment 9 proposed, I've added the menu item on calendar list context menu.
Assignee | ||
Comment 2•12 years ago
|
||
The same patch for Aurora/Beta without localization. I've added the label/accesskey entities directly to the XUL file. If the translation still would happen, then this would be taken.
Attachment #678136 -
Attachment is obsolete: true
Attachment #678136 -
Flags: review?(philipp)
Attachment #678137 -
Flags: review?(philipp)
Attachment #678137 -
Flags: approval-calendar-beta?
Attachment #678137 -
Flags: approval-calendar-aurora?
Assignee | ||
Updated•12 years ago
|
Attachment #678136 -
Attachment is obsolete: false
Attachment #678136 -
Flags: review?(philipp)
Comment 3•12 years ago
|
||
> The same patch for Aurora/Beta without localization. I've added the
> label/accesskey entities directly to the XUL file. If the translation still
> would happen, then this would be taken.
Why not reuse the existing, already translated menu string instead of hard coding the English string into the xul file?
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to Stefan Sitter from comment #3)
> > The same patch for Aurora/Beta without localization. I've added the
> > label/accesskey entities directly to the XUL file. If the translation still
> > would happen, then this would be taken.
>
> Why not reuse the existing, already translated menu string instead of hard
> coding the English string into the xul file?
Because the string is only "Calendar File…" without "Open". I don't know if it would work when I make a patchwork of the two strings "Open" and "Calendar File…". I can try this this evening.
Comment 5•12 years ago
|
||
Ah, OK. I see now that "Open Calendar File…" is only defined in sunbird/menuOverlay.dtd but not in Lightning.
Assignee | ||
Comment 6•12 years ago
|
||
I checked how the joined label would look in German: Öffnen Kalenderdatei…
This isn't good German so I think it's better leave it English than this weird German or other langage (maybe they also need to change the order).
Comment 7•12 years ago
|
||
We could also just use Open -> Calendar File as a sub-menu for aurora and beta. It would be inconsistent with the "Open Saved Message" menu item, but better than an untranslated string IMO.
Comment 8•12 years ago
|
||
(In reply to Matthew Mecca [:mmecca] from comment #7)
> We could also just use Open -> Calendar File as a sub-menu for aurora and
> beta. It would be inconsistent with the "Open Saved Message" menu item, but
> better than an untranslated string IMO.
Yeah, I agree. Maybe modify the DOM like this:
Open >
Calendar File
Open Saved Message
Assignee | ||
Comment 9•12 years ago
|
||
Now on AppMenu/File with the new submenu "Open" like on main menu.
Do we want this also for trunk? Then we have not only this menu for two versions.
Attachment #678137 -
Attachment is obsolete: true
Attachment #678137 -
Flags: review?(philipp)
Attachment #678137 -
Flags: approval-calendar-beta?
Attachment #678137 -
Flags: approval-calendar-aurora?
Attachment #679206 -
Flags: review?(philipp)
Comment 10•12 years ago
|
||
Comment on attachment 679206 [details] [diff] [review]
patch for all branches
Review of attachment 679206 [details] [diff] [review]:
-----------------------------------------------------------------
I'm fine with taking this for all branches, r=philipp
::: calendar/lightning/content/lightning-menus.xul
@@ +452,5 @@
> observes="calendar_new_calendar_command"
> insertafter="appmenu_newAccountMenuItem"/>
> </menupopup>
> +
> + <menupopup id="appmenu_FilePopup">
Extra whitespace
@@ +470,5 @@
> + oncommand="openLocalCalendar();"/>
> + </menupopup>
> + </menu>
> + </menupopup>
> + <menuitem id="appmenu_openMessageFileMenuitem" hidden="true"/>
Extra whitespace
Attachment #679206 -
Flags: review?(philipp)
Attachment #679206 -
Flags: review+
Attachment #679206 -
Flags: approval-calendar-beta+
Attachment #679206 -
Flags: approval-calendar-aurora+
Updated•12 years ago
|
Attachment #678136 -
Attachment is obsolete: true
Attachment #678136 -
Flags: review?(philipp)
Updated•12 years ago
|
Attachment #679206 -
Attachment description: patch for aurora/beta → patch for all branches
Assignee | ||
Comment 11•12 years ago
|
||
Pushed to comm-central: http://hg.mozilla.org/comm-central/rev/367153353ca4
comm-aurora: http://hg.mozilla.org/releases/comm-aurora/rev/e75dafc4b3b0
and comm-beta: http://hg.mozilla.org/releases/comm-beta/rev/556615e5c8e7
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.9
You need to log in
before you can comment on or make changes to this bug.
Description
•