From a251d99f3a45e1100aa197792b843c6dcaf84727 Mon Sep 17 00:00:00 2001 From: Dmitry-Ilyushechkin Date: Mon, 30 Jun 2025 14:05:03 +0300 Subject: [PATCH] Console error output for win xp --- common/loginpage/locale/en-GB.js | 1 + common/loginpage/locale/ru.js | 1 + common/loginpage/src/locale.js | 1 + common/loginpage/src/paneltemplates.js | 6 ++++++ 4 files changed, 9 insertions(+) diff --git a/common/loginpage/locale/en-GB.js b/common/loginpage/locale/en-GB.js index 4c711ac33..c3d8e6e02 100644 --- a/common/loginpage/locale/en-GB.js +++ b/common/loginpage/locale/en-GB.js @@ -125,6 +125,7 @@ l10n.en_GB = { tplSearchResult: "Results for", tplNoResultsTitle: "Nothing found", tplNoResultsText: "No results matching your query could be found", + tplErrorTLS: "Windows XP doesn't support current TLS 1.1 and TLS 1.2 protocol versions, so Cloud Templates cannot be used on this operating system.", colFileName: "File name", colLocation: 'Location', colLastOpened: 'Last opened', diff --git a/common/loginpage/locale/ru.js b/common/loginpage/locale/ru.js index 2de6aec77..bb397e5d4 100644 --- a/common/loginpage/locale/ru.js +++ b/common/loginpage/locale/ru.js @@ -124,6 +124,7 @@ l10n.ru = { tplSearchResult: "Результаты для", tplNoResultsTitle: "Ничего не найдено", tplNoResultsText: "Результатов, соответствующих вашему запросу, не найдено", + tplErrorTLS: "Windows XP не поддерживает актуальные версии протокола TLS 1.1 и 1.2, поэтому облачные шаблоны не могут использоваться в этой операционной системе.", fileName: "Имя файла", location: "Расположение", lastOpened: "Последнее открытие", diff --git a/common/loginpage/src/locale.js b/common/loginpage/src/locale.js index b2df035e2..34a9ab83d 100644 --- a/common/loginpage/src/locale.js +++ b/common/loginpage/src/locale.js @@ -158,6 +158,7 @@ l10n.en = { tplSearchResult: "Results for", tplNoResultsTitle: "Nothing found", tplNoResultsText: "No results matching your query could be found", + tplErrorTLS: "Windows XP doesn't support current TLS 1.1 and TLS 1.2 protocol versions, so Cloud Templates cannot be used on this operating system.", colFileName: "File name", colLocation: 'Location', colLastOpened: 'Last opened', diff --git a/common/loginpage/src/paneltemplates.js b/common/loginpage/src/paneltemplates.js index b5fade295..95434a572 100644 --- a/common/loginpage/src/paneltemplates.js +++ b/common/loginpage/src/paneltemplates.js @@ -374,6 +374,12 @@ } } }) + .catch (function (err) { + console.error(err); + if (window.utils.isWinXp) { + console.warn(utils.Lang.tplErrorTLS) + } + }) }; const loadAllPages = function() {