Skip to content

Commit 5e1d8c2

Browse files
banjo-techOgunbanjo oluwadamilarecesswairimuTildaDares
authored
improve-text-for-contributors (#11532)
* improve-text-for-contributors * update * Update en.yml fix indentation * fix indentation * Update en.yml * Update en.yml * Update notes_controller_test.rb * Update notes_controller_test.rb * use line breaks inline --------- Co-authored-by: Ogunbanjo oluwadamilare <[email protected]> Co-authored-by: Cess <[email protected]> Co-authored-by: Tilda Udufo <[email protected]>
1 parent f845ccd commit 5e1d8c2

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

config/locales/en.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,10 +1133,13 @@ en:
11331133
logged_out: "Successfully logged out."
11341134
notes_controller:
11351135
research_notes: "Research notes"
1136-
thank_you_for_contribution: "Success! Thank you for contributing open research,
1137-
and thanks for your patience while your post is approved by <a href='/wiki/moderation'>community
1138-
moderators</a> and we'll email you when it is published. In the meantime, if
1139-
you have more to contribute, feel free to do so."
1136+
thank_you_for_contribution: |
1137+
<h2>Success! You did it! Hooray!</h2>
1138+
<hr>
1139+
<p>Thank you so much for contributing open research and being part of our community.</p>
1140+
<h2>Here's what's happening now:</h2>
1141+
<hr>
1142+
<p>Your <a href='/wiki/first-contribution'>first contribution</a> is awaiting approval by <a href='/wiki/moderation'>community moderators</a>. <b>If you have asked an urgent question about an environmental concern, we will prioritize reviewing it</b>. Thank you for your patience, in the next hours your contribution should be public. We will email you when it is published. In the meantime, if you have more to contribute, feel free to do so. Visit the <a href='/wiki/welcome'>Welcome Page</a> to discover more ways to connect.</p>
11401143
thank_you_for_question: "Success! Thank you for contributing with a question, and
11411144
thanks for your patience while your question is approved by <a href='/wiki/moderation'>community
11421145
moderators</a> and we'll email you when it is published."

test/functional/notes_controller_test.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,7 @@ def teardown
309309
tags: 'balloon-mapping,event'
310310
}
311311
# , :main_image => "/images/testimage.jpg"
312-
313-
assert_equal "Success! Thank you for contributing open research, and thanks for your patience while your post is approved by <a href='/wiki/moderation'>community moderators</a> and we'll email you when it is published. In the meantime, if you have more to contribute, feel free to do so.", flash[:notice]
312+
assert_equal "<h2>Success! You did it! Hooray!</h2>\n<hr>\n<p>Thank you so much for contributing open research and being part of our community.</p>\n<h2>Here's what's happening now:</h2>\n<hr>\n<p>Your <a href='/wiki/first-contribution'>first contribution</a> is awaiting approval by <a href='/wiki/moderation'>community moderators</a>. <b>If you have asked an urgent question about an environmental concern, we will prioritize reviewing it</b>. Thank you for your patience, in the next hours your contribution should be public. We will email you when it is published. In the meantime, if you have more to contribute, feel free to do so. Visit the <a href='/wiki/welcome'>Welcome Page</a> to discover more ways to connect.</p>\n", flash[:notice]
314313
assert_nil flash[:warning] # no double notice
315314
assert_equal 4, Node.last.status
316315
assert_equal title, Node.last.title

0 commit comments

Comments
 (0)