Skip to content

Changed hardcoded strings to language-neutral variables in personHasAdvisorRelationship.ftl

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

Created by: tawahle

VIVO GitHub issue 3752

What does this pull request do?

Changes hardcoded strings 'advisee' and 'Subject Area' to language-neutral variables in the entry form for Advisor Relationship (Create advisee relationship entry for)

Example:

  • Changes defaultTypeName: 'advisee' to defaultTypeName: '${i18n().advisee?js_string}'
  • Changes multipleTypeNames: {advisee: 'advisee', SubjectArea: 'Subject Area'} to multipleTypeNames: {advisee: '{i18n().advisee?js_string}', SubjectArea: '{i18n().subject_Area?js_string}'}

How should this be tested?

Interested parties

Tag (@ mention) interested parties or, if unsure, @VIVO-project/vivo-committers

Merge request reports