Closed chenejac closed 4 years ago
Andrew Woods said:
This looks good. Do you have two more pull-requests for:
./Vitro/webapp/src/main/webapp/templates/freemarker/edit/forms/defaultDataPropertyForm.ftl: <span class="or"> or </span>
./Vitro/webapp/src/main/webapp/templates/freemarker/edit/forms/defaultAddMissingIndividualForm.ftl: <span class="or"> or </span>
./Vitro/webapp/src/main/webapp/templates/freemarker/edit/forms/autoCompleteObjectPropForm.ftl: <span class="or"> or </span>
./Vitro-languages/fr_CA/webapp/src/main/webapp/templates/freemarker/edit/forms/defaultDataPropertyForm_fr_CA.ftl: <span class="or"> or </span>^M
?
Andrew Woods said:
Resolved with:
Matthias Lühr (Migrated from VIVO-1916) said:
In some freemarker templates the word ' or ' between save and cancel link is hardcoded:
find . -name "*.ftl" |xargs grep "class=\"or\"" |grep -v i18n ./freemarker/edit/forms/defaultDataPropertyForm.ftl: or ./freemarker/edit/forms/addConceptThroughObjectPropertyAutoComplete_fr_CA.ftl: or ./freemarker/edit/forms/addConceptThroughObjectPropertyAutoComplete.ftl: or ./freemarker/edit/forms/defaultAddMissingIndividualForm.ftl: or ./freemarker/edit/forms/defaultDataPropertyForm_fr_CA.ftl: or ./freemarker/edit/forms/autoCompleteObjectPropForm.ftl: or ./freemarker/edit/forms/defaultAddMissingIndividualForm_fr_CA.ftl: or
Should be replaced by "${i18n().or)".