Repository navigation
Stats page in Norwegian, Danish and Swedish - #115
Merged
Merged
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Member
Author
|
@WoggleSL/review approve |
There was a problem hiding this comment.
Approved by @R3disme.
Checks
- ✅ Build linux-x86_64
- ✅ Build windows-x86_64
- ❌ dispatch (not required)
- ⏳ dispatch (not required)
- ✅ retake screenshots (not required)
- ✅ changes (not required)
- ✅ codeql (actions) (not required)
- ✅ sync (not required)
- ✅ wiki (not required)
- ✅ wiki (not required)
- ✅ changes (not required)
- ⏳ codeql (rust) (not required)
- ⏳ preview screenshots (not required)
- ✅ screenshots out of date (not required)
- ✅ screenshots out of date (not required)
- ✅ Build macos-universal (not required)
- ✅ secrets (not required)
- ❌ typos (not required)
- ✅ Build flatpak-x86_64 (not required)
- ✅ fmt (not required)
- ✅ clippy (not required)
- ✅ Release (not required)
- ✅ test (not required)
- ✅ cargo-deny (not required)
- ✅ unsafe (not required)
- ✅ dependency-review (not required)
- ✅ workflows (not required)
- ✅ translations (not required)
- ✅ flag-lists (not required)
- ✅ CodeQL (not required)
Change: 3 files, +298 / -103, 1 commit(s) by @R3disme
Merges into: main without conflicts
WoggleSL Review · requested by @R3disme from a comment
This was referenced Dec 4, 2026
Merged
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.
What and why
The last open part of #74: the Stats page existed only in English, and the translated sidebars linked to it with "(engelsk)".
tools/stats.pynow also writesstats-no.md,stats-da.mdandstats-sv.md. All four pages share the same charts. Page text, alt texts, table headers and area names are translated, and numbers use each language's thousands and decimal separators (26 476/26.476,21,4 %). The stats workflow copies them tono/no-Stats.md,da/da-Stats.mdandsv/sv-Stats.md, and its "only the Updated line changed" check now covers all four pages and the translated "Updated" words.The chart SVGs keep their English labels.
How it was tested
Ran
python3 tools/stats.py <halloy 2026.10> .locally. The Englishstats.mdhas the same structure as the live wiki page: with numbers removed, the only difference is row order. Checked the three translated pages by eye, and ran the workflow's change check against a wiki clone.Wiki
Wiki: https://github.com/WoggleSL/woggle/wiki/no-Stats, https://github.com/WoggleSL/woggle/wiki/da-Stats and https://github.com/WoggleSL/woggle/wiki/sv-Stats are already pushed, together with links to them from the translated sidebars and home pages. The same wiki commit fixes the translated sidebars' "English" link, which pointed to the translated home page instead of
Home.Checklist
mainpython3 tools/build.py) and the CI builds pass (tooling only, no Rust changes)PRIVACY.mdstill matches what the code sends and storesCTCP WOGGLEhandling still follow the review rules inCONTRIBUTING.mdPart of #74.