Use "help with" instead of "help about"

As suggested by Pomerange; the "help about" construction indeed sounds a
bit strange.
This commit is contained in:
Javi Martín
2022-04-01 16:19:08 +02:00
parent 43789802e0
commit dac6c714cf
4 changed files with 18 additions and 18 deletions

View File

@@ -115,9 +115,9 @@ en:
section_header:
icon_alt: Debates icon
title: Debates
help: Help about debates
help: Help with debates
section_footer:
title: Help about debates
title: Help with debates
description: Start a debate to share opinions with others about the topics you are concerned about.
help_text_1: "The space for citizen debates is aimed at anyone who can expose issues of their concern and those who want to share opinions with other people."
help_text_2: 'To open a debate you need to sign up on %{org}. Users can also comment on open debates and rate them with the "I agree" or "I disagree" buttons found in each of them.'
@@ -378,9 +378,9 @@ en:
section_header:
icon_alt: Proposals icon
title: Proposals
help: Help about proposals
help: Help with proposals
section_footer:
title: Help about proposals
title: Help with proposals
description: Citizens' proposals are an opportunity for neighbours and collectives to decide directly how they want their city to be, after getting sufficient support and submitting to a citizens' vote.
new:
form:
@@ -610,9 +610,9 @@ en:
section_header:
icon_alt: Voting icon
title: Voting
help: Help about voting
help: Help with voting
section_footer:
title: Help about voting
title: Help with voting
description: Citizens' polls are a participatory mechanism by which citizens with voting rights can make direct decisions
no_polls: "There are no open votings."
show:

View File

@@ -64,9 +64,9 @@ en:
section_header:
icon_alt: Collaborative legislation icon
title: Collaborative legislation
help: Help about collaborative legislation
help: Help with collaborative legislation
section_footer:
title: Help about collaborative legislation
title: Help with collaborative legislation
description: Participate in the debates and processes prior to the approval of new regulations or strategies. Your opinion will be considered.
phase_not_open:
not_open: This phase is not open yet

View File

@@ -5,10 +5,10 @@ describe "Admin custom information texts", :admin do
visit admin_site_customization_information_texts_path
click_link "Basic customization"
expect(page).to have_content "Help about debates"
expect(page).to have_content "Help about proposals"
expect(page).to have_content "Help about voting"
expect(page).to have_content "Help about collaborative legislation"
expect(page).to have_content "Help with debates"
expect(page).to have_content "Help with proposals"
expect(page).to have_content "Help with voting"
expect(page).to have_content "Help with collaborative legislation"
expect(page).to have_content "Help with participatory budgets"
within("#information-texts-tabs") { click_link "Debates" }

View File

@@ -6,25 +6,25 @@ describe "Custom information texts", :admin do
proposal_key = "proposals.index.section_footer.title"
visit admin_site_customization_information_texts_path(tab: "debates")
fill_in "contents[content_#{debate_key}]values[value_en]", with: "Custom help about debates"
fill_in "contents[content_#{debate_key}]values[value_en]", with: "Custom help with debates"
click_button "Save"
visit admin_site_customization_information_texts_path(tab: "proposals")
fill_in "contents[content_#{proposal_key}]values[value_en]", with: "Custom help about proposals"
fill_in "contents[content_#{proposal_key}]values[value_en]", with: "Custom help with proposals"
click_button "Save"
visit debates_path
within("#section_help") do
expect(page).to have_content "Custom help about debates"
expect(page).not_to have_content "Help about debates"
expect(page).to have_content "Custom help with debates"
expect(page).not_to have_content "Help with debates"
end
visit proposals_path
within("#section_help") do
expect(page).to have_content "Custom help about proposals"
expect(page).not_to have_content "Help about proposals"
expect(page).to have_content "Custom help with proposals"
expect(page).not_to have_content "Help with proposals"
end
end