From 98fb71fcb6959af1635d2fe0e9d0c407edd754f3 Mon Sep 17 00:00:00 2001 From: Thomas Rittson <31796059+eliykat@users.noreply.github.com> Date: Sat, 26 Feb 2022 01:19:37 +1000 Subject: [PATCH] Update jslib (#1494) * Update jslib * Add i18n error message * Update imports --- jslib | 2 +- src/app/tools/import.component.ts | 4 ++-- src/locales/en/messages.json | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/jslib b/jslib index 60878cd4ed..65219f5705 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 60878cd4ed9b1989860a918b62ce72529232560f +Subproject commit 65219f5705addf9c762e796c31ba914a395a9ff0 diff --git a/src/app/tools/import.component.ts b/src/app/tools/import.component.ts index 07c55829bd..cf0880a347 100644 --- a/src/app/tools/import.component.ts +++ b/src/app/tools/import.component.ts @@ -3,12 +3,12 @@ import { Router } from "@angular/router"; import Swal, { SweetAlertIcon } from "sweetalert2"; import { I18nService } from "jslib-common/abstractions/i18n.service"; -import { ImportOption, ImportService } from "jslib-common/abstractions/import.service"; +import { ImportService } from "jslib-common/abstractions/import.service"; import { LogService } from "jslib-common/abstractions/log.service"; import { PlatformUtilsService } from "jslib-common/abstractions/platformUtils.service"; import { PolicyService } from "jslib-common/abstractions/policy.service"; +import { ImportOption, ImportType } from "jslib-common/enums/importOptions"; import { PolicyType } from "jslib-common/enums/policyType"; -import { ImportType } from "jslib-common/services/import.service"; @Component({ selector: "app-import", diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json index 49e80b2dec..e7100aef5a 100644 --- a/src/locales/en/messages.json +++ b/src/locales/en/messages.json @@ -4739,5 +4739,8 @@ }, "freeWithSponsorship": { "message": "FREE with sponsorship" + }, + "sessionTimeout": { + "message": "Your session has timed out. Please go back and try logging in again." } }