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.

  • Cecylia Bocovich's avatar
    Make locale parser more robust · 277ba71b
    Cecylia Bocovich authored
    This change expands the locale parse to have the following properties:
    - if only the language code is given, choses the regionalization that
    occurs first in the locale list (e.g., "en" --> "en-US"
    - if regionalization for the language is *not* present, choses the
    generalized language or a different regionalization (e.g. "pt-PT" -->
    "pt-BR")
    - parses both the subject and body looking for the most specific
    regionalization
    - defaults to en-US if no available language is found
    277ba71b
email.py 8.91 KB