diff --git a/config/locale/dmpopidor.pot b/config/locale/dmpopidor.pot index 54efd70..221c2d2 100644 --- a/config/locale/dmpopidor.pot +++ b/config/locale/dmpopidor.pot @@ -588,4 +588,7 @@ ### EXPORT ################ msgid "Local indentifier" +msgstr "" + +msgid "Personal" msgstr "" \ No newline at end of file diff --git a/config/locale/en_GB/dmpopidor.po b/config/locale/en_GB/dmpopidor.po index a2d759b..fd4686b 100644 --- a/config/locale/en_GB/dmpopidor.po +++ b/config/locale/en_GB/dmpopidor.po @@ -584,4 +584,7 @@ ### EXPORT ################ msgid "Local indentifier" -msgstr "Local indentifier" \ No newline at end of file +msgstr "Local indentifier" + +msgid "Personal" +msgstr "Personal" \ No newline at end of file diff --git a/config/locale/fr_FR/dmpopidor.po b/config/locale/fr_FR/dmpopidor.po index 7f74a5b..a2fb4a6 100644 --- a/config/locale/fr_FR/dmpopidor.po +++ b/config/locale/fr_FR/dmpopidor.po @@ -586,4 +586,7 @@ ### EXPORT ################ msgid "Local indentifier" -msgstr "Identifiant local" \ No newline at end of file +msgstr "Identifiant local" + +msgid "Personal" +msgstr "Personne" \ No newline at end of file diff --git a/lib/dmpopidor/models/plan.rb b/lib/dmpopidor/models/plan.rb index 5cf2811..e462b3e 100644 --- a/lib/dmpopidor/models/plan.rb +++ b/lib/dmpopidor/models/plan.rb @@ -149,6 +149,7 @@ ################################# person_data = { + "nameType" => d_("dmpopidor", "Personal"), "lastName" => owner.surname, "firstName" => owner.firstname, "mbox" => owner.email diff --git a/lib/tasks/madmpopidor.rake b/lib/tasks/madmpopidor.rake index 524698b..46d2f7a 100644 --- a/lib/tasks/madmpopidor.rake +++ b/lib/tasks/madmpopidor.rake @@ -27,6 +27,7 @@ ################################# # Principal Investigator pi_person_data = { + "nameType" => d_("dmpopidor", "Personal"), "lastName" => plan.principal_investigator, "mbox" => plan.principal_investigator_email, "personId" => plan.principal_investigator_identifier @@ -49,6 +50,7 @@ # Data Contact dc_person_data = { + "nameType" => d_("dmpopidor", "Personal"), "lastName" => plan.data_contact, "mbox" => plan.data_contact_email }