diff --git a/locales/en-GB/server.properties b/locales/en-GB/server.properties old mode 100644 new mode 100755 diff --git a/locales/en-US/server.properties b/locales/en-US/server.properties old mode 100644 new mode 100755 index 0f025f109..4aab55ecd --- a/locales/en-US/server.properties +++ b/locales/en-US/server.properties @@ -216,7 +216,7 @@ publishShareLink=Here's a link you can share… publishChangesPrompt=You've made changes since you last published this project. publishProjectDescription=Project Description publishCancelBtn=Cancel -noIndexFound=Please add an "index.html" file before publishing your project. Learn more +noIndexFound_2=Published projects need an "index.html" page, please add it and try again. Learn more ################## ## Project List ## @@ -255,7 +255,7 @@ tutorialFeatureTitle=Follow & create embedded tutorials tutorialFeatureDesc=Projects can have tutorials that help you (or your students) learn as they make changes to the projects. autocompleteFeatureTitle=Get code hints as you type autocompleteFeatureDesc=Don't get stuck trying to remember a lot of rules and syntax. Thimble will give you hints in HTML, CSS and even JavaScript files. -inlineCSSFeatureTitle=Edit CSS right in your HTML pages +inlineCSSFeatureTitle=Edit CSS right in your HTML pages inlineCSSFeatureDesc=Write CSS styles for your elements without switching away from the HTML page that you are editing. Put the text cursor on any element tag and hit Cmd/Ctrl + E to start writing CSS styles. publishingFeatureTitle=Publish projects to the web fast publishingFeatureDesc=You can publish your projects to the web with only a single click. Later on, when you make changes, you can easily update your project. @@ -323,7 +323,7 @@ peiying16Contrib3=Support for editing SVG files right in the editor peiying16Quote=“I love Thimble, and I love fixing bug with Thimble team.” th30Contrib1=Updated menu transition effects th30Contrib2=Made sure files are properly highlighted in the editor -th30Quote=“Working with thimble proved to be challenging and explosive way to get into open source. It really made me collaborate and work with some amazing individuals, which always made you feel like your mistakes are merely opportunities to further improve your releases. Persistence is key, and always turn feedback into a lesson opportunity!” +th30Quote=“Working with Thimble proved to be challenging and explosive way to get into open source. It really made me collaborate and work with some amazing individuals, which always made you feel like your mistakes are merely opportunities to further improve your releases. Persistence is key, and always turn feedback into a lesson opportunity!” omytryniukContrib1=Improved the built-in image viewer UI omytryniukContrib2=Added several UI improvements and fixed front-end styling and functionality bugs omytryniukContrib3=Updated node dependencies in the Thimble project @@ -411,6 +411,8 @@ navMobilePreviewIconTitle=Preview in mobile mode navEnableFullscreenPreviewIconTitle=Enable fullscreen preview navDisableFullscreenPreviewIconTitle=Disable fullscreen preview navInsertSnippetIconTitle=Add a code snippet +navTextSizeTitle=Change the editor font size +navColorThemeTitle=Change the editor color theme # Snippet Menu snippetButtonLabel=Insert diff --git a/public/editor/scripts/ui/publisher.js b/public/editor/scripts/ui/publisher.js index 2634d599e..ff5dd4b3c 100644 --- a/public/editor/scripts/ui/publisher.js +++ b/public/editor/scripts/ui/publisher.js @@ -148,6 +148,13 @@ Publisher.prototype.publish = function(bramble) { publisher.dialogEl.removeClass("cannot-publish"); publisher.dialogEl.width(publisher.dialogEl.width()); } + if ($("#publish-button-update").is(":visible")) { + $("#updateDialog").show(); + $("#no-index-update") + .removeClass("hide") + .addClass("show"); + } + publisher.dialogEl.addClass("cannot-publish"); return; } @@ -228,6 +235,11 @@ Publisher.prototype.unpublish = function() { return; } + $("#updateDialog").hide(); + $("#no-index-update") + .removeClass("show") + .addClass("hide"); + var didConfirm = window.confirm(TEXT_UNPUBLISH_WARNING); if (!didConfirm) { diff --git a/scripts/invalidate.js b/scripts/invalidate.js old mode 100644 new mode 100755 diff --git a/scripts/localize-brackets.sh b/scripts/localize-brackets.sh old mode 100644 new mode 100755 diff --git a/scripts/localize/index.js b/scripts/localize/index.js old mode 100644 new mode 100755 diff --git a/scripts/setup-services.sh b/scripts/setup-services.sh old mode 100644 new mode 100755 diff --git a/scripts/sql/oauth-setup.sql b/scripts/sql/oauth-setup.sql old mode 100644 new mode 100755 diff --git a/scripts/verify-brackets.js b/scripts/verify-brackets.js old mode 100644 new mode 100755 diff --git a/views/editor/publish.html b/views/editor/publish.html index 357d4d3a5..eccd60fbf 100644 --- a/views/editor/publish.html +++ b/views/editor/publish.html @@ -1,4 +1,5 @@ {% block publishdialog %} +{% set learnMoreURL = "https://github.com/mozilla/thimble.mozilla.org/wiki/Using-Thimble-FAQ#why-do-i-need-an-indexhtml-file-when-publishing-my-project" %}