Improved wording.

This commit is contained in:
Martin Edenhofer 2015-06-12 07:59:06 +02:00
parent b3bbcc0b60
commit ff41b81713
3 changed files with 4 additions and 4 deletions

View file

@ -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 )

View file

@ -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()

View file

@ -162,7 +162,7 @@ class MaintenanceMessageTest < TestCase
watch_for(
browser: browser2,
css: '.modal',
value: 'Reload application',
value: 'Continue session',
)
match_not(