From 1af0021af35c3c0dda2e2adfe51c44fab7c30a24 Mon Sep 17 00:00:00 2001 From: Thomas Rittson <31796059+eliykat@users.noreply.github.com> Date: Fri, 25 Feb 2022 00:35:18 +1000 Subject: [PATCH] Update jslib (#493) * Update jslib * Add i18n error message * Update deps --- jslib | 2 +- src/bw.ts | 3 ++- src/locales/en/messages.json | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/jslib b/jslib index 78b5f15042..1cbc119ad8 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 78b5f1504208931e17dbfd447331447b6fc4ca1f +Subproject commit 1cbc119ad8c0447046624634dcd09262bb3f9b46 diff --git a/src/bw.ts b/src/bw.ts index feb07b3c3e..2c0f2bbef2 100644 --- a/src/bw.ts +++ b/src/bw.ts @@ -312,7 +312,8 @@ export class Main { this.keyConnectorService, this.environmentService, this.stateService, - this.twoFactorService + this.twoFactorService, + this.i18nService ); this.auditService = new AuditService(this.cryptoFunctionService, this.apiService); diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json index d14e597990..fc9cb45669 100644 --- a/src/locales/en/messages.json +++ b/src/locales/en/messages.json @@ -37,5 +37,8 @@ }, "invalidMasterPassword": { "message": "Invalid master password." + }, + "sessionTimeout": { + "message": "Your session has timed out. Please go back and try logging in again." } }