Skip to content

Commit

Permalink
Merge pull request #5447 from gonzalo-bulnes/fix-tor-browser-capitali…
Browse files Browse the repository at this point in the history
…sation-in-user-facing-strings

Fix Tor Browser capitalisation for readability (source interface)
  • Loading branch information
zenmonkeykstop authored Aug 13, 2020
2 parents 172138e + 1040ad5 commit 96debdc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion securedrop/source_templates/logout.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
</a>
<br class="clearfix">
<h1>{{ gettext('One more thing...') }}</h1>
<p id="click-new-identity-tor"> {{ gettext('Click the <img src={icon} alt="broom icon" width="16" height="16">&nbsp;<strong>New Identity</strong> button in your Tor browser\'s toolbar. This will clear your Tor browser activity data on this device.').format(icon=url_for('static', filename='i/torbroom-black.png')) }}</p>
<p id="click-new-identity-tor"> {{ gettext('Click the <img src={icon} alt="broom icon" width="16" height="16">&nbsp;<strong>New Identity</strong> button in your Tor Browser\'s toolbar. This will clear your Tor Browser activity data on this device.').format(icon=url_for('static', filename='i/torbroom-black.png')) }}</p>
{% endblock %}
2 changes: 1 addition & 1 deletion securedrop/source_templates/session_timeout.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<strong>{{ gettext('Important') }}</strong>
</div>
<div class="localized" dir="{{ g.text_direction }}">
<p>{{ gettext('You were logged out due to inactivity. Click the <img src={icon} alt="broom icon" width="16" height="16">&nbsp;<strong>New Identity</strong> button in your Tor browser\'s toolbar before moving on. This will clear your Tor browser activity data on this device.').format(icon=url_for('static', filename='i/torbroom-coral.png')) }}</p>
<p>{{ gettext('You were logged out due to inactivity. Click the <img src={icon} alt="broom icon" width="16" height="16">&nbsp;<strong>New Identity</strong> button in your Tor Browser\'s toolbar before moving on. This will clear your Tor Browser activity data on this device.').format(icon=url_for('static', filename='i/torbroom-coral.png')) }}</p>
</div>
2 changes: 1 addition & 1 deletion securedrop/source_templates/tor2web-warning.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
<h1>{{ gettext('Why is there a warning about Tor2Web?') }}</h1>
<p>{{ gettext('Using Tor2Web to connect to SecureDrop will not protect your anonymity.') }}</p>
<p>{{ gettext('It could be possible for anyone monitoring your Internet traffic (your government, your Internet provider), to identify you.') }}</p>
<p>{{ gettext('We <strong>strongly advise</strong> you to use the <a href="www.torproject.org/projects/torbrowser.html">Tor browser</a> instead.') }}</p>
<p>{{ gettext('We <strong>strongly advise</strong> you to use the <a href="www.torproject.org/projects/torbrowser.html">Tor Browser</a> instead.') }}</p>
{% endblock %}
2 changes: 1 addition & 1 deletion securedrop/tests/test_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def test_login_and_logout(source_app):

# This is part of the logout page message instructing users
# to click the 'New Identity' icon
assert 'This will clear your Tor browser activity data' in text
assert 'This will clear your Tor Browser activity data' in text


def test_user_must_log_in_for_protected_views(source_app):
Expand Down

0 comments on commit 96debdc

Please sign in to comment.