diff --git a/productMods/templates/freemarker/body/aboutQrCodes_es.ftl b/productMods/templates/freemarker/body/aboutQrCodes_es.ftl new file mode 100644 index 00000000..950876f6 --- /dev/null +++ b/productMods/templates/freemarker/body/aboutQrCodes_es.ftl @@ -0,0 +1,26 @@ +<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> + +<#-- Page providing details on how QR codes work --> + +

Acerca de los códigos QR

+ +

Qué es QR?

+ +

QR, siglas de Quick Response, es un estándar para los códigos de barras de dos dimensiones que pueden ser leídos por los dispositivos móviles equipados con cámaras (como un teléfono inteligente).

+ +

Qué tipo de datos es un código QR?

+ +

Los códigos QR pueden codificar diferentes tipos de datos. El código QR ​​de la página del perfil de una persona en VIVO codifica la información acerca de esa persona en formato vCard. Se trata de una especie de tarjeta de presentación digital, que contiene información sobre el nombre de la persona, dirección, número de teléfono, dirección de correo electrónico y mucho más.

+ +

Si hace clic en el código QR ​​de una persona en VIVO, se le llevará a la página "Exportar QR" para esa persona. Esta página contiene el código QR ​​vCard visto en la página principal, así como un código QR ​​que contiene una simple hipervínculo al perfil VIVO del usuario. También contiene una etiqueta HTML para cada código, que puede ser embebido en una página web para mostrar ese código en otros sitios.

+ +<#-- todo: make VIVO API? Currently pasting Google API code into export area, this will be static and not change if VIVO data is updated. --> + +

Cómo se lee un código QR?

+ +

Hay aplicaciones que puede descargar para el iPhone y los teléfonos Android que le permite utilizar la cámara del teléfono para interactuar con los códigos QR colocados en objetos del mundo real.

+ +

Qué puedo hacer yo con un código QR?

+ +

Cualquier cosa! Para una tarjeta de negocios del estado-of-the-art, poner tu enlace de código QR ​​en la parte posterior de la misma. De esta manera cualquier persona con un smartphone adecuadamente equipado puede ir rápidamente a su perfil VIVO, simplemente apuntando su cámara hacia el código. O dicho de tu vCard código QR en la puerta de su oficina para proporcionar más información de contacto.

+ diff --git a/productMods/templates/freemarker/body/accounts/userAccounts-acctCreatedEmail.ftl b/productMods/templates/freemarker/body/accounts/userAccounts-acctCreatedEmail.ftl index ec2bb70e..25226e78 100644 --- a/productMods/templates/freemarker/body/accounts/userAccounts-acctCreatedEmail.ftl +++ b/productMods/templates/freemarker/body/accounts/userAccounts-acctCreatedEmail.ftl @@ -2,7 +2,7 @@ <#-- Confirmation that an account has been created. --> -<#assign subject = "Your ${siteName} account has been created." /> +<#assign subject = "${i18n().account_created_subject(siteName)}" /> <#assign html> @@ -15,32 +15,31 @@

- Congratulations! + ${i18n().congratulations}

- We have created your new VIVO account associated with ${userAccount.emailAddress}. + ${i18n().we_have_created_your_account(siteName,userAccount.emailAddress)}

- If you did not request this new account you can safely ignore this email. - This request will expire if not acted upon for 30 days. + ${i18n().did_not_request_text}

- Click the link below to create your password for your new account using our secure server. + ${i18n().click_to_create_password}

- ${passwordLink} + ${passwordLink}

- If the link above doesn't work, you can copy and paste the link directly into your browser's address bar. + ${i18n().if_link_failed}

- Thanks! + ${i18n().thanks}

@@ -49,20 +48,17 @@ <#assign text> ${userAccount.firstName} ${userAccount.lastName} -Congratulations! +${i18n().congratulations} -We have created your new VIVO account associated with -${userAccount.emailAddress}. +${i18n().we_have_created_your_account(siteName,userAccount.emailAddress)} -If you did not request this new account you can safely ignore this email. -This request will expire if not acted upon for 30 days. +${i18n().did_not_request_text} -Paste the link below into your browser's address bar to create your password -for your new account using our secure server. +${i18n().paste_the_link} ${passwordLink} -Thanks! +${i18n().thanks} <@email subject=subject html=html text=text /> \ No newline at end of file diff --git a/productMods/templates/freemarker/body/foaf-person--exportQrCode.ftl b/productMods/templates/freemarker/body/foaf-person--exportQrCode.ftl index f0787de4..8fca3a7d 100644 --- a/productMods/templates/freemarker/body/foaf-person--exportQrCode.ftl +++ b/productMods/templates/freemarker/body/foaf-person--exportQrCode.ftl @@ -5,15 +5,15 @@ <#include "individual-qrCodeGenerator.ftl"> -

Export QR Code (What is this?)

+

${i18n().export_qr_code} (${i18n().what_is_this})

<#assign thumbUrl = individual.thumbUrl! "${urls.images}/placeholders/person.thumbnail.jpg" > - +${i18n().alt_thumbnail_photo} -

${individual.nameStatement.value}

+

${individual.nameStatement.value}

-

VCard

+

${i18n().vcard}

<@qrCodeVCard qrCodeWidth />
-
Progress
+
${i18n().progress_capitalized}
@@ -265,9 +265,9 @@ <#else>
-

The harvester.location property in runtime.properties is undefined.

+

${i18n().the_capitalized} ${i18n().harvester_location} ${i18n().undefined_runtime_property}

-

In order to use this feature, please define a value for this property that points to the Harvester installation directory before redeploying and restarting the application.

+

${i18n().define_value_for_property}

<#-- if harvester.location is defined --> diff --git a/productMods/templates/freemarker/body/individual/individual--foaf-person-2column.ftl b/productMods/templates/freemarker/body/individual/individual--foaf-person-2column.ftl index c6f594a3..d65dade0 100644 --- a/productMods/templates/freemarker/body/individual/individual--foaf-person-2column.ftl +++ b/productMods/templates/freemarker/body/individual/individual--foaf-person-2column.ftl @@ -35,7 +35,7 @@ <#include "individual-adminPanel.ftl">
<#if relatedSubject??> -

${relatedSubject.relatingPredicateDomainPublic} for ${relatedSubject.name}

+

${relatedSubject.relatingPredicateDomainPublic} ${i18n().for} ${relatedSubject.name}

← ${i18n().return_to(relatedSubject.name)}

<#else>

style="float:left;border-right:1px solid #A6B1B0;"> diff --git a/productMods/templates/freemarker/body/individual/individual--foaf-person-quickview.ftl b/productMods/templates/freemarker/body/individual/individual--foaf-person-quickview.ftl index 281eaa14..2566f536 100644 --- a/productMods/templates/freemarker/body/individual/individual--foaf-person-quickview.ftl +++ b/productMods/templates/freemarker/body/individual/individual--foaf-person-quickview.ftl @@ -45,7 +45,7 @@
style="width:45%" >
<#if relatedSubject??> -

${relatedSubject.relatingPredicateDomainPublic} for ${relatedSubject.name}

+

${relatedSubject.relatingPredicateDomainPublic} ${i18n().for} ${relatedSubject.name}

← ${i18n().return_to(relatedSubject.name)}

<#else> <#-- Image --> @@ -97,7 +97,7 @@ --> <#if hasWebpage >
@@ -167,7 +167,7 @@

- full view icon + ${i18n().full_view_icon} <#if !editable> diff --git a/productMods/templates/freemarker/body/menupage/publications.ftl b/productMods/templates/freemarker/body/menupage/publications.ftl index 62728b1e..a1cf1fe7 100644 --- a/productMods/templates/freemarker/body/menupage/publications.ftl +++ b/productMods/templates/freemarker/body/menupage/publications.ftl @@ -1,13 +1,8 @@ <#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> -

This body is from the the template file - vivo/productMods/templates/freemarker/body/menupage/publications.ftl. - In the display model, the publications page has a display:requiresBodyTemplate - property that defines that the publications page overrides the default template. - The default template for these pages is at /vitro/webapp/web/templates/freemarker/body/menupage/menupage.ftl

+

${i18n().publications_text_one}

-

This technique could be used to define pages without menu items, that get - their content from a freemarker template. An example would be the about page.

+

${i18n().publications_text_two}

display:About
@@ -18,7 +13,6 @@ display:About

-

This would create a page that would use about.ftl as the body. The page would be -accessed via /about and would override all servlet mappings in web.xml

+

${i18n().publications_text_three}

\ No newline at end of file diff --git a/productMods/templates/freemarker/body/partials/individual/individual-contactInfo-2column.ftl b/productMods/templates/freemarker/body/partials/individual/individual-contactInfo-2column.ftl index b43bc314..a221398a 100644 --- a/productMods/templates/freemarker/body/partials/individual/individual-contactInfo-2column.ftl +++ b/productMods/templates/freemarker/body/partials/individual/individual-contactInfo-2column.ftl @@ -32,7 +32,7 @@ <#macro phoneLinks phone> <#if phone?has_content> <#-- true when the property is in the list, even if not populated (when editing) --> <#if editable> -

phone<@p.addLink phone editable />

+

${i18n().phone} <@p.addLink phone editable />

<@p.verboseDisplay phone /> <#if phone.statements?has_content> <#-- if there are any statements --> diff --git a/productMods/templates/freemarker/body/partials/individual/individual-qrCodeGenerator.ftl b/productMods/templates/freemarker/body/partials/individual/individual-qrCodeGenerator.ftl index f810f3c4..1683152e 100644 --- a/productMods/templates/freemarker/body/partials/individual/individual-qrCodeGenerator.ftl +++ b/productMods/templates/freemarker/body/partials/individual/individual-qrCodeGenerator.ftl @@ -35,11 +35,11 @@ <#local qrCodeLinkedImage><@qrCodeVCard qrCodeWidth=width /> <#if (display == "full")> -
vCard QR
+
${i18n().vcard_qr}
${qrCodeLinkedImage} <#elseif (display == "icon")> ${i18n().qr_icon} - + <#else>

${i18n().invalid_qr_code_parameter}

diff --git a/productMods/templates/freemarker/body/partials/individual/individual-visualizationQuickView.ftl b/productMods/templates/freemarker/body/partials/individual/individual-visualizationQuickView.ftl index 9bce11e8..2ece5263 100644 --- a/productMods/templates/freemarker/body/partials/individual/individual-visualizationQuickView.ftl +++ b/productMods/templates/freemarker/body/partials/individual/individual-visualizationQuickView.ftl @@ -23,7 +23,7 @@ <#assign coAuthorVisUrl = individual.coAuthorVisUrl()> <#assign mapOfScienceVisUrl = individual.mapOfScienceUrl()> - <#assign coauthor = "
  • ${i18n().co_author}${i18n().co_authors}
  • " > + <#assign coauthor = "
  • ${i18n().co_author}${i18n().co_authors_capitalized}
  • " > <#assign mapofscience = "
  • ${i18n().map_of_science}${i18n().map_of_science_capitalized}
  • " > diff --git a/productMods/templates/freemarker/body/partials/individual/propStatement-authorInAuthorship.ftl b/productMods/templates/freemarker/body/partials/individual/propStatement-authorInAuthorship.ftl index 98dfc850..839cfa12 100644 --- a/productMods/templates/freemarker/body/partials/individual/propStatement-authorInAuthorship.ftl +++ b/productMods/templates/freemarker/body/partials/individual/propStatement-authorInAuthorship.ftl @@ -50,7 +50,7 @@ ${statement.partOf!}. <#if statement.editor??> - Ed. ${statement.editor!}.  + ${i18n().editor_abbreviated} ${statement.editor!}.  <#if statement.locale?? && statement.publisher??> ${statement.locale!}: ${statement.publisher!}. @@ -66,10 +66,10 @@ <#elseif statement.subclass?contains("Book")> <#if statement.volume?? && (statement.volume!?length > 0 )> - Vol. ${statement.volume!}.  + ${i18n().volume_abbreviated} ${statement.volume!}.  <#if statement.editor??> - Ed. ${statement.editor!}.  + ${i18n().editor_abbreviated} ${statement.editor!}.  <#if statement.locale?? && statement.publisher??> ${statement.locale!}: ${statement.publisher!}. @@ -87,7 +87,7 @@ ${statement.partOf!}. <#if statement.editor??> - Ed. ${statement.editor!}.  + ${i18n().editor_abbreviated} ${statement.editor!}.  <#if statement.startPage?? && statement.endPage??> ${statement.startPage!}-${statement.endPage!}. @@ -107,7 +107,7 @@ <#else> <#-- This shouldn't happen, but we must provide for it --> - missing information resource + ${i18n().missing_info_resource} diff --git a/productMods/templates/freemarker/body/partials/individual/propStatement-dateTimeInterval.ftl b/productMods/templates/freemarker/body/partials/individual/propStatement-dateTimeInterval.ftl index a9a56c3f..f9586f33 100644 --- a/productMods/templates/freemarker/body/partials/individual/propStatement-dateTimeInterval.ftl +++ b/productMods/templates/freemarker/body/partials/individual/propStatement-dateTimeInterval.ftl @@ -13,7 +13,7 @@ --> <#if ! statement.valueStart?? && ! statement.valueEnd?? && ! statement.label?? > - incomplete date/time interval + ${i18n().incomplete_date_time_interval} <#else> <#if statement.label??> ${statement.label!} diff --git a/productMods/templates/freemarker/body/partials/individual/propStatement-dateTimeValue.ftl b/productMods/templates/freemarker/body/partials/individual/propStatement-dateTimeValue.ftl index 82029bbc..dd3ea835 100644 --- a/productMods/templates/freemarker/body/partials/individual/propStatement-dateTimeValue.ftl +++ b/productMods/templates/freemarker/body/partials/individual/propStatement-dateTimeValue.ftl @@ -10,7 +10,7 @@ <#-- No core:dateTime data property assigned. Display a link to the core:DateTimeValue object --> <#if ! statement.dateTime??> - incomplete date/time + ${i18n().incomplete_date_time_value} <#else> ${dt.formatXsdDateTimeLong(statement.dateTime, statement.precision!)} \ No newline at end of file diff --git a/productMods/templates/freemarker/body/partials/individual/propStatement-educationalTraining.ftl b/productMods/templates/freemarker/body/partials/individual/propStatement-educationalTraining.ftl index 3f04e1f4..5d4fc91b 100644 --- a/productMods/templates/freemarker/body/partials/individual/propStatement-educationalTraining.ftl +++ b/productMods/templates/freemarker/body/partials/individual/propStatement-educationalTraining.ftl @@ -18,7 +18,7 @@ <#local degree> <#if statement.degreeName??> ${statement.degreeAbbr!statement.degreeName} - <#if statement.majorField??> in ${statement.majorField} + <#if statement.majorField??> ${i18n().in} ${statement.majorField} <#elseif statement.typeName??> ${statement.typeName!} @@ -29,7 +29,7 @@ ${statement.orgName} <#elseif editable> <#-- Show the link to the context node only if the user is editing the page. --> - missing organization + ${i18n().missing_organization} diff --git a/productMods/templates/freemarker/body/partials/individual/propStatement-hasAttendeeRole.ftl b/productMods/templates/freemarker/body/partials/individual/propStatement-hasAttendeeRole.ftl index 8e661bc4..0c948b3e 100644 --- a/productMods/templates/freemarker/body/partials/individual/propStatement-hasAttendeeRole.ftl +++ b/productMods/templates/freemarker/body/partials/individual/propStatement-hasAttendeeRole.ftl @@ -28,9 +28,9 @@ <#local attendedEvent> <#if statement.event2?has_content && statement.event2Label?has_content> - at ${statement.event2Label} + ${i18n().at} ${statement.event2Label} <#elseif statement.series?has_content && statement.seriesLabel?has_content> - at ${statement.seriesLabel} + ${i18n().at} ${statement.seriesLabel} diff --git a/productMods/templates/freemarker/body/partials/individual/propStatement-hasInvestigatorRole.ftl b/productMods/templates/freemarker/body/partials/individual/propStatement-hasInvestigatorRole.ftl index fbda8b09..8898a608 100644 --- a/productMods/templates/freemarker/body/partials/individual/propStatement-hasInvestigatorRole.ftl +++ b/productMods/templates/freemarker/body/partials/individual/propStatement-hasInvestigatorRole.ftl @@ -33,9 +33,9 @@ <#local awardOrAdminBy> <#if statement.awardedByLabel??> -  awarded by ${statement.awardedByLabel!} +  ${i18n().awarded_by} ${statement.awardedByLabel!} <#elseif statement.adminedByLabel??> -  administered by ${statement.adminedByLabel!} +  ${i18n().administered_by} ${statement.adminedByLabel!} diff --git a/productMods/templates/freemarker/body/partials/individual/propStatement-organizationForTraining.ftl b/productMods/templates/freemarker/body/partials/individual/propStatement-organizationForTraining.ftl index 76c2feff..4ad826c2 100644 --- a/productMods/templates/freemarker/body/partials/individual/propStatement-organizationForTraining.ftl +++ b/productMods/templates/freemarker/body/partials/individual/propStatement-organizationForTraining.ftl @@ -24,7 +24,7 @@ <#local detailedInfo> <#if statement.degree??> - ${statement.degreeAbbr!} in ${statement.field!} + ${statement.degreeAbbr!} ${i18n().in} ${statement.field!} <#elseif statement.field??> ${statement.field!}, ${statement.suppInfo!} <#else> diff --git a/productMods/templates/freemarker/body/partials/individual/propStatement-relatedRole.ftl b/productMods/templates/freemarker/body/partials/individual/propStatement-relatedRole.ftl index 16cacbaf..ac0a470c 100644 --- a/productMods/templates/freemarker/body/partials/individual/propStatement-relatedRole.ftl +++ b/productMods/templates/freemarker/body/partials/individual/propStatement-relatedRole.ftl @@ -18,7 +18,7 @@ <#local linkedIndividual> <#if statement.indivInRole??> - ${statement.indivLabel!statement.indivName} + ${statement.indivLabel!statement.indivName} <#else> <#-- This shouldn't happen, but we must provide for it --> ${i18n().missing_person_in_role} diff --git a/productMods/templates/freemarker/body/partials/shortview/view-browse-people.ftl b/productMods/templates/freemarker/body/partials/shortview/view-browse-people.ftl index 3ad98996..fc172c3d 100644 --- a/productMods/templates/freemarker/body/partials/shortview/view-browse-people.ftl +++ b/productMods/templates/freemarker/body/partials/shortview/view-browse-people.ftl @@ -9,11 +9,11 @@ <#if (individual.thumbUrl)??> ${individual.name}

    - ${individual.name} + ${individual.name}

    <#else>

    - ${individual.name} + ${individual.name}

    diff --git a/productMods/templates/freemarker/body/partials/shortview/view-index-default.ftl b/productMods/templates/freemarker/body/partials/shortview/view-index-default.ftl index 68b25a56..277fd6fd 100644 --- a/productMods/templates/freemarker/body/partials/shortview/view-index-default.ftl +++ b/productMods/templates/freemarker/body/partials/shortview/view-index-default.ftl @@ -4,7 +4,7 @@ <#import "lib-vivo-properties.ftl" as p> -${individual.name} +${individual.name} <@p.displayTitle individual /> diff --git a/productMods/templates/freemarker/body/partials/shortview/view-search-default.ftl b/productMods/templates/freemarker/body/partials/shortview/view-search-default.ftl index aa51b4e6..fbcf3cce 100644 --- a/productMods/templates/freemarker/body/partials/shortview/view-search-default.ftl +++ b/productMods/templates/freemarker/body/partials/shortview/view-search-default.ftl @@ -4,7 +4,7 @@ <#import "lib-vivo-properties.ftl" as p> -${individual.name} +${individual.name} <@p.displayTitle individual /> diff --git a/productMods/templates/freemarker/edit/forms/addAssociatedConcept.ftl b/productMods/templates/freemarker/edit/forms/addAssociatedConcept.ftl index 19b14744..823f7d77 100644 --- a/productMods/templates/freemarker/edit/forms/addAssociatedConcept.ftl +++ b/productMods/templates/freemarker/edit/forms/addAssociatedConcept.ftl @@ -12,12 +12,12 @@ -

    Manage Concepts

    +

    ${i18n().manage_concepts}

    <#if submissionErrors?has_content>

    diff --git a/productMods/templates/freemarker/edit/forms/addAttendeeRoleToPerson.ftl b/productMods/templates/freemarker/edit/forms/addAttendeeRoleToPerson.ftl index 7831d4ff..864a5b20 100644 --- a/productMods/templates/freemarker/edit/forms/addAttendeeRoleToPerson.ftl +++ b/productMods/templates/freemarker/edit/forms/addAttendeeRoleToPerson.ftl @@ -18,9 +18,9 @@ roleExamples--> <#--Variable assignments for Add Clinical Role To Person--> -<#assign roleDescriptor = "attended" /> -<#assign typeSelectorLabel = "event type" /> -<#assign buttonText = "Attendee" /> +<#assign roleDescriptor = "${i18n().attended}" /> +<#assign typeSelectorLabel = "${i18n().event_type}" /> +<#assign buttonText = "${i18n().attendee_capitalized}" /> <#--Each of the two stage forms will include the form below--> <#include "addRoleToPersonTwoStage.ftl"> \ No newline at end of file diff --git a/productMods/templates/freemarker/edit/forms/addAuthorsToInformationResource.ftl b/productMods/templates/freemarker/edit/forms/addAuthorsToInformationResource.ftl index 7599f287..66944f8c 100644 --- a/productMods/templates/freemarker/edit/forms/addAuthorsToInformationResource.ftl +++ b/productMods/templates/freemarker/edit/forms/addAuthorsToInformationResource.ftl @@ -30,7 +30,7 @@ <#assign title="${editConfiguration.subjectName}" /> <#assign requiredHint=" *" /> -<#assign initialHint="(initial okay)" /> +<#assign initialHint="(${i18n().initial okay})" /> <@lvf.unsupportedBrowser urls.base/> @@ -38,7 +38,7 @@ <#if submissionErrors?has_content> -

    Manage Authors

    +

    ${i18n().manage_authors}