From b026cc3f08b3ccb32c255849254a54de3757e791 Mon Sep 17 00:00:00 2001 From: Tim Worrall Date: Tue, 19 Aug 2014 12:59:54 -0400 Subject: [PATCH] standardizing edit mode submit button text --- .../templates/freemarker/edit/forms/addFullNameToPerson.ftl | 2 +- .../templates/freemarker/edit/forms/addOrcidIdToPerson.ftl | 2 +- .../templates/freemarker/edit/forms/addPublicationToPerson.ftl | 2 +- .../templates/freemarker/edit/forms/dateTimeValueForm.ftl | 2 +- .../templates/freemarker/edit/forms/personHasEmailAddress.ftl | 2 +- .../templates/freemarker/edit/forms/personHasPreferredTitle.ftl | 2 +- .../freemarker/edit/forms/subjectHasMailingAddress.ftl | 2 +- .../freemarker/edit/forms/subjectHasPhoneFaxNumber.ftl | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/productMods/templates/freemarker/edit/forms/addFullNameToPerson.ftl b/productMods/templates/freemarker/edit/forms/addFullNameToPerson.ftl index 23a3f0ea..53edcfe0 100644 --- a/productMods/templates/freemarker/edit/forms/addFullNameToPerson.ftl +++ b/productMods/templates/freemarker/edit/forms/addFullNameToPerson.ftl @@ -30,7 +30,7 @@ <#if editMode == "edit"> <#assign titleVerb="${i18n().edit_capitalized}"> - <#assign submitButtonText="${titleVerb}" + " ${i18n().full_name}"> + <#assign submitButtonText="${i18n().save_changes}"> <#assign disabledVal="disabled"> <#else> <#assign titleVerb="${i18n().create_capitalized}"> diff --git a/productMods/templates/freemarker/edit/forms/addOrcidIdToPerson.ftl b/productMods/templates/freemarker/edit/forms/addOrcidIdToPerson.ftl index b52c52fd..a495e766 100644 --- a/productMods/templates/freemarker/edit/forms/addOrcidIdToPerson.ftl +++ b/productMods/templates/freemarker/edit/forms/addOrcidIdToPerson.ftl @@ -25,7 +25,7 @@ <#if editMode == "edit"> <#assign titleVerb="${i18n().edit_capitalized}"> - <#assign submitButtonText="${titleVerb}" + " ORCID iD"> + <#assign submitButtonText="${i18n().save_changes}"> <#assign disabledVal="disabled"> <#else> <#assign titleVerb="${i18n().create_capitalized}"> diff --git a/productMods/templates/freemarker/edit/forms/addPublicationToPerson.ftl b/productMods/templates/freemarker/edit/forms/addPublicationToPerson.ftl index ea50bb0e..15fcfc42 100644 --- a/productMods/templates/freemarker/edit/forms/addPublicationToPerson.ftl +++ b/productMods/templates/freemarker/edit/forms/addPublicationToPerson.ftl @@ -70,7 +70,7 @@ Set this flag on the input acUriReceiver where you would like this behavior to o <#if editMode == "edit"> <#assign titleVerb="${i18n().edit_capitalized}"> - <#assign submitButtonText="${i18n().Save_changes}"> + <#assign submitButtonText="${i18n().save_changes}"> <#assign disabledVal="disabled"> <#else> <#assign titleVerb="${i18n().create_capitalized}"> diff --git a/productMods/templates/freemarker/edit/forms/dateTimeValueForm.ftl b/productMods/templates/freemarker/edit/forms/dateTimeValueForm.ftl index f0598f44..0eb25388 100644 --- a/productMods/templates/freemarker/edit/forms/dateTimeValueForm.ftl +++ b/productMods/templates/freemarker/edit/forms/dateTimeValueForm.ftl @@ -10,7 +10,7 @@ <#if editMode == "edit"> <#assign titleVerb="${i18n().edit_capitalized}"> <#assign disabledVal="disabled"> - <#assign submitButtonText="${i18n().edit_date_time_value}"> + <#assign submitButtonText="${i18n().save_changes}"> <#else> <#assign titleVerb="${i18n().create_capitalized}"> <#assign submitButtonText="${i18n().create_date_time_value}"> diff --git a/productMods/templates/freemarker/edit/forms/personHasEmailAddress.ftl b/productMods/templates/freemarker/edit/forms/personHasEmailAddress.ftl index 8d498191..c603fae0 100644 --- a/productMods/templates/freemarker/edit/forms/personHasEmailAddress.ftl +++ b/productMods/templates/freemarker/edit/forms/personHasEmailAddress.ftl @@ -25,7 +25,7 @@ <#if editMode == "edit"> <#assign titleVerb="${i18n().edit_capitalized}"> - <#assign submitButtonText="${titleVerb}" + " ${i18n().email_address}"> + <#assign submitButtonText="${i18n().save_changes}"> <#assign disabledVal="disabled"> <#else> <#assign titleVerb="${i18n().create_capitalized}"> diff --git a/productMods/templates/freemarker/edit/forms/personHasPreferredTitle.ftl b/productMods/templates/freemarker/edit/forms/personHasPreferredTitle.ftl index 2d945e4e..14c5cd49 100644 --- a/productMods/templates/freemarker/edit/forms/personHasPreferredTitle.ftl +++ b/productMods/templates/freemarker/edit/forms/personHasPreferredTitle.ftl @@ -25,7 +25,7 @@ <#if editMode == "edit"> <#assign titleVerb="${i18n().edit_capitalized}"> - <#assign submitButtonText="${titleVerb}" + " ${i18n().preferred_title}"> + <#assign submitButtonText="${i18n().save_changes}"> <#assign disabledVal="disabled"> <#else> <#assign titleVerb="${i18n().create_capitalized}"> diff --git a/productMods/templates/freemarker/edit/forms/subjectHasMailingAddress.ftl b/productMods/templates/freemarker/edit/forms/subjectHasMailingAddress.ftl index f7b7cef9..d4b128b4 100644 --- a/productMods/templates/freemarker/edit/forms/subjectHasMailingAddress.ftl +++ b/productMods/templates/freemarker/edit/forms/subjectHasMailingAddress.ftl @@ -29,7 +29,7 @@ <#if editMode == "edit"> <#assign titleVerb="${i18n().edit_capitalized}"> - <#assign submitButtonText="${i18n().edit_mailing_address}"> + <#assign submitButtonText="${i18n().save_changes}"> <#assign disabledVal="disabled"> <#else> <#assign titleVerb="${i18n().create_capitalized}"> diff --git a/productMods/templates/freemarker/edit/forms/subjectHasPhoneFaxNumber.ftl b/productMods/templates/freemarker/edit/forms/subjectHasPhoneFaxNumber.ftl index 71a2fb89..b8405acf 100644 --- a/productMods/templates/freemarker/edit/forms/subjectHasPhoneFaxNumber.ftl +++ b/productMods/templates/freemarker/edit/forms/subjectHasPhoneFaxNumber.ftl @@ -36,7 +36,7 @@ <#if editMode == "edit"> <#assign titleVerb="${i18n().edit_capitalized}"> - <#assign submitButtonText="${titleVerb}" + " ${labelString}"> + <#assign submitButtonText="${i18n().save_changes}"> <#assign disabledVal="disabled"> <#else> <#assign titleVerb="${i18n().create_capitalized}">