From 5b6e0992ca6c3632eb76b47494a08a8acd835b28 Mon Sep 17 00:00:00 2001 From: CRT Date: Sat, 24 Oct 2026 13:05:40 +0800 Subject: [PATCH] desktop: boot check finds unsaved marks on the sub views; neutral next-step lines before a read --- apps/desktop/src/i18n/en.ts | 4 ++-- apps/desktop/src/i18n/tr.ts | 4 ++-- tools/desktop-boot-check.ts | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/desktop/src/i18n/en.ts b/apps/desktop/src/i18n/en.ts index c4f37ed..9c5642b 100644 --- a/apps/desktop/src/i18n/en.ts +++ b/apps/desktop/src/i18n/en.ts @@ -2140,7 +2140,7 @@ export const en = { "next.managed": "{version} waits in Publishing overview (managed publishing)", "next.upload": "Upload a first build", "next.live": "Live: {version}", - "next.notRead": "Stores not read yet", + "next.notRead": "Release state shows once the stores are read", "next.storeLive": "The live store page, read from the stores", "next.listingProblems": "{count} listing problems", "next.listingProblems_one": "1 listing problem", @@ -2154,7 +2154,7 @@ export const en = { "next.products": "{products} products · {subs} subscriptions", "next.reviews": "{count} reviews without a reply", "next.reviews_one": "1 review without a reply", - "next.reviewsUnread": "Reviews not read yet", + "next.reviewsUnread": "See what players say", "next.reviewsOk": "All reviews answered", "next.gamesApiOff": "Play Games Services API is off", "next.gamesBlockers": "{count} game services blockers", diff --git a/apps/desktop/src/i18n/tr.ts b/apps/desktop/src/i18n/tr.ts index e19a2e7..6872f6b 100644 --- a/apps/desktop/src/i18n/tr.ts +++ b/apps/desktop/src/i18n/tr.ts @@ -2142,7 +2142,7 @@ export const tr: Record = { "next.managed": "{version} Yayınlama özeti'nde bekliyor (yönetilen yayınlama)", "next.upload": "İlk build'i yükle", "next.live": "Yayında: {version}", - "next.notRead": "Mağazalar henüz okunmadı", + "next.notRead": "Yayın durumu mağazalar okununca görünür", "next.storeLive": "Mağazalardan okunan canlı mağaza sayfası", "next.listingProblems": "{count} mağaza metni sorunu", "next.listingProblems_one": "1 mağaza metni sorunu", @@ -2156,7 +2156,7 @@ export const tr: Record = { "next.products": "{products} ürün · {subs} abonelik", "next.reviews": "{count} yorum yanıtsız", "next.reviews_one": "1 yorum yanıtsız", - "next.reviewsUnread": "Yorumlar henüz okunmadı", + "next.reviewsUnread": "Oyuncuların söylediklerine bak", "next.reviewsOk": "Tüm yorumlar yanıtlandı", "next.gamesApiOff": "Play Games Services API kapalı", "next.gamesBlockers": "{count} oyun servisi engeli", diff --git a/tools/desktop-boot-check.ts b/tools/desktop-boot-check.ts index 1943097..cc4d1e4 100644 --- a/tools/desktop-boot-check.ts +++ b/tools/desktop-boot-check.ts @@ -976,7 +976,7 @@ async function runEditorCase(browser: Browser, sidecar: Sidecar): Promise problems.push(`no enabled Save button: ${String(e).split('\n')[0]} (${(await text('[data-edit-bar="listings"]')).slice(0, 600)})`)); - await page.waitForFunction(() => !document.querySelector('#tab-listings .ed-dot'), null, { timeout: WAIT_MS, polling: 50 }).catch(() => problems.push('the unsaved mark stays after Save')); + await page.waitForFunction(() => !document.querySelector('#sub-listings .ed-dot'), null, { timeout: WAIT_MS, polling: 50 }).catch(() => problems.push('the unsaved mark stays after Save')); await settle(page); const md = readFileSync(appstore, 'utf8'); const changed = md.split('\n').filter((l, i) => l !== before.md.split('\n')[i]); @@ -1022,7 +1022,7 @@ async function runEditorCase(browser: Browser, sidecar: Sidecar): Promise problems.push(`App info: no enabled Save button: ${String(e).split('\n')[0]} (${(await text('[data-edit-bar="appinfo"]')).slice(0, 600)})`)); - await page.waitForFunction(() => !document.querySelector('#tab-appinfo .ed-dot'), null, { timeout: WAIT_MS, polling: 50 }).catch(() => problems.push('App info: the unsaved mark stays after Save')); + await page.waitForFunction(() => !document.querySelector('#sub-appinfo .ed-dot'), null, { timeout: WAIT_MS, polling: 50 }).catch(() => problems.push('App info: the unsaved mark stays after Save')); const cfg = readFileSync(join(dir, 'storebound.config.ts'), 'utf8'); const cfgChanged = cfg.split('\n').filter((l, i) => l !== before.cfg.split('\n')[i]); if (!cfg.includes("reviewNotes: 'Sign in with the demo account.'") || cfgChanged.length !== 1 || !cfg.includes('// storebound config of the demo app')) problems.push(`storebound.config.ts: expected one changed line with reviewNotes and the comments kept, got ${JSON.stringify(cfgChanged).slice(0, 300)}`);