Skip to content

Changed hard coded strings in addPublicationToPerson.ftl to language-neutral variables

backups requested to merge github/fork/tawahle/issue-2 into i18n-redesign

Created by: tawahle

VIVO GitHub issue 3752

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?

Interested parties

@VIVO-project/vivo-committers

Merge request reports