Update empty state message

This commit is contained in:
Heinrich Lee Yu 2018-11-19 21:24:15 +08:00
parent 801fc90c12
commit bc6f19a724
5 changed files with 7 additions and 7 deletions

View File

@ -11,8 +11,8 @@
- if has_filter_bar_param?
%h4.text-center
= _("Sorry, your filter produced no results")
%p
= _("To widen your search, change or remove filters in the filter bar above")
%p.text-center
= _("To widen your search, change or remove filters above")
- elsif current_user
%h4
= _("The Issue Tracker is the place to add things that need to be improved or solved in a project")

View File

@ -11,8 +11,8 @@
- if has_filter_bar_param?
%h4.text-center
= _("Sorry, your filter produced no results")
%p
= _("To widen your search, change or remove filters in the filter bar above")
%p.text-center
= _("To widen your search, change or remove filters above")
- else
%h4
= _("Merge requests are a place to propose changes you've made to a project and discuss those changes with others")

View File

@ -6609,7 +6609,7 @@ msgstr ""
msgid "To validate your GitLab CI configurations, go to 'CI/CD → Pipelines' inside your project, and click on the 'CI Lint' button."
msgstr ""
msgid "To widen your search, change or remove filters in the filter bar above"
msgid "To widen your search, change or remove filters above"
msgstr ""
msgid "Today"

View File

@ -15,7 +15,7 @@ describe 'Issues' do
visit project_issues_path(project, milestone_title: "1.0")
expect(page).to have_content('Sorry, your filter produced no results')
expect(page).to have_content('To widen your search, change or remove filters in the filter bar above')
expect(page).to have_content('To widen your search, change or remove filters above')
end
end

View File

@ -32,7 +32,7 @@ describe 'Merge request > User sees empty state' do
expect(page).to have_selector('.empty-state')
expect(page).to have_content('Sorry, your filter produced no results')
expect(page).to have_content('To widen your search, change or remove filters in the filter bar above')
expect(page).to have_content('To widen your search, change or remove filters above')
end
end
end