Allow administrators to override budgets translations
This commit is contained in:
@@ -8,7 +8,7 @@ module SiteCustomizationHelper
|
||||
end
|
||||
|
||||
def information_texts_tabs
|
||||
[:basic, :debates, :community, :proposals, :polls, :legislation, :layouts, :mailers, :management,
|
||||
:welcome, :machine_learning]
|
||||
[:basic, :debates, :community, :proposals, :polls, :legislation, :budgets, :layouts, :mailers,
|
||||
:management, :welcome, :machine_learning]
|
||||
end
|
||||
end
|
||||
|
||||
@@ -763,6 +763,7 @@ en:
|
||||
proposals: "Proposals"
|
||||
polls: "Polls"
|
||||
legislation: "Collaborative legislation"
|
||||
budgets: "Budgets"
|
||||
layouts: "Layouts"
|
||||
machine_learning: "AI / Machine Learning"
|
||||
mailers: "Emails"
|
||||
|
||||
@@ -763,6 +763,7 @@ es:
|
||||
proposals: "Propuestas"
|
||||
polls: "Votaciones"
|
||||
legislation: "Legislación colaborativa"
|
||||
budgets: "Presupuestos participativos"
|
||||
layouts: "Plantillas"
|
||||
machine_learning: "IA / Machine Learning"
|
||||
mailers: "Correos"
|
||||
|
||||
@@ -31,6 +31,10 @@ describe "Admin custom information texts", :admin do
|
||||
|
||||
expect(page).to have_content "Help with collaborative legislation"
|
||||
|
||||
within("#information-texts-tabs") { click_link "Budgets" }
|
||||
|
||||
expect(page).to have_content "You have not voted any investment project."
|
||||
|
||||
click_link "Layouts"
|
||||
expect(page).to have_content "Accessibility"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user