Skip to content

Commit

Permalink
updated copy (grammar) for source interface
Browse files Browse the repository at this point in the history
  • Loading branch information
heartsucker committed Feb 6, 2017
1 parent 03c08fd commit 8e0a888
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions securedrop/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ def submit():

if first_submission:
flash(Markup("""{svg}<div class="message"><strong>Success!</strong>
<p>Thank you for sourcing this information to us.
Please check-back later for replies. <a href="#codename-hint">
<p>Thank you for sending this information to us.
Please check back later for replies. <a href="#codename-hint">
Forgot your codename?</a></p></div>
""".format(svg=util.svg('success_checkmark.svg'))),
"success")
Expand Down Expand Up @@ -402,7 +402,7 @@ def logout():
msg = Markup("""<div class="icon">{svg}</div>
<div class="message"><strong>Important!</strong><br>
<p>Thank you for exiting your session! Please select "New
Identity" from the green Onion button in the Tor browser,
Identity" from the green Onion button in the Tor browser
to clear all history of your SecureDrop usage from this
device.</p></div>
""".format(svg=util.svg('hand_with_fingerprint.svg')))
Expand Down
4 changes: 2 additions & 2 deletions securedrop/source_templates/lookup.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<strong>Whew, it’s you! Now, the embarrassing part...</strong></br>
<p>Our servers experienced an unusual surge of new activity, when you last visited. This could
have been human activity, an automated attack, or just some random blip. To err on the side
of caution, we put a hold on sending all documents from that day, through to our journalists.</p>
of caution, we put a hold on sending all documents from that day through to our journalists.</p>

<p>Now that we know you’re really a human, though, we’ll get your previous submission into the
hands of a journalist, straight away. We’re sorry for the delay. Please do check-back again
hands of a journalist straight away. We’re sorry for the delay. Please do check back again
in a week or so.</p>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions securedrop/tests/functional/source_navigation_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def _source_submits_a_file(self):

notification = self.driver.find_element_by_css_selector(
'.success')
expected_notification = 'Thank you for sourcing this information to us'
expected_notification = 'Thank you for sending this information to us'
self.assertIn(expected_notification, notification.text)

def _source_submits_a_message(self):
Expand All @@ -75,7 +75,7 @@ def _source_submits_a_message(self):

notification = self.driver.find_element_by_css_selector(
'.success')
self.assertIn('Thank you for sourcing this information to us',
self.assertIn('Thank you for sending this information to us',
notification.text)

def _source_logs_out(self):
Expand Down
2 changes: 1 addition & 1 deletion securedrop/tests/test_unit_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def test_initial_submission_notification(self):
resp = self._dummy_submission()
self.assertEqual(resp.status_code, 200)
self.assertIn(
"Thank you for sourcing this information to us",
"Thank you for sending this information to us",
resp.data)

def test_submit_message(self):
Expand Down

0 comments on commit 8e0a888

Please sign in to comment.