From 4a778cb3b11501d0bca045a1d775d08f04287e9f Mon Sep 17 00:00:00 2001 From: Nick Shirokov Date: Thu, 16 Jul 2026 11:16:23 +0300 Subject: [PATCH] =?UTF-8?q?style(web-test):=20=D1=81=D0=BE=D0=BE=D0=B1?= =?UTF-8?q?=D1=89=D0=B5=D0=BD=D0=B8=D1=8F=20=D1=81=D1=82=D0=B0=D1=80=D1=82?= =?UTF-8?q?=D0=BE=D0=B2=D1=8B=D1=85=20=D0=B1=D0=BB=D0=BE=D0=BA=D0=B5=D1=80?= =?UTF-8?q?=D0=BE=D0=B2=20=D0=BD=D0=B0=20=D0=B0=D0=BD=D0=B3=D0=BB=D0=B8?= =?UTF-8?q?=D0=B9=D1=81=D0=BA=D0=BE=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Диагностика движка везде английская (session.mjs, test.mjs); сообщения про нехватку лицензии и требуемую авторизацию из коммита 2a71e6c9 остались на русском — разнобой. Приведено к общему языку; русским остаётся только цитируемый текст платформы (это данные, а не наш текст). Детект и check.mjs завязаны на английские части строк, поведение не меняется. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../skills/web-test/scripts/engine/core/session.mjs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.claude/skills/web-test/scripts/engine/core/session.mjs b/.claude/skills/web-test/scripts/engine/core/session.mjs index 001e5535..03660a7b 100644 --- a/.claude/skills/web-test/scripts/engine/core/session.mjs +++ b/.claude/skills/web-test/scripts/engine/core/session.mjs @@ -122,18 +122,18 @@ async function waitForClientOrStartupBlock(pg, url, timeout = INIT_TIMEOUT) { // here (unlike the licence case) and holds a licence — callers release it before rethrowing. throw new Error( `1C requires interactive login before the web client loads: "${oneLine(evidence.text)}"` + - '\n Движок ввод учётных данных не поддерживает — опубликуйте базу с пользователем' + - ' (web-publish -UserName … → Usr=/Pwd= в vrd) либо укажите его в строке соединения.' + + '\n The engine cannot supply credentials — publish the infobase with a user' + + ' (web-publish -UserName … → Usr=/Pwd= in the vrd) or put one in the connection string.' + `\n URL: ${url}` ); } throw new Error( `1C startup blocked before the web client loaded: "${oneLine(evidence.text)}"` + - (evidence.seances ? `\n Сеансы, предложенные платформой к завершению: ${oneLine(evidence.seances)}` : '') + - '\n Движок кнопки этого диалога не нажимает: его автозапуск по обратному отсчёту может' + - ' завершить чужой сеанс на этой машине.' + - `\n Если это нехватка лицензии — освободите сеансы 1С и повторите. URL: ${url}` + (evidence.seances ? `\n Sessions the platform offers to terminate: ${oneLine(evidence.seances)}` : '') + + '\n The engine does not press this dialog\'s buttons: its countdown auto-start may terminate' + + ' someone else\'s session on this machine.' + + `\n If this is a licence shortage — release 1C sessions and retry. URL: ${url}` ); }