From 74b179bfd66f87168122355e3d560ac4ed599625 Mon Sep 17 00:00:00 2001 From: mmathrani <60405811+mmathrani@users.noreply.github.com> Date: Wed, 12 Aug 2020 12:28:36 -0700 Subject: [PATCH] Update link alert description in demos (#4160) * Alert update on save blocks * Add a missing \ in the alert message * added missing words in storage message --- demos/blockfactory/app_controller.js | 2 +- demos/code/msg/en.js | 2 +- demos/storage/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/demos/blockfactory/app_controller.js b/demos/blockfactory/app_controller.js index 911d3ae95..ecc19f0bd 100644 --- a/demos/blockfactory/app_controller.js +++ b/demos/blockfactory/app_controller.js @@ -568,7 +568,7 @@ AppController.prototype.initializeBlocklyStorage = function() { BlocklyStorage.HTTPREQUEST_ERROR = 'There was a problem with the request.\n'; BlocklyStorage.LINK_ALERT = - 'Share your blocks with this link:\n\n%1'; + 'Share your blocks with this public link. We'\ll delete them if not used for a year. They are not associated with your account and handled as per Google\'s Privacy Policy. Please be sure not to include any private information.:\n\n%1'; BlocklyStorage.HASH_ERROR = 'Sorry, "%1" doesn\'t correspond with any saved Blockly file.'; BlocklyStorage.XML_ERROR = 'Could not load your saved file.\n' + diff --git a/demos/code/msg/en.js b/demos/code/msg/en.js index 8d52cf333..d853826f0 100644 --- a/demos/code/msg/en.js +++ b/demos/code/msg/en.js @@ -17,7 +17,7 @@ var MSG = { listVariable: "list", textVariable: "text", httpRequestError: "There was a problem with the request.", - linkAlert: "Share your blocks with this link:\n\n%1", + linkAlert: "Share your blocks with this public link. We\'ll delete them if not used for a year. They are not associated with your account and handled as per Google\'s Privacy Policy. Please be sure not to include any private information.:\n\n%1", hashError: "Sorry, '%1' doesn't correspond with any saved program.", xmlError: "Could not load your saved file. Perhaps it was created with a different version of Blockly?", badXml: "Error parsing XML:\n%1\n\nSelect 'OK' to abandon your changes or 'Cancel' to further edit the XML." diff --git a/demos/storage/index.html b/demos/storage/index.html index a20144cd8..3bd34f079 100644 --- a/demos/storage/index.html +++ b/demos/storage/index.html @@ -37,7 +37,7 @@