Repository navigation
FormDeck 0.46.3: the last Help line translated, and the late-engine start confirmed - #26
Merged
Merged
Conversation
…asses The i18n check had failed since before the sprint: 172 strings in the code had no key. 147 of them are sentences and labels a person reads; they are a new key part (44) with an entry in all 25 tables, with the Help step "Change it any time with Slide > Apply Template. ..." (which the scanner skips for its >) and the three sentences the dock shows filled in. Each table keeps its own words for the app's names and keeps placeholders, units and file and command names intact. No native speaker has read the translations. The other 25 are not sentences (code fragments, Tauri menu item ids, key chords and codes, a header name, a font range, product, licence and demo deck names, and two dock fill templates); the scanner now leaves them out by named rules, each with its reason. Frontend HASHOUT entry 227. Checked: i18n check passed (exit 0); all 1,144 tables parse; the built window shows the new sentences in German, Japanese and Russian.
…ndow is told why On a cold load the first settings call failed into "The formdeck engine is not answering yet; retrying." at once, and nothing retried. A window the engine refuses for the window key (a second browser window) now says that another window holds the key; a network failure is asked again every 0.5 s and the "not answering" toast shows only after a 20 s grace, then the window keeps asking every 2 s and applies the settings when they come. The new sentence is key part 45 in all 25 tables (no native speaker has read them). Frontend HASHOUT entry 228. Checked under 4x CPU throttle, cache off: no toast on cold loads in Studio Dark, Light and AMOLED; with the engine stopped the toast shows at about 23 s in all three, nothing moving.
The i18n check passes (every sentence in the code has a key, translated in all 25 languages; non-sentences left out by named scanner rules), and the engine toast waits out a normal start and tells a refused window why. Version sites: frontend/package.json, both package-lock.json fields, frontend/src/version.ts, backend/app/__init__.py, src-tauri/Cargo.toml, formdeck's entry in src-tauri/Cargo.lock, src-tauri/tauri.conf.json, the README badge, and a 0.46.2 line in the Flatpak release list. Checked: tests/test_f4_versions.py and tests/test_seal.py 17 passed; npm ci --dry-run 0.
…ll 25 languages
The Help dialog's last line ("Press [key cap] to see every keyboard
shortcut, or open Help > Keyboard Shortcuts.") stayed in English: the
scanner does not see text after a <kbd>. The text after the key cap is a
new key part (46), written by hand, with an entry in all 25 tables that
continues each table's word for Press and uses its own words for Help and
Keyboard Shortcuts. No native speaker has read them. Frontend HASHOUT
entry 229, which also records that the late-engine case of entry 228 was
the test's proxy: run directly the page claims the key once the engine is
up.
Checked: i18n check passed; all 1,196 tables parse; the built window shows
the line in German, Japanese and Russian.
The Help line about keyboard shortcuts is translated in all 25 languages. Version sites: frontend/package.json, both package-lock.json fields, frontend/src/version.ts, backend/app/__init__.py, src-tauri/Cargo.toml, formdeck's entry in src-tauri/Cargo.lock, src-tauri/tauri.conf.json, the README badge, and a 0.46.3 line in the Flatpak release list. Checked: tests/test_f4_versions.py and tests/test_seal.py 17 passed; npm ci --dry-run 0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FormDeck 0.46.3: the last Help line translated, and the late-engine start confirmed
Branch
feat/finish-0.46.3, onmainat fd2564b (0.46.1 merged), 5 commits: the three of 0.46.2 (not pushed before), then two of this release, the release commit last. The section on 0.46.1 further down is kept for reference only. Please merge this with a merge commit, not a squash and not a rebase.What a person gets
Commits
The window started before its engine (held in 0.46.2, closed with nothing to change)
Run directly, without a test proxy: the built window served by
vite previewat localhost:5297, nothing listening on 8197, the real engine started on 8197 six seconds later. The page asked for the key and the settings every 0.5 s and got 502 from the preview's proxy until the engine was up, thenPOST /api/window/key200 andGET /api/settings200 at 7.8 s, a stream ticket at 8.6 s,GET /api/settings200 again at 35 s, and no toast in 35 s. The earlier failure came from the test's proxy. Seen too: a page opened at 127.0.0.1:5297 is refused by the engine's local guard for every call (that origin is not in the engine's default list; localhost:5297 is), and that page showed the key sentence; why that refusal took the key branch was not found.What was run, on the tip before the release commit (a
git archivecopy of ad500a7)python -m pytest tests -qwindow_rehearsal.sh formdeck, REUSE_NM=1)setup/line_counts.py --checksetup/i18n_tool.py check./formdeck agents sync --checkwith a fresh homeNot run
src-tauri).Also in this pull request: 0.46.2
0.46.2 was not pushed; its three commits are part of this pull request.
What a person gets
./formdeck i18n checkpasses for the first time since before the sprint (it found 172 strings with no key). Strings that are not sentences (key chords, a header name, menu item ids the system draws, product, licence and demo deck names, two code fragments) are left out by named rules in the scanner, each with its reason. No native speaker has read the translations.Commits
What was run, on the tip before the release commit (a
git archivecopy)python -m pytest tests -qwindow_rehearsal.sh formdeck, REUSE_NM=1)setup/line_counts.py --checksetup/i18n_tool.py check./formdeck agents sync --checkwith a fresh homeDemos not rebuilt: they import the engine and render code, not
app.tsor the language tables.Held (both closed in 0.46.3 above)
Not run
src-tauri).For reference, already merged: 0.46.1
Branch
feat/finish-0.46.1, on releasedmainat 0.46.0, 4 commits, the release commit last. Everything before is merged and released; this text covers only these commits. Merge it with a merge commit.What a person gets
./formdeck counts --checkpasses; it had failed since the README overhaul took the line out.relay/README.mddescribes the Caddy and nginx examples, the Dockerfile and the systemd unit as files you set up on your own server, in line with the app's status.Commits
What was run, on the tip before the release commit (a
git archivecopy)python -m pytest tests -qwindow_rehearsal.sh formdeck, REUSE_NM=1)setup/line_counts.py --checksetup/i18n_tool.py check./formdeck agents sync --checkwith a fresh home (afteragents syncthere)Also looked at, nothing changed for it: the built window loaded cold under 4x CPU throttling in Studio Dark, Light and AMOLED Black, sampled from before navigation: every frame after navigation has the theme's own ground, no wrong colour and no theme flash. A File menu open in Light and Sand, against the commit before the token change (ad64fca): the menu separates from the page in both, more strongly now (the shadow is darker).
For the owner
Muted text (
--text-muted) was left at FormVis's value. Studio Dark keeps it at three lines; to restore the earlier value, change#717072to#8a8a8binfrontend/src/styles/tokens.cssline 15,frontend/src/ui/themes.tsline 4 (the studio entry) andfrontend/index.htmlline 35 (the pre-paint row). Contrast on the lightest dark panel (--bg-tertiary, #222127): 3.24:1 now, 4.63:1 restored; on the ground (#111111): 3.83:1 now, 5.48:1 restored.Not run
src-tauri).systemd-analyze verify.setup/i18n_tool.py checkstill fails on 172 strings in the code that have no key (before this branch too); translating them was not in this run.