diff --git a/app/assets/javascripts/app/controllers/widget/maintenance.js.coffee b/app/assets/javascripts/app/controllers/widget/maintenance.js.coffee index 5674c7283..c35af8237 100644 --- a/app/assets/javascripts/app/controllers/widget/maintenance.js.coffee +++ b/app/assets/javascripts/app/controllers/widget/maintenance.js.coffee @@ -14,7 +14,7 @@ class Widget extends App.Controller showMessage: (message = {}) => if message.reload @disconnectClient() - button = 'Reload application' + button = 'Continue session' # convert to html and linkify message.message = App.Utils.textCleanup( message.message ) diff --git a/app/assets/javascripts/app/controllers/widget/session_taken_over.js.coffee b/app/assets/javascripts/app/controllers/widget/session_taken_over.js.coffee index 477db047e..90a048857 100644 --- a/app/assets/javascripts/app/controllers/widget/session_taken_over.js.coffee +++ b/app/assets/javascripts/app/controllers/widget/session_taken_over.js.coffee @@ -40,11 +40,11 @@ class Widget extends App.Controller if data.taskbar_id isnt App.TaskManager.TaskbarId() @error = new App.SessionMessage( head: 'Session' - message: 'Session taken over... please reload page or work with other browser window.' + message: App.i18n.translateInline('A new session with your account was created. This session will be stopped to prevent a conflict.') keyboard: false backdrop: true close: false - button: 'Reload application' + button: 'Continue session' forceReload: true ) @disconnectClient() diff --git a/test/browser/maintenance_message_test.rb b/test/browser/maintenance_message_test.rb index ac8d8270a..a50611470 100644 --- a/test/browser/maintenance_message_test.rb +++ b/test/browser/maintenance_message_test.rb @@ -162,7 +162,7 @@ class MaintenanceMessageTest < TestCase watch_for( browser: browser2, css: '.modal', - value: 'Reload application', + value: 'Continue session', ) match_not(