diff --git a/MapTour/package.json b/MapTour/package.json index 0a71470..4bf9024 100644 --- a/MapTour/package.json +++ b/MapTour/package.json @@ -1,6 +1,6 @@ { "name": "StorytellingMapTour", - "version": "2.5.1", + "version": "2.5.2", "devDependencies": { "grunt": "~0.4.1", "grunt-contrib-clean": "~0.4.0", diff --git a/MapTour/src/app/maptour-config.js b/MapTour/src/app/maptour-config.js index 28e8325..03d42d4 100644 --- a/MapTour/src/app/maptour-config.js +++ b/MapTour/src/app/maptour-config.js @@ -141,11 +141,6 @@ APPCFG = { // Online photo sharing services connection parameters FLICKR_API_KEY: "750b36a2ac65a72e03cf9cef06d79f45", - // The Facebook ID is only valid on arcgis.com domain - // If used on another domain, user will have an error in the Facebook popup after login - // To use Facebook import on Portal for ArcGIS, create your own ID at https://developers.facebook.com/ - // or set AUTHORIZED_IMPORT_SOURCE.facebook to false - FACEBOOK_APP_ID: "471023926309627", // This Youtube key is valid for application running on arcgis.com and esri.com domains // If the application is deployed on Portal for ArcGIS or your own server, the Youtube api call // won't be perfomed until you set the following flag and provide your own key diff --git a/MapTour/src/app/storymaps/builder/SettingsPopupTabHeader.js b/MapTour/src/app/storymaps/builder/SettingsPopupTabHeader.js index e5424dc..30874bb 100644 --- a/MapTour/src/app/storymaps/builder/SettingsPopupTabHeader.js +++ b/MapTour/src/app/storymaps/builder/SettingsPopupTabHeader.js @@ -217,6 +217,7 @@ define(["storymaps/utils/Helper"], $(contentContainer).find('p').eq(1).html(i18n.viewer.builderHTML.settingsLogoSocialExplain); $(contentContainer).find('.control-label[for=selectSocialText]').html(i18n.viewer.builderHTML.settingsLogoSocialText + ":"); $(contentContainer).find('.control-label[for=selectSocialLink]').html(i18n.viewer.builderHTML.settingsLogoSocialLink + ":"); + $(contentContainer).find('.header-share-label').html(i18n.viewer.builderHTML.buttonShare); }; }; } diff --git a/MapTour/src/app/storymaps/core/Core.css b/MapTour/src/app/storymaps/core/Core.css index 570e285..3e91839 100644 --- a/MapTour/src/app/storymaps/core/Core.css +++ b/MapTour/src/app/storymaps/core/Core.css @@ -22,7 +22,7 @@ html, body { url('../../../resources/font/OpenSans-Semibold-webfont.woff') format('woff'), url('../../../resources/font/OpenSans-Semibold-webfont.ttf') format('truetype'), url('../../../resources/font/OpenSans-Semibold-webfont.svg#open_sanssemibold') format('svg'); - font-weight: normal; + font-weight: bold; font-style: normal; } diff --git a/MapTour/src/app/storymaps/core/Core.js b/MapTour/src/app/storymaps/core/Core.js index 51398d1..12db70a 100644 --- a/MapTour/src/app/storymaps/core/Core.js +++ b/MapTour/src/app/storymaps/core/Core.js @@ -24,6 +24,7 @@ define(["esri/map", "dojo/on", "dojo/_base/lang", "dojo/_base/array", + "dojo/_base/kernel", "dojo/Deferred", "dojo/DeferredList", "dojo/query", @@ -51,6 +52,7 @@ define(["esri/map", on, lang, array, + kernel, Deferred, DeferredList, query, @@ -962,6 +964,7 @@ define(["esri/map", function initLocalization() { + document.documentElement.lang = kernel.locale; query('#fatalError .error-title')[0].innerHTML = i18n.viewer.errors.boxTitle; } diff --git a/MapTour/src/app/storymaps/maptour/builder/BuilderView.js b/MapTour/src/app/storymaps/maptour/builder/BuilderView.js index 08ccf9f..982a7e9 100644 --- a/MapTour/src/app/storymaps/maptour/builder/BuilderView.js +++ b/MapTour/src/app/storymaps/maptour/builder/BuilderView.js @@ -376,11 +376,6 @@ define(["storymaps/maptour/core/WebApplicationData", nbPicturesMax: APPCFG.MAX_ALLOWED_POINTS, nbPicturesAuthorized: APPCFG.MAX_ALLOWED_POINTS }, - Facebook: { - appId: APPCFG.FACEBOOK_APP_ID, - nbPicturesMax: APPCFG.MAX_ALLOWED_POINTS, - nbPicturesAuthorized: APPCFG.MAX_ALLOWED_POINTS - }, Picasa: { nbPicturesMax: APPCFG.MAX_ALLOWED_POINTS, nbPicturesAuthorized: APPCFG.MAX_ALLOWED_POINTS @@ -470,11 +465,6 @@ define(["storymaps/maptour/core/WebApplicationData", nbPicturesMax: APPCFG.MAX_ALLOWED_POINTS, nbPicturesAuthorized: nbPicturesAuthorized }, - Facebook: { - appId: APPCFG.FACEBOOK_APP_ID, - nbPicturesMax: APPCFG.MAX_ALLOWED_POINTS, - nbPicturesAuthorized: nbPicturesAuthorized - }, Picasa: { nbPicturesMax: APPCFG.MAX_ALLOWED_POINTS, nbPicturesAuthorized: nbPicturesAuthorized diff --git a/MapTour/src/app/storymaps/maptour/builder/HelpPopup.js b/MapTour/src/app/storymaps/maptour/builder/HelpPopup.js index 8bccba9..0bbfd20 100644 --- a/MapTour/src/app/storymaps/maptour/builder/HelpPopup.js +++ b/MapTour/src/app/storymaps/maptour/builder/HelpPopup.js @@ -63,6 +63,10 @@ define([], + '