diff --git a/config/locales/en/general.yml b/config/locales/en/general.yml index 8fdff4448..982722474 100644 --- a/config/locales/en/general.yml +++ b/config/locales/en/general.yml @@ -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: diff --git a/config/locales/en/legislation.yml b/config/locales/en/legislation.yml index 2e777da2a..8fd58bc28 100644 --- a/config/locales/en/legislation.yml +++ b/config/locales/en/legislation.yml @@ -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 diff --git a/spec/system/admin/site_customization/information_texts_spec.rb b/spec/system/admin/site_customization/information_texts_spec.rb index a887ffca4..ff25bc967 100644 --- a/spec/system/admin/site_customization/information_texts_spec.rb +++ b/spec/system/admin/site_customization/information_texts_spec.rb @@ -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" } diff --git a/spec/system/site_customization/information_texts_spec.rb b/spec/system/site_customization/information_texts_spec.rb index 9fa2de356..016ac6417 100644 --- a/spec/system/site_customization/information_texts_spec.rb +++ b/spec/system/site_customization/information_texts_spec.rb @@ -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