Fix typos in success messages
This commit is contained in:
@@ -528,10 +528,10 @@ en:
|
||||
size: "Size"
|
||||
url: "URL"
|
||||
create:
|
||||
success_notice: "Document uploaded succesfully"
|
||||
success_notice: "Document uploaded successfully"
|
||||
unable_notice: "Invalid document"
|
||||
destroy:
|
||||
success_notice: "Document deleted succesfully"
|
||||
success_notice: "Document deleted successfully"
|
||||
hidden_users:
|
||||
index:
|
||||
filter: Filter
|
||||
@@ -894,7 +894,7 @@ en:
|
||||
pending_to_be_sent: This is the content pending to be sent
|
||||
moderate_pending: Moderate notification send
|
||||
send_pending: Send pending
|
||||
send_pending_notification: Pending notifications sent succesfully
|
||||
send_pending_notification: Pending notifications sent successfully
|
||||
proposal_notification_digest:
|
||||
title: "Proposal notification digest"
|
||||
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_proposal: "Create question"
|
||||
destroy:
|
||||
notice: "Question deleted succesfully"
|
||||
notice: "Question deleted successfully"
|
||||
answers:
|
||||
images:
|
||||
add_image: "Add image"
|
||||
@@ -1308,7 +1308,7 @@ en:
|
||||
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".
|
||||
flash:
|
||||
update: Map configuration updated succesfully.
|
||||
update: Map configuration updated successfully.
|
||||
form:
|
||||
submit: Update
|
||||
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."
|
||||
active_poll: "Polls description updated successfully."
|
||||
proposal: "Proposal updated successfully."
|
||||
budget_investment: "Investment project updated succesfully."
|
||||
budget_investment: "Investment project updated successfully."
|
||||
topic: "Topic updated successfully."
|
||||
valuator_group: "Valuator group updated successfully"
|
||||
translation: "Translation updated successfully"
|
||||
destroy:
|
||||
budget_investment: "Investment project deleted succesfully."
|
||||
budget_investment: "Investment project deleted successfully."
|
||||
topic: "Topic deleted successfully."
|
||||
poll_question_answer_video: "Answer video 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]"
|
||||
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"
|
||||
end
|
||||
|
||||
@@ -1102,7 +1102,7 @@ describe "Admin budget investments", :admin do
|
||||
|
||||
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
|
||||
expect(page).to have_content("Valentina (v1@valuators.org)")
|
||||
@@ -1127,7 +1127,7 @@ describe "Admin budget investments", :admin do
|
||||
|
||||
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
|
||||
expect(page).to have_content("Health")
|
||||
@@ -1151,7 +1151,7 @@ describe "Admin budget investments", :admin do
|
||||
|
||||
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_valuators") do
|
||||
@@ -1173,7 +1173,7 @@ describe "Admin budget investments", :admin do
|
||||
|
||||
click_button "Update"
|
||||
|
||||
expect(page).to have_content "Investment project updated succesfully."
|
||||
expect(page).to have_content "Investment project updated successfully."
|
||||
|
||||
within "#tags" do
|
||||
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"
|
||||
click_button "Update"
|
||||
|
||||
expect(page).to have_content "Investment project updated succesfully."
|
||||
expect(page).to have_content "Investment project updated successfully."
|
||||
|
||||
within "#tags" do
|
||||
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"
|
||||
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)
|
||||
|
||||
@@ -1244,7 +1244,7 @@ describe "Admin budget investments", :admin do
|
||||
fill_in "budget_investment_valuation_tag_list", with: "Refugees, Solidarity"
|
||||
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)
|
||||
expect(page).to have_content "Park"
|
||||
@@ -1314,7 +1314,7 @@ describe "Admin budget investments", :admin do
|
||||
|
||||
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")
|
||||
end
|
||||
end
|
||||
|
||||
@@ -30,7 +30,7 @@ describe "Documents", :admin do
|
||||
documentable_attach_new_file(Rails.root.join("spec/fixtures/files/clippy.pdf"))
|
||||
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"
|
||||
end
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ describe "Admin settings", :admin do
|
||||
click_on "Update"
|
||||
end
|
||||
|
||||
expect(page).to have_content "Map configuration updated succesfully"
|
||||
expect(page).to have_content "Map configuration updated successfully"
|
||||
end
|
||||
|
||||
scenario "Should display marker by default" do
|
||||
@@ -104,7 +104,7 @@ describe "Admin settings", :admin do
|
||||
end
|
||||
|
||||
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
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ describe "Documents", :admin do
|
||||
attach_file("document_attachment", file_fixture("logo.pdf"))
|
||||
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"
|
||||
end
|
||||
|
||||
@@ -80,7 +80,7 @@ describe "Documents", :admin do
|
||||
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
|
||||
end
|
||||
end
|
||||
|
||||
@@ -356,7 +356,7 @@ describe "System Emails" do
|
||||
expect(email).to deliver_to(voter)
|
||||
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
|
||||
|
||||
@@ -702,7 +702,7 @@ describe "Budget Investments" do
|
||||
|
||||
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"
|
||||
end
|
||||
|
||||
@@ -1157,7 +1157,7 @@ describe "Budget Investments" do
|
||||
accept_confirm { click_link("Delete") }
|
||||
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user