Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • T tails
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 971
    • Issues 971
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • tails
  • tails
  • Issues
  • #16867
Closed
Open
Issue created Jul 09, 2019 by sajolida@sajolidaMaintainer

ikiwiki's PO plugin doesn't include inline in language stats

Originally created by @sajolida on #16867 (Redmine)

For example, right now:

https://tails.boum.org/install/win/usb/

is advertised as 100% translated in Italian while it’s not. It’s more like 10% translated.

I guess that’s because what counts in the stats is only the strings of wiki/src/install/win/usb.it.po and not the strings in wiki/src/install/inc/steps/install_with_etcher.inline.it.po for example.

An algorithm to compute better stats could be:

  • If an inline directive is translated in the parent PO file and corresponds to a translated inline, count the strings in the inline PO file. Almost all inlines have translations but not all (eg. @wiki/src/inc).
  • Otherwise, count the inline directive itself.

Feature Branch: web/16867-remove-percent-translated

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking