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:
Mahmoud Harmouch 2022-04-27 17:24:57 +03:00 committed by GitHub
parent 2bc63d6650
commit e4af0ad549
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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)