Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
T
team
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 129
    • Issues 129
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • The Tor Project
  • TPA
  • team
  • Issues
  • #31350

Closed
Open
Opened Aug 06, 2019 by emma peel@emmapeelReporter

test the locales for Android with a githook after updating from transifex

We need to test the correct escaping of the files at https://git.torproject.org/translation.git on the branch tba-torbrowserstringsdtd (only on that branch!)

The files on that branch are used to localize the Android client of the Tor Browser and don't comply with the standards for dtd files. Thus, we need to check on them after updates come from transifex, and before we attempt to build.

Ideally we can produce a list of the corrections, so we can update it on the transifex platform and slowly weed out the errors.

We could reuse this githook for other components eventually, so it would be nice to have some sort of reusable parts:

  • import last translations from transifex
  • run something
  • upload results to transifex?
  • mail or submit results somehow

The script that we can use as a base is at https://trac.torproject.org/projects/tor/ticket/30054#comment:9

the rules at https://developer.android.com/guide/topics/resources/string-resource#FormattingAndStyling may not be all needed, as for example it can be that ' does not break the build.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: tpo/tpa/team#31350