Skip to content

Stats page in Norwegian, Danish and Swedish - #115

Merged
wogglesl-review[bot] merged 1 commit into
mainfrom
wiki-stats-i18n
Dec 4, 2026
Merged

wogglesl-review[bot] merged 1 commit into
mainfrom
wiki-stats-i18n

Conversation

@R3disme

@R3disme R3disme commented Dec 4, 2026

Copy link
Copy Markdown
Member

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.py now also writes stats-no.md, stats-da.md and stats-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 to no/no-Stats.md, da/da-Stats.md and sv/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 English stats.md has 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

  • One change only, branched from the latest main
  • Builds locally (python3 tools/build.py) and the CI builds pass (tooling only, no Rust changes)
  • Tested on the local test server only (no IRC involved)
  • New interface text exists in no, da, sv and en
  • PRIVACY.md still matches what the code sends and stores
  • Bans, kicks, unbans and CTCP WOGGLE handling still follow the review rules in CONTRIBUTING.md
  • New flag entries have a meaning, the right severity and no false positives on ordinary words
  • Generated files were regenerated, not edited by hand
  • No real ScoutLink data (chat logs, nicks, hostnames, screenshots of real channels)

Part of #74.

@R3disme
R3disme requested review from a team as code owners December 4, 2026 11:09
Copilot AI balanced review requested due to automatic review settings December 4, 2026 11:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@wogglesl-review wogglesl-review Bot added the In-Review Finished and waiting for a maintainer's review label Dec 4, 2026
@R3disme

R3disme commented Dec 4, 2026

Copy link
Copy Markdown
Member Author

@WoggleSL/review approve

@wogglesl-review wogglesl-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@wogglesl-review
wogglesl-review Bot merged commit 13cd6ac into main Dec 4, 2026
27 of 30 checks passed
@wogglesl-review

Copy link
Copy Markdown

Squash-merged into main as 13cd6ac.

WoggleSL Review · requested by @R3disme from a comment

@wogglesl-review
wogglesl-review Bot deleted the wiki-stats-i18n branch December 4, 2026 11:11
@wogglesl-review wogglesl-review Bot removed the In-Review Finished and waiting for a maintainer's review label Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants