Changed hard coded strings in addPublicationToPerson.ftl to language-neutral variables
Created by: tawahle
What does this pull request do?
Changes hardcoded strings 'publication', 'collection' , 'book', 'editor', 'conference', 'event', 'publisher' to language-neutral variables in the entry form for selected publications (Create publication entry for)
Example:
- Changes defaultTypeName: 'publication' to defaultTypeName: '${i18n().publication?js_string}'
- Changes multipleTypeNames: {publication : '
{i18n().publication?js_string}', collection: 'publication', book: 'book' , conference: 'conference' , event: 'event', editor: 'editor', publisher: 'publisher' } to multipleTypeNames: {collection: '
{i18n().publication?js_string}', book: '{i18n().book?js_string}', conference: '
{i18n().conference?js_string}', event: '{i18n().event?js_string}', editor: '
{i18n().editor?js_string}', publisher: '${i18n().publisher?js_string}'}
How should this be tested?
- publication, book, conference, event, editor and publisher should be first added to https://github.com/vivo-project/VIVO-languages i18n property files.
- Test in the entry form ### Create publication entry for
Interested parties
@VIVO-project/vivo-committers