Server settings → Defaults: a bar under each language for how much is reviewed, draft and untranslated #312
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo#312
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From the interface review of 2026-09-29: under each language offered on Server settings → Defaults, a progress bar: green for the strings already reviewed, orange for the strings in draft, grey for the untranslated ones.
What is there today
partials/translation_state.html: a word for the state (reviewed, draft, partial) and a percentage.src/postulo/locale/status.jsonalready counts, per language,total,translated,drafts,fuzzyandreviewed, which is everything a three-part bar needs. Today every working language is 100 % translated and 100 % draft. A bar would show that as all orange, which is correct and says more than "100 %".Constraints
style-src 'self', so a segment's width cannot be written asstyle="width: 42%"; #291 left Basecoat'sprogressunadopted for exactly this reason. An SVG whose<rect>s carrywidthattributes is not a style and is allowed; so is a width taken from a fixed set of classes, in steps of 5 %.fuzzyis counted but has no colour in the request. Proposal: count it with the drafts.status.json.Done when
status.jsonand accompanied by its text. Tests check its arithmetic: the segments add up to the total, and rounding never shows a sliver as 0 or a full bar as 99 %.