From 66992942b60b27e46aa9feb2ed3fe417650f6198 Mon Sep 17 00:00:00 2001 From: tworrall Date: Tue, 11 Jun 2013 12:23:32 -0400 Subject: [PATCH] i18n updates to javascript files and related templates --- productMods/js/individual/propertyGroupControls.js | 3 +-- .../body/individual/individual--foaf-person-2column.ftl | 5 +++++ .../body/individual/individual--foaf-person-quickview.ftl | 5 +++++ themes/wilma/templates/individual--foaf-person.ftl | 5 +++++ 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/productMods/js/individual/propertyGroupControls.js b/productMods/js/individual/propertyGroupControls.js index e95f645f..70cb4c99 100644 --- a/productMods/js/individual/propertyGroupControls.js +++ b/productMods/js/individual/propertyGroupControls.js @@ -3,7 +3,6 @@ $(document).ready(function(){ $.extend(this, individualLocalName); - $.extend(this, i18nStringsTabs); adjustFontSize(); padSectionBottoms(); checkLocationHash(); @@ -34,7 +33,7 @@ $(document).ready(function(){ $propertyGroupLi.removeClass("nonSelectedGroupTab clickable"); $propertyGroupLi.addClass("selectedGroupTab clickable"); } - if ( $propertyGroupLi.text() == i18nStringsTabs.viewAllCapitalized ) { + if ( $propertyGroupLi.attr("groupname") == "viewAll" ) { processViewAllTab(); } else { 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 0175edaa..01ec1742 100644 --- a/productMods/templates/freemarker/body/individual/individual--foaf-person-2column.ftl +++ b/productMods/templates/freemarker/body/individual/individual--foaf-person-2column.ftl @@ -161,6 +161,11 @@ var i18nStrings = { showMoreContent: '${i18n().show_more_content}', verboseTurnOff: '${i18n().verbose_turn_off}' }; +var i18nStringsUriRdf = { + shareProfileUri: '${i18n().share_profile_uri}', + viewRDFProfile: '${i18n().view_profile_in_rdf}', + closeString: '${i18n().close}' +}; ${stylesheets.add('', 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 85ada6f7..7a2e39e8 100644 --- a/productMods/templates/freemarker/body/individual/individual--foaf-person-quickview.ftl +++ b/productMods/templates/freemarker/body/individual/individual--foaf-person-quickview.ftl @@ -207,6 +207,11 @@ var i18nStrings = { showMoreContent: '${i18n().show_more_content}', verboseTurnOff: '${i18n().verbose_turn_off}' }; +var i18nStringsUriRdf = { + shareProfileUri: '${i18n().share_profile_uri}', + viewRDFProfile: '${i18n().view_profile_in_rdf}', + closeString: '${i18n().close}' +}; <#if editable> ${stylesheets.add('',