Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • T tails
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 1,008
    • Issues 1,008
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 29
    • Merge requests 29
  • 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
  • Merge requests
  • !232

check-po-msgstr: Add option to sanitize .po files (#17661)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Zen Fu requested to merge feature/tails-17661-check-po-msgfmt-optional-sanitize into master Nov 03, 2020
  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 1

We want to use the bin/check-po-msgstr script to run checks before building the staging website. To make sure the Ikiwiki build will not break on problematic files, we came up with the solutoin of sanitizing .po files by removing problematic translations from them.

This commit adds the --sanitize option to such script, which replaces problematic translations with empty strings.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/tails-17661-check-po-msgfmt-optional-sanitize