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:
Javi Martín
2024-04-25 03:44:09 +02:00
parent 328413373e
commit d25f2e7259
8 changed files with 32 additions and 28 deletions

View File

@@ -10,8 +10,8 @@ describe Admin::Stats::EventLinksComponent do
expect(page).to have_link count: 2
page.find("ul") do |list|
expect(list).to have_link "Legislation Annotation Created"
expect(list).to have_link "Legislation Answer Created"
expect(list).to have_link "Legislation annotations created"
expect(list).to have_link "Legislation answers created"
end
end
end