Unify user permission texts

We had the same texts four times, with slight variations in the case of
the management section.

We're unifying them under the "verification" i18n namespace, since the
texts are about actions which can be done depending on whether users are
verified or not.

Note the names of the i18n keys aren't very consistent, since we use
"debates" in plural but "proposal" in singular. We're leaving it like
this so existing translations aren't affected.
This commit is contained in:
Javi Martín
2022-05-05 16:11:26 +02:00
parent 67e9c68662
commit 92b1e53fc3
17 changed files with 26 additions and 52 deletions

View File

@@ -34,7 +34,7 @@ describe "Managed User" do
fill_in "document_verification_document_number", with: user.document_number
click_button "Check document"
expect(page).to have_content "Vote proposals"
expect(page).to have_content "Participate in final voting"
click_button "Verify"