2006-06-19 15:00:13 +00:00
|
|
|
pane.collections.delete = Are you sure you want to delete the selected project?
|
|
|
|
pane.collections.delete.multiple = Are you sure you want to delete the selected projects?
|
|
|
|
pane.collections.rename = Rename Project:
|
2006-06-21 23:22:37 +00:00
|
|
|
pane.collections.library = My Library
|
2006-06-19 15:00:13 +00:00
|
|
|
pane.collections.untitled = Untitled Project
|
2006-06-05 17:47:36 +00:00
|
|
|
|
2006-06-21 23:22:37 +00:00
|
|
|
pane.items.delete = Are you sure you want to delete the selected item?
|
|
|
|
pane.items.delete.multiple = Are you sure you want to delete the selected items?
|
|
|
|
pane.items.menu.remove = Remove Selected Item...
|
|
|
|
pane.items.menu.remove.multiple = Remove Selected Items...
|
2006-07-26 15:28:31 +00:00
|
|
|
pane.items.menu.export = Export Selected Item...
|
|
|
|
pane.items.menu.export.multiple = Export Selected Items...
|
|
|
|
pane.items.menu.createBib = Create Bibliography From Selected Item...
|
|
|
|
pane.items.menu.createBib.multiple = Create Bibliography From Selected Items...
|
2006-06-21 23:22:37 +00:00
|
|
|
|
|
|
|
pane.item.selected.zero = No items selected
|
|
|
|
pane.item.selected.multiple = %1 items selected
|
|
|
|
|
|
|
|
pane.item.changeType = Are you sure you want to change the item type? Certain fields may be lost.
|
|
|
|
pane.item.notes.untitled = Untitled Note
|
|
|
|
pane.item.notes.delete.confirm = Are you sure you want to delete the selected note?
|
|
|
|
pane.item.notes.count.singular = %1 note
|
|
|
|
pane.item.notes.count.plural = %1 notes
|
2006-06-05 17:47:36 +00:00
|
|
|
|
2006-05-19 13:53:37 +00:00
|
|
|
itemFields.title = Title
|
|
|
|
itemFields.dateAdded = Date Added
|
|
|
|
itemFields.dateModified = Modified
|
|
|
|
itemFields.source = Source
|
|
|
|
itemFields.rights = Rights
|
2006-06-08 21:30:22 +00:00
|
|
|
itemFields.notes = Notes
|
2006-05-19 13:53:37 +00:00
|
|
|
itemFields.series = Series
|
|
|
|
itemFields.volume = Volume
|
|
|
|
itemFields.number = Number
|
|
|
|
itemFields.edition = Edition
|
|
|
|
itemFields.place = Place
|
|
|
|
itemFields.publisher = Publisher
|
|
|
|
itemFields.year = Year
|
|
|
|
itemFields.pages = Pages
|
|
|
|
itemFields.ISBN = ISBN
|
|
|
|
itemFields.publication = Publication
|
|
|
|
itemFields.ISSN = ISSN
|
2006-06-24 08:28:37 +00:00
|
|
|
itemFields.date = Date
|
|
|
|
itemFields.section = Section
|
|
|
|
itemFields.thesisType = Type
|
|
|
|
itemFields.accessionNumber = Accession Number
|
|
|
|
itemFields.archiveLocation = Location in Archive
|
|
|
|
itemFields.medium = Medium
|
|
|
|
itemFields.distributor = Distributor
|
|
|
|
itemFields.url = URL
|
|
|
|
itemFields.type = Type
|
2006-06-25 18:10:27 +00:00
|
|
|
itemFields.callNumber = Call Number
|
|
|
|
itemFields.extra = Extra
|
2006-05-18 21:15:02 +00:00
|
|
|
|
Fixes #29, independent notes
- Added 'note' item type
- Updated API to support independent note creation
Notes are, more or less, just regular items, with an item type of 1. They're created through Scholar.Notes.add(text, sourceItemID), which returns the itemID of the new note. sourceItemID is optional--if left out, an independent note will be created. (There's currently nothing stopping you from doing getNewItemByType(1) yourself, but the note would be contentless and broken, so you shouldn't do that.) Note data could've been stuffed into itemData, but I kept it separate in itemNotes to keep metadata searching faster and to keep things cleaner.
Methods calls that can be called on all items:
isNote() (same as testing for itemTypeID 1)
Method calls that can be called on source items only:
numNotes()
getNotes() (array of note itemIDs for a source)
Method calls that can be called on note items only:
updateNote(text)
setNoteSource(sourceItemID) (for changing source--use empty or false to make independent, which is currently what happens when you delete a note--will get option with #91)
getNote() (note content)
getNoteSource() (sourceItemID of a note)
Calling the above methods on the wrong item types will throw an error.
*** This will break note creation/display until David updates interface code. ***
2006-06-27 15:14:07 +00:00
|
|
|
itemTypes.note = Note
|
2006-05-19 13:53:37 +00:00
|
|
|
itemTypes.book = Book
|
2006-06-24 08:28:37 +00:00
|
|
|
itemTypes.bookSection = Book Section
|
2006-05-22 18:51:22 +00:00
|
|
|
itemTypes.journalArticle = Journal Article
|
2006-06-24 08:28:37 +00:00
|
|
|
itemTypes.magazineArticle = Magazine Article
|
|
|
|
itemTypes.newspaperArticle = Newspaper Article
|
|
|
|
itemTypes.thesis = Thesis
|
|
|
|
itemTypes.letter = Letter
|
|
|
|
itemTypes.manuscript = Manuscript
|
|
|
|
itemTypes.interview = Interview
|
|
|
|
itemTypes.film = Film
|
|
|
|
itemTypes.artwork = Artwork
|
|
|
|
itemTypes.website = Website
|
Addresses #17, add filesystem/ability to store files
Not finished, but enough to give David something to work with
No BLOBs -- just linking/importing of files and loaded documents
New Scholar.Item methods:
incrementFileCount() (used internally)
decrementFileCount() (used internally)
isFile()
numFiles()
getFile() -- returns nsILocalFile or false if associated file doesn't exist (note: always returns false for items with LINK_MODE_LINKED_URL, since they have no files -- use getFileURL() instead)
getFileURL() -- returns URL string
getFileLinkMode() -- compare to Scholar.Files.LINK_MODE_* constants: LINKED_FILE, IMPORTED_FILE, LINKED_URL, IMPORTED_URL
getFileMimeType() -- mime type of file (e.g. text/plain)
getFileCharset() -- charsetID of file
getFiles() -- array of file itemIDs this file is a source for
New Scholar.Files methods:
importFromFile(nsIFile file [, int sourceItemID])
linkFromFile(nsIFile file [, int sourceItemID])
importFromDocument(nsIDOMDocument document [, int sourceItemID])
linkFromDocument(nsIDOMDocument document [, int sourceItemID])
New class Scholar.FileTypes -- partially implemented, not yet used
New class Scholar.CharacterSets -- same as other *Types classes:
getID(idOrName)
getName(idOrName)
getTypes() (aliased to getAll(), which I'll probably change the others to as well)
Charsets table with all official character sets (copied from Mozilla source)
Renamed Item.setNoteSource() to setSource() and Item.getNoteSource() to getSource() and adjusted to handle both notes and files
2006-07-27 09:16:02 +00:00
|
|
|
itemTypes.file = File
|
2006-05-22 18:51:22 +00:00
|
|
|
|
|
|
|
creatorTypes.author = Author
|
|
|
|
creatorTypes.contributor = Contributor
|
2006-06-02 18:22:34 +00:00
|
|
|
creatorTypes.editor = Editor
|
|
|
|
|
2006-06-27 02:03:10 +00:00
|
|
|
ingester.scraping = Saving Item...
|
|
|
|
ingester.scrapeComplete = Item Saved.
|
|
|
|
ingester.scrapeError = Could Not Save Item.
|
|
|
|
ingester.scrapeErrorDescription = An error occurred while saving this item. Please try again. If this error persists, contact the translator author.
|