d6fa0455e1
- 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. ***
71 lines
No EOL
2.7 KiB
INI
71 lines
No EOL
2.7 KiB
INI
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:
|
|
pane.collections.library = My Library
|
|
pane.collections.untitled = Untitled Project
|
|
|
|
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...
|
|
|
|
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
|
|
|
|
itemFields.title = Title
|
|
itemFields.dateAdded = Date Added
|
|
itemFields.dateModified = Modified
|
|
itemFields.source = Source
|
|
itemFields.rights = Rights
|
|
itemFields.notes = Notes
|
|
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
|
|
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
|
|
itemFields.callNumber = Call Number
|
|
itemFields.extra = Extra
|
|
|
|
itemTypes.note = Note
|
|
itemTypes.book = Book
|
|
itemTypes.bookSection = Book Section
|
|
itemTypes.journalArticle = Journal Article
|
|
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
|
|
|
|
creatorTypes.author = Author
|
|
creatorTypes.contributor = Contributor
|
|
creatorTypes.editor = Editor
|
|
|
|
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. |