Fixed a grammatical error. (#17413)
* Fixed a grammatical error. Signed-off-by: Harmouch101 <eng.mahmoudharmouch@gmail.com> * Updated a test case. Signed-off-by: Harmouch101 <eng.mahmoudharmouch@gmail.com>
This commit is contained in:
parent
2bc63d6650
commit
e4af0ad549
3 changed files with 3 additions and 3 deletions
|
|
@ -21,5 +21,5 @@ en:
|
|||
year: Year
|
||||
infinity: Infinity
|
||||
latest: Latest
|
||||
signin_html: "👋 <a href=\"%{path}\">Sign in</a> for the ability sort posts by <strong>top</strong> and <strong>latest</strong>."
|
||||
signin_html: "👋 <a href=\"%{path}\">Sign in</a> for the ability to sort posts by <strong>relevant</strong>, <strong>latest</strong>, or <strong>top</strong>."
|
||||
top: Top
|
||||
|
|
|
|||
|
|
@ -21,5 +21,5 @@ fr:
|
|||
year: Année
|
||||
infinity: Infini
|
||||
latest: Récent
|
||||
signin_html: "👋 <a href=\"%{path}\">Sign in</a> for the ability sort posts by <strong>top</strong> and <strong>latest</strong>."
|
||||
signin_html: "👋 <a href=\"%{path}\">Sign in</a> for the ability to sort posts by <strong>relevant</strong>, <strong>latest</strong>, or <strong>top</strong>."
|
||||
top: Top
|
||||
|
|
|
|||
|
|
@ -201,7 +201,7 @@ RSpec.describe "Stories::TaggedArticlesIndex", type: :request do
|
|||
|
||||
def shows_sign_in_notice
|
||||
expect(response.body).not_to include("crayons-navigation__item crayons-navigation__item--current")
|
||||
expect(response.body).to include("for the ability sort posts by")
|
||||
expect(response.body).to include("for the ability to sort posts by")
|
||||
end
|
||||
|
||||
def does_not_include_current_page_link(tag)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue