commit 7ba398f908d69531d3a4342b27b1f142751a65a6 Author: emma peel emma.peel@riseup.net Date: Thu Feb 7 20:43:55 2019 +0100
i18n updates --- templates/download-options.html | 2 +- templates/people.html | 8 ++++---- templates/press.html | 26 +++++++++++++------------- templates/projects.html | 4 ++-- 4 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/templates/download-options.html b/templates/download-options.html index 5ed6ffa..28d7ccc 100644 --- a/templates/download-options.html +++ b/templates/download-options.html @@ -8,7 +8,7 @@ <table class="table"> <thead> <tr> - <th scope="col">Language</th> + <th scope="col">{{ _('Language') }}</th> <th scope="col">Windows</th> <th scope="col">MacOS</th> <th scope="col">GNU/Linux</th> diff --git a/templates/people.html b/templates/people.html index 83e8805..2ca9bbc 100644 --- a/templates/people.html +++ b/templates/people.html @@ -1,5 +1,5 @@ <div class="container py-3"> - <h3 class="text-primary display-5">Board of Directors</h3> + <h3 class="text-primary display-5">{{ _('Board of Directors') }}</h3> </div> <div class="container-fluid"> <div class="row"> @@ -11,7 +11,7 @@ </div> </div> <div class="container py-3"> - <h3 class="text-primary display-5">Core Tor</h3> + <h3 class="text-primary display-5">{{ _('Core Tor') }}</h3> </div> <div class="container-fluid"> <div class="row"> @@ -24,8 +24,8 @@ </div> <div class="container p-3 col-6"> <div class="row justify-content-center"> - <h4 class="text-primary display-5">Join Our Team</h4> - <p class="text-center">Even if we aren’t hiring, you can contribute to Tor. We are open to ideas and studies to improve Tor software. If you’re a developer, we welcome you to sign up for our dev mailing list to see what we’re up to.</p> + <h4 class="text-primary display-5">{{ _('Join Our Team') }}</h4> + <p class="text-center">{{ _("Even if we aren’t hiring, you can contribute to Tor. We are open to ideas and studies to improve Tor software. If you’re a developer, we welcome you to sign up for our dev mailing list to see what we’re up to.") }}</p> <div class="border-active"> <a class="btn text-primary bg-white btn-lg btn-light pull-right mt-2 col-6" href=""> {{ _("Sign up for tor-dev") }}<span class="oi oi-arrow-right p-1" title="icon arrow-right" aria-hidden="true"></span> diff --git a/templates/press.html b/templates/press.html index e87b31e..61f9707 100644 --- a/templates/press.html +++ b/templates/press.html @@ -4,30 +4,30 @@ <div class="container"> <div class="row"> <div class="col-md-6 py-5"> - <h4 class="text-secondary mb-4"><i class="fas fa-life-ring text-primary pr-2"></i> Get support</h4> + <h4 class="text-secondary mb-4"><i class="fas fa-life-ring text-primary pr-2"></i> {{ _('Get support') }}</h4> <div class="row pl-3"> - <a class="h5 text-primary" href="https://support.torproject.org/" title="Tor Project Support Portal" target="_blank">Visit our Support Portal</a> + <a class="h5 text-primary" href="https://support.torproject.org/" title="Tor Project Support Portal" target="_blank">{{ _('Visit our Support Portal') }}</a> </div> <div class="row pl-3 text-tpo"> - <a class="h5 text-primary" href="https://webchat.oftc.net/" title="Tor Project IRC" target="_blank">Ask us on #tor</a> + <a class="h5 text-primary" href="https://webchat.oftc.net/" title="Tor Project IRC" target="_blank">{{ _('Ask us on #tor') }}</a> </div> <div class="row pl-3 text-tpo"> - <a class="h5 text-primary" href="http://lists.torproject.org/" title="Tor Project Mailing List" target="_blank">Write to a mailing list</a> + <a class="h5 text-primary" href="http://lists.torproject.org/" title="Tor Project Mailing List" target="_blank">{{ _('Write to a mailing list') }}</a> </div> </div> <div class="d-block d-sm-none container py-3"> <div class="row border-bottom border-light"><p></p></div> </div> <div class="col-md-6 py-5"> - <h4 class="text-secondary mb-4"><i class="fas fa-folder-open text-primary pr-2"></i> Brand Assets</h4> + <h4 class="text-secondary mb-4"><i class="fas fa-folder-open text-primary pr-2"></i> {{ _('Brand Assets') }}</h4> <div class="row pl-3 text-tpo"> - <a class="h5 text-primary" href="https://styleguide.torproject.org/visuals/#assets" title="The Tor Project Brand Assets" target="_blank">The Tor Project</a> + <a class="h5 text-primary" href="https://styleguide.torproject.org/visuals/#assets" title="The Tor Project Brand Assets" target="_blank">{{ _('The Tor Project') }}</a> </div> <div class="row pl-3 text-tpo"> - <a class="h5 text-primary" href="https://styleguide.torproject.org/visuals/#assets" title="The Tor Browser Brand Assets" target="_blank">The Tor Browser</a> + <a class="h5 text-primary" href="https://styleguide.torproject.org/visuals/#assets" title="The Tor Browser Brand Assets" target="_blank">{{ _('The Tor Browser') }}</a> </div> <div class="row pl-3 text-tpo"> - <a class="h5 text-primary" href="https://styleguide.torproject.org/visuals/#assets" title="Onion Services" target="_blank">Onion Services</a> + <a class="h5 text-primary" href="https://styleguide.torproject.org/visuals/#assets" title="Onion Services" target="_blank">{{ _('Onion Services') }}</a> </div> </div> </div> @@ -37,7 +37,7 @@ </div> <div class="container py-3"> <div class="row p-3"> - <h3 class="text-primary display-5">Press Releases</h3> + <h3 class="text-primary display-5">{{ _('Press Releases') }}</h3> </div> </div> <div class="container col-10"> @@ -51,16 +51,16 @@ </div> <div class="container"> <div class="row p-3 pt-5"> - <h3 class="text-primary display-5">Coverage</h3> + <h3 class="text-primary display-5">{{ _('Coverage') }}</h3> </div> </div> <div class="container"> <table class="table"> <thead> <tr> - <th scope="col">Date</th> - <th scope="col">Publication</th> - <th scope="col">Topic</th> + <th scope="col">{{ _('Date') }}</th> + <th scope="col">{{ _('Publication') }}</th> + <th scope="col">{{ _('Topic') }}</th> </tr> </thead> <tbody> diff --git a/templates/projects.html b/templates/projects.html index 04d7391..246c9ca 100644 --- a/templates/projects.html +++ b/templates/projects.html @@ -2,7 +2,7 @@ <div class="row border-bottom border-light"><p></p></div> </div> </div><div class="container py-3"> - <h3 class="text-primary display-5">Previous Openings</h3> + <h3 class="text-primary display-5">{{ _('Previous Openings') }}</h3> </div> <div class="container py-3"> <div class="row"> @@ -30,6 +30,6 @@ </div> </div> <div class="row"> - <p>Think you could help us in a position that’s not listed? We also rely on a vast community of volunteer contributors and many have become paid staff. <a href="">We invite you to join us on IRC to find how you can get involved.</a></p> + <p>{{ _("Think you could help us in a position that’s not listed? We also rely on a vast community of volunteer contributors and many have become paid staff.") }} <a href="">{{ _('We invite you to join us on IRC to find how you can get involved.') }}</a></p> </div> </div>
tor-commits@lists.torproject.org