commit 5b7077d20314943c96a4af7959bcca5c59ee44b9 Author: emma peel emma.peel@riseup.net Date: Thu Feb 7 18:22:40 2019 +0100
i18n updates --- templates/download-android.html | 12 ++++++------ templates/hero-download.html | 10 +++++----- templates/macros/jobs.html | 2 +- templates/macros/reports.html | 4 ++-- 4 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/templates/download-android.html b/templates/download-android.html index 30ebe45..41433fb 100644 --- a/templates/download-android.html +++ b/templates/download-android.html @@ -9,18 +9,18 @@ </div> </div> <div class="row"> - <h4 class="mx-auto display-4 text-white">Get Tor Browser for Android.</h4> + <h4 class="mx-auto display-4 text-white">{{ _('Get Tor Browser for Android.') }}</h4> </div> <div class="row"> - <h1 class="mx-auto defend text-white">Protect yourself against tracking, surveillance, and censorship. </h1> + <h1 class="mx-auto defend text-white">{{ _('Protect yourself against tracking, surveillance, and censorship.') }}</h1> </div> <div class="row my-5"> - <a class="btn btn-lg btn-light text-primary py-3 px-4 my-1 mx-auto" href="">Download .apk</a> - <a class="btn btn-lg btn-light text-primary py-3 px-4 my-1 mx-auto" href="">Go to Google Play</a> - <a class="btn btn-lg btn-light text-primary py-3 px-4 my-1 mx-auto disabled" href="">Go to F-droid <small class="badge-pill badge-dark mx-1 nick">S00N</small></a> + <a class="btn btn-lg btn-light text-primary py-3 px-4 my-1 mx-auto" href="">{{ _('Download .apk') }}</a> + <a class="btn btn-lg btn-light text-primary py-3 px-4 my-1 mx-auto" href="">{{ _('Go to Google Play') }}</a> + <a class="btn btn-lg btn-light text-primary py-3 px-4 my-1 mx-auto disabled" href="">{{ _('Go to F-droid <small class="badge-pill badge-dark mx-1 nick">S00N</small>')|safe }}</a> </div> <div class="row"> - <p class="text-light mx-auto nick"><i class="fab fa-apple display-5 text-light pr-3"></i>Are you a iOS user? We encourage you to try <a class="mx-auto" href=""><u>Onion Browser.</u></a></p> + <p class="text-light mx-auto nick">{{ _('Are you a iOS user? We encourage you to try <a class="mx-auto" href=""><u>Onion Browser.</u></a>')|safe }}</p> </div> </div> <div class="d-none d-lg-block col-lg-4"> diff --git a/templates/hero-download.html b/templates/hero-download.html index c3ab624..17fb171 100644 --- a/templates/hero-download.html +++ b/templates/hero-download.html @@ -1,8 +1,8 @@ <div class="row"> - <h1 class="mx-auto display-2 text-white">Defend yourself.</h1> + <h1 class="mx-auto display-2 text-white">{{ _('Defend yourself.') }}</h1> </div> <div class="row"> - <h1 class="mx-auto defend text-white">Protect yourself against tracking, surveillance, and censorship. </h1> + <h1 class="mx-auto defend text-white">{{ _('Protect yourself against tracking, surveillance, and censorship.') }}</h1> </div> <div class="row p-5 mx-auto"> {% for id, item in bag('platforms+' + this.alt).items() %} @@ -30,9 +30,9 @@ {% endfor %} </div> <div class="row p-5"> - <a class="mx-auto text-white py-3" href="{{ 'languages'|url }}"><u>Download in another language</u></a> - <a class="mx-auto text-white py-3" href="{{ 'options'|url }}"><u>Advanced Install Options</u></a> + <a class="mx-auto text-white py-3" href="{{ 'languages'|url }}"><u>{{ _('Download in another language') }}</u></a> + <a class="mx-auto text-white py-3" href="{{ 'options'|url }}"><u>{{ _('Advanced Install Options') }}</u></a> </div> <div class="hidden-sm row p-5 justify-content-center window-bg"> - <a class="mx-auto text-white p-5" href=""><u>Read the latest release announcements</u></a> + <a class="mx-auto text-white p-5" href=""><u>{{ _('Read the latest release announcements') }}</u></a> </div> diff --git a/templates/macros/jobs.html b/templates/macros/jobs.html index f180ff9..5adad47 100644 --- a/templates/macros/jobs.html +++ b/templates/macros/jobs.html @@ -8,7 +8,7 @@ <div> <div class="card-body"> {{ item.summary }} - <a href="{{ item.path|url }}">Read more.</a> + <a href="{{ item.path|url }}">{{ _('Read more.') }}</a> </div> </div> </div> diff --git a/templates/macros/reports.html b/templates/macros/reports.html index b2d9916..d9ccbe3 100644 --- a/templates/macros/reports.html +++ b/templates/macros/reports.html @@ -2,7 +2,7 @@ <tr> <td>{{ item.title }}</td> <td>{{ item.description }}</td> - <td><a href="{{ item.link }}">View PDF</a></td> + <td><a href="{{ item.link }}">{{ _('View PDF') }}</a></td> </tr> {% endmacro %}
@@ -16,6 +16,6 @@ {% endfor %} </td> <td>{{ item.title }}</td> - <td><a href="{{ item.link }}">View PDF</a></td> + <td><a href="{{ item.link }}">{{ _('View PDF') }}</a></td> </tr> {% endmacro %}
tor-commits@lists.torproject.org