Fix typos in success messages
This commit is contained in:
@@ -528,10 +528,10 @@ en:
|
|||||||
size: "Size"
|
size: "Size"
|
||||||
url: "URL"
|
url: "URL"
|
||||||
create:
|
create:
|
||||||
success_notice: "Document uploaded succesfully"
|
success_notice: "Document uploaded successfully"
|
||||||
unable_notice: "Invalid document"
|
unable_notice: "Invalid document"
|
||||||
destroy:
|
destroy:
|
||||||
success_notice: "Document deleted succesfully"
|
success_notice: "Document deleted successfully"
|
||||||
hidden_users:
|
hidden_users:
|
||||||
index:
|
index:
|
||||||
filter: Filter
|
filter: Filter
|
||||||
@@ -894,7 +894,7 @@ en:
|
|||||||
pending_to_be_sent: This is the content pending to be sent
|
pending_to_be_sent: This is the content pending to be sent
|
||||||
moderate_pending: Moderate notification send
|
moderate_pending: Moderate notification send
|
||||||
send_pending: Send pending
|
send_pending: Send pending
|
||||||
send_pending_notification: Pending notifications sent succesfully
|
send_pending_notification: Pending notifications sent successfully
|
||||||
proposal_notification_digest:
|
proposal_notification_digest:
|
||||||
title: "Proposal notification digest"
|
title: "Proposal notification digest"
|
||||||
description: "Gathers all proposal notifications for an user in a single message, to avoid too much emails."
|
description: "Gathers all proposal notifications for an user in a single message, to avoid too much emails."
|
||||||
@@ -1127,7 +1127,7 @@ en:
|
|||||||
title: "Create question to poll %{poll}"
|
title: "Create question to poll %{poll}"
|
||||||
title_proposal: "Create question"
|
title_proposal: "Create question"
|
||||||
destroy:
|
destroy:
|
||||||
notice: "Question deleted succesfully"
|
notice: "Question deleted successfully"
|
||||||
answers:
|
answers:
|
||||||
images:
|
images:
|
||||||
add_image: "Add image"
|
add_image: "Add image"
|
||||||
@@ -1308,7 +1308,7 @@ en:
|
|||||||
title: Map configuration
|
title: Map configuration
|
||||||
help: Here you can customize the way the map is displayed to users. Drag map marker or click anywhere over the map, set desired zoom and click button "Update".
|
help: Here you can customize the way the map is displayed to users. Drag map marker or click anywhere over the map, set desired zoom and click button "Update".
|
||||||
flash:
|
flash:
|
||||||
update: Map configuration updated succesfully.
|
update: Map configuration updated successfully.
|
||||||
form:
|
form:
|
||||||
submit: Update
|
submit: Update
|
||||||
how_to_enable: 'To show the map to users you must enable "Proposals and budget investments geolocation" on "Features" tab.'
|
how_to_enable: 'To show the map to users you must enable "Proposals and budget investments geolocation" on "Features" tab.'
|
||||||
|
|||||||
@@ -26,12 +26,12 @@ en:
|
|||||||
poll_booth: "Booth updated successfully."
|
poll_booth: "Booth updated successfully."
|
||||||
active_poll: "Polls description updated successfully."
|
active_poll: "Polls description updated successfully."
|
||||||
proposal: "Proposal updated successfully."
|
proposal: "Proposal updated successfully."
|
||||||
budget_investment: "Investment project updated succesfully."
|
budget_investment: "Investment project updated successfully."
|
||||||
topic: "Topic updated successfully."
|
topic: "Topic updated successfully."
|
||||||
valuator_group: "Valuator group updated successfully"
|
valuator_group: "Valuator group updated successfully"
|
||||||
translation: "Translation updated successfully"
|
translation: "Translation updated successfully"
|
||||||
destroy:
|
destroy:
|
||||||
budget_investment: "Investment project deleted succesfully."
|
budget_investment: "Investment project deleted successfully."
|
||||||
topic: "Topic deleted successfully."
|
topic: "Topic deleted successfully."
|
||||||
poll_question_answer_video: "Answer video deleted successfully."
|
poll_question_answer_video: "Answer video deleted successfully."
|
||||||
valuator_group: "Valuator group deleted successfully"
|
valuator_group: "Valuator group deleted successfully"
|
||||||
|
|||||||
@@ -1069,7 +1069,7 @@ describe "Admin budget investments", :admin do
|
|||||||
select "Marta desc (marta@admins.org)", from: "budget_investment[administrator_id]"
|
select "Marta desc (marta@admins.org)", from: "budget_investment[administrator_id]"
|
||||||
click_button "Update"
|
click_button "Update"
|
||||||
|
|
||||||
expect(page).to have_content "Investment project updated succesfully."
|
expect(page).to have_content "Investment project updated successfully."
|
||||||
expect(page).to have_content "Assigned administrator: Marta"
|
expect(page).to have_content "Assigned administrator: Marta"
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -1102,7 +1102,7 @@ describe "Admin budget investments", :admin do
|
|||||||
|
|
||||||
click_button "Update"
|
click_button "Update"
|
||||||
|
|
||||||
expect(page).to have_content "Investment project updated succesfully."
|
expect(page).to have_content "Investment project updated successfully."
|
||||||
|
|
||||||
within("#assigned_valuators") do
|
within("#assigned_valuators") do
|
||||||
expect(page).to have_content("Valentina (v1@valuators.org)")
|
expect(page).to have_content("Valentina (v1@valuators.org)")
|
||||||
@@ -1127,7 +1127,7 @@ describe "Admin budget investments", :admin do
|
|||||||
|
|
||||||
click_button "Update"
|
click_button "Update"
|
||||||
|
|
||||||
expect(page).to have_content "Investment project updated succesfully."
|
expect(page).to have_content "Investment project updated successfully."
|
||||||
|
|
||||||
within("#assigned_valuator_groups") do
|
within("#assigned_valuator_groups") do
|
||||||
expect(page).to have_content("Health")
|
expect(page).to have_content("Health")
|
||||||
@@ -1151,7 +1151,7 @@ describe "Admin budget investments", :admin do
|
|||||||
|
|
||||||
click_button "Update"
|
click_button "Update"
|
||||||
|
|
||||||
expect(page).to have_content "Investment project updated succesfully."
|
expect(page).to have_content "Investment project updated successfully."
|
||||||
|
|
||||||
within("#assigned_valuator_groups") { expect(page).to have_content("Health") }
|
within("#assigned_valuator_groups") { expect(page).to have_content("Health") }
|
||||||
within("#assigned_valuators") do
|
within("#assigned_valuators") do
|
||||||
@@ -1173,7 +1173,7 @@ describe "Admin budget investments", :admin do
|
|||||||
|
|
||||||
click_button "Update"
|
click_button "Update"
|
||||||
|
|
||||||
expect(page).to have_content "Investment project updated succesfully."
|
expect(page).to have_content "Investment project updated successfully."
|
||||||
|
|
||||||
within "#tags" do
|
within "#tags" do
|
||||||
expect(page).to have_content "Education"
|
expect(page).to have_content "Education"
|
||||||
@@ -1190,7 +1190,7 @@ describe "Admin budget investments", :admin do
|
|||||||
fill_in "budget_investment_valuation_tag_list", with: "Refugees, Solidarity"
|
fill_in "budget_investment_valuation_tag_list", with: "Refugees, Solidarity"
|
||||||
click_button "Update"
|
click_button "Update"
|
||||||
|
|
||||||
expect(page).to have_content "Investment project updated succesfully."
|
expect(page).to have_content "Investment project updated successfully."
|
||||||
|
|
||||||
within "#tags" do
|
within "#tags" do
|
||||||
expect(page).to have_content "Refugees"
|
expect(page).to have_content "Refugees"
|
||||||
@@ -1216,7 +1216,7 @@ describe "Admin budget investments", :admin do
|
|||||||
fill_in "budget_investment_valuation_tag_list", with: "Education, Environment"
|
fill_in "budget_investment_valuation_tag_list", with: "Education, Environment"
|
||||||
click_button "Update"
|
click_button "Update"
|
||||||
|
|
||||||
expect(page).to have_content "Investment project updated succesfully"
|
expect(page).to have_content "Investment project updated successfully"
|
||||||
|
|
||||||
visit admin_budget_budget_investment_path(budget_investment.budget, budget_investment)
|
visit admin_budget_budget_investment_path(budget_investment.budget, budget_investment)
|
||||||
|
|
||||||
@@ -1244,7 +1244,7 @@ describe "Admin budget investments", :admin do
|
|||||||
fill_in "budget_investment_valuation_tag_list", with: "Refugees, Solidarity"
|
fill_in "budget_investment_valuation_tag_list", with: "Refugees, Solidarity"
|
||||||
click_button "Update"
|
click_button "Update"
|
||||||
|
|
||||||
expect(page).to have_content "Investment project updated succesfully."
|
expect(page).to have_content "Investment project updated successfully."
|
||||||
|
|
||||||
visit budget_investment_path(budget_investment.budget, budget_investment)
|
visit budget_investment_path(budget_investment.budget, budget_investment)
|
||||||
expect(page).to have_content "Park"
|
expect(page).to have_content "Park"
|
||||||
@@ -1314,7 +1314,7 @@ describe "Admin budget investments", :admin do
|
|||||||
|
|
||||||
click_button "Update"
|
click_button "Update"
|
||||||
|
|
||||||
expect(page).to have_content "Investment project updated succesfully."
|
expect(page).to have_content "Investment project updated successfully."
|
||||||
expect(page).to have_content("Milestone Tags: tag1, tag2")
|
expect(page).to have_content("Milestone Tags: tag1, tag2")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ describe "Documents", :admin do
|
|||||||
documentable_attach_new_file(Rails.root.join("spec/fixtures/files/clippy.pdf"))
|
documentable_attach_new_file(Rails.root.join("spec/fixtures/files/clippy.pdf"))
|
||||||
click_button "Save"
|
click_button "Save"
|
||||||
|
|
||||||
expect(page).to have_content "Document uploaded succesfully"
|
expect(page).to have_content "Document uploaded successfully"
|
||||||
expect(page).to have_link "clippy.pdf"
|
expect(page).to have_link "clippy.pdf"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ describe "Admin settings", :admin do
|
|||||||
click_on "Update"
|
click_on "Update"
|
||||||
end
|
end
|
||||||
|
|
||||||
expect(page).to have_content "Map configuration updated succesfully"
|
expect(page).to have_content "Map configuration updated successfully"
|
||||||
end
|
end
|
||||||
|
|
||||||
scenario "Should display marker by default" do
|
scenario "Should display marker by default" do
|
||||||
@@ -104,7 +104,7 @@ describe "Admin settings", :admin do
|
|||||||
end
|
end
|
||||||
|
|
||||||
expect(find("#latitude", visible: :hidden).value).not_to eq "51.48"
|
expect(find("#latitude", visible: :hidden).value).not_to eq "51.48"
|
||||||
expect(page).to have_content "Map configuration updated succesfully"
|
expect(page).to have_content "Map configuration updated successfully"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ describe "Documents", :admin do
|
|||||||
attach_file("document_attachment", file_fixture("logo.pdf"))
|
attach_file("document_attachment", file_fixture("logo.pdf"))
|
||||||
click_button "Upload"
|
click_button "Upload"
|
||||||
|
|
||||||
expect(page).to have_content "Document uploaded succesfully"
|
expect(page).to have_content "Document uploaded successfully"
|
||||||
expect(page).to have_link "logo.pdf"
|
expect(page).to have_link "logo.pdf"
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@ describe "Documents", :admin do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
expect(page).to have_content "Document deleted succesfully"
|
expect(page).to have_content "Document deleted successfully"
|
||||||
expect(page).not_to have_content document.title
|
expect(page).not_to have_content document.title
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -356,7 +356,7 @@ describe "System Emails" do
|
|||||||
expect(email).to deliver_to(voter)
|
expect(email).to deliver_to(voter)
|
||||||
expect(email).to have_body_text(proposal_notification.body)
|
expect(email).to have_body_text(proposal_notification.body)
|
||||||
|
|
||||||
expect(page).to have_content("Pending notifications sent succesfully")
|
expect(page).to have_content("Pending notifications sent successfully")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -702,7 +702,7 @@ describe "Budget Investments" do
|
|||||||
|
|
||||||
click_button "Update Investment"
|
click_button "Update Investment"
|
||||||
|
|
||||||
expect(page).to have_content "Investment project updated succesfully"
|
expect(page).to have_content "Investment project updated successfully"
|
||||||
expect(page).to have_content "Park improvements"
|
expect(page).to have_content "Park improvements"
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -1157,7 +1157,7 @@ describe "Budget Investments" do
|
|||||||
accept_confirm { click_link("Delete") }
|
accept_confirm { click_link("Delete") }
|
||||||
end
|
end
|
||||||
|
|
||||||
expect(page).to have_content "Investment project deleted succesfully"
|
expect(page).to have_content "Investment project deleted successfully"
|
||||||
|
|
||||||
visit user_path(user, tab: :budget_investments)
|
visit user_path(user, tab: :budget_investments)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user