diff --git a/services/web/app/views/project/editor.pug b/services/web/app/views/project/editor.pug index 6612ca8f90..e76e2c3f7b 100644 --- a/services/web/app/views/project/editor.pug +++ b/services/web/app/views/project/editor.pug @@ -149,7 +149,7 @@ block content | {{editorContent}} .modal-footer - button.btn.btn-info(ng-click="done()") #{translate("ok")} + button.btn.btn-info(ng-click="done()") #{translate("reload_editor")} script(type="text/ng-template", id="lockEditorModalTemplate") .modal-header diff --git a/services/web/frontend/js/ide/editor/EditorManager.js b/services/web/frontend/js/ide/editor/EditorManager.js index 142f0fdb86..62494715bb 100644 --- a/services/web/frontend/js/ide/editor/EditorManager.js +++ b/services/web/frontend/js/ide/editor/EditorManager.js @@ -1,10 +1,10 @@ import _ from 'lodash' /* eslint-disable - camelcase, - node/handle-callback-err, - max-len, - no-return-assign, -*/ + camelcase, + node/handle-callback-err, + max-len, + no-return-assign, + */ // TODO: This file was created by bulk-decaffeinate. // Fix any style issues and re-enable lint. /* @@ -326,7 +326,7 @@ export default EditorManager = (function() { this.$scope.editor.error_state = true this.ide.showOutOfSyncModal( 'Out of sync', - "Sorry, this file has gone out of sync and we need to do a full refresh.
Please see this help guide for more information", + "Sorry, this file has gone out of sync and we need to do a full refresh.
Please see this help guide for more information", editorContent ) // Do not forceReopen the document. diff --git a/services/web/locales/en.json b/services/web/locales/en.json index 36ba00178d..4704918b5b 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -1,4 +1,5 @@ { + "reload_editor": "Reload editor", "compile_error_description": "This project did not compile because of an error", "validation_issue_description": "This project did not compile because of a validation issue", "compile_error_entry_description": "An error which prevented this project from compiling",