[tor-bugs] #31350 [Internal Services/Service - git]: test the locales for Android with a githook after updating from transifex
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Aug 6 11:37:59 UTC 2019
#31350: test the locales for Android with a githook after updating from transifex
-------------------------------------+-------------------------------------
Reporter: emmapeel | Owner: tor-gitadm
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Internal | Version:
Services/Service - git | Keywords: TorBrowserTeam201904,
Severity: Normal | GeorgKoppen201904
Actual Points: | Parent ID: #30054
Points: | Reviewer:
Sponsor: |
-------------------------------------+-------------------------------------
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.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31350>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list