zotero/zotero — pull request #244 by gracile-fr (2013-02-06 23:36:35+00:00)
Title: Quick Format Citation dialog: improve bubble (& drop-down search list)

In the Quick Format bar, the blue bubble shows "Author, Year" or "Title, Year" if the author field is empty. This PR improves the bubble (and the items description in the drop-down search list) for Cases, Statutes, Patents and Emails (especially for Cases actually - e.g.: none of the cases in my Z Library have an author).

-Display the Year for types which don't have a proper "date" field (case, patent, statute) in the item description in the drop-down search list and in the bubble. (includeBaseMapped set to true in item.getField).
-Display the Title for types which don't have a proper "title" field (case, email, statute) in the bubble (use getDisplayTitle).
-Localization of the quotes displayed in the Quick Format bar (and colon in prevision of https://github.com/zotero/zotero/blob/master/chrome/content/zotero/bindings/attachmentbox.xml#L258)

Thanks!