diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 294781ba..024627fc 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -14,5 +14,8 @@ }, "deleteMessages": { "message": "Delete messages" + }, + "sessionEnded": { + "message": "Secure session ended" } } diff --git a/_locales/it/messages.json b/_locales/it/messages.json index bf7ce041..9df0e2a6 100644 --- a/_locales/it/messages.json +++ b/_locales/it/messages.json @@ -10,5 +10,8 @@ }, "deleteMessages": { "message": "Cancella messaggi" + }, + "sessionEnded": { + "message": "Sessione sicura terminata" } } diff --git a/js/views/end_session_view.js b/js/views/end_session_view.js index 63b150b6..8949b634 100644 --- a/js/views/end_session_view.js +++ b/js/views/end_session_view.js @@ -7,11 +7,11 @@ window.Whisper = window.Whisper || {}; Whisper.EndSessionView = Whisper.View.extend({ - tagName: "div", - className: "end-session", + tagName: 'div', + className: 'end-session', templateName: 'message', render_attributes: function() { - return { text: 'Secure session ended' }; + return { text: i18n('sessionEnded') }; } });