Make Russian website copy clearer and more natural

This commit is contained in:
nyan404 committed 2026-11-22 17:09:02 +03:00
1 parent ad8e2d1438
commit eb04ce3e48
9 files changed
+91 -92

No files matched your search

+2 -2
View File
@@ -75,7 +75,7 @@ async function run() {
const history = page.locator('#history li');
const assertPosition = async id => assert.deepEqual(await cellIds(page.locator('#scene-grid .current button')),[id]);
const assertSelection = async (id, reason = '') => {
assert.equal(await selection.textContent(),`Клетка ${coordinate(id)}${reason ? ` — ${reason}` : ''}`);
assert.equal(await selection.textContent(),`Клетка ${coordinate(id)}${reason ? ` (${reason})` : ''}`);
};
const assertAvailable = async ids => {
for (const grid of ['scene-grid','map-grid']) {
@@ -519,7 +519,7 @@ async function run() {
assert.equal(await page.locator('#scene-grid .hint').count(),1);
assert.equal(await page.locator('#map-grid .hint').count(),1);
assert((await page.locator('#messages').textContent()).includes(hintText));
assert.equal(await page.locator('#status').textContent(),`Опасностей рядом: ${field.values[hintCell]}. ${hintText} — опасная клетка.`);
assert.equal(await page.locator('#status').textContent(),`Опасностей рядом: ${field.values[hintCell]}. ${hintText} (опасная клетка).`);
const revisitHint = async () => { await cell(beforeHint).click(); await cell(hintCell).click(); };
await page.waitForTimeout(1100); await revisitHint();
await page.waitForTimeout(1100);