Add missing event name translations
We were always displaying the event names in English. Note we're changing the `user_supported_budgets` key because it didn't make much sense; the investments are supported, and not the budgets. We're also adding "created" to most of the event names in order to make the texts more explicit, since not all the events refer to created data.
This commit is contained in:
@@ -145,10 +145,10 @@ describe "Stats", :admin do
|
||||
visit admin_stats_path
|
||||
|
||||
within("#stats") do
|
||||
click_link "Debates"
|
||||
click_link "Debates created"
|
||||
end
|
||||
|
||||
expect(page).to have_content "Debates (1)"
|
||||
expect(page).to have_content "Debates created (1)"
|
||||
|
||||
within("#graph") do
|
||||
expect(page).to have_content Date.current.strftime("%Y-%m-%d")
|
||||
@@ -159,9 +159,9 @@ describe "Stats", :admin do
|
||||
create(:user, :level_three)
|
||||
|
||||
visit admin_stats_path
|
||||
click_link "Level 3 users"
|
||||
click_link "Level 3 users verified"
|
||||
|
||||
expect(page).to have_content "Level 3 users (1)"
|
||||
expect(page).to have_content "Level 3 users verified (1)"
|
||||
|
||||
within("#graph") do
|
||||
expect(page).to have_content Date.current.strftime("%Y-%m-%d")
|
||||
|
||||
Reference in New Issue
Block a user