Changes site language test, comment unused keys
This commit is contained in:
@@ -27,11 +27,11 @@ en:
|
||||
locale: "Language:"
|
||||
administration: Administration
|
||||
moderation: Moderation
|
||||
welcome: Welcome
|
||||
# welcome: Welcome
|
||||
how_it_works: How it works
|
||||
help: Help
|
||||
debates: Debates
|
||||
initiatives: Initiatives
|
||||
# initiatives: Initiatives
|
||||
footer:
|
||||
description:
|
||||
"The city you want, it will be the city you want. Get more information here on this page.
|
||||
|
||||
@@ -27,11 +27,11 @@ es:
|
||||
locale: "Idioma:"
|
||||
administration: Administrar
|
||||
moderation: Moderar
|
||||
welcome: Portada
|
||||
# welcome: Portada
|
||||
how_it_works: "Cómo funciona"
|
||||
help: Ayuda
|
||||
debates: Debates
|
||||
initiatives: Iniciativas
|
||||
# initiatives: Iniciativas
|
||||
footer:
|
||||
description:
|
||||
"La ciudad que quieres, será la ciudad que quieras. Obtén aquí más información sobre esta página.
|
||||
|
||||
@@ -25,11 +25,11 @@ feature 'Localization' do
|
||||
|
||||
scenario 'Changing the locale', :js do
|
||||
visit '/'
|
||||
expect(page).to have_content('Site language')
|
||||
expect(page).to have_content('Language')
|
||||
|
||||
select('Español', from: 'locale-switcher')
|
||||
expect(page).to have_content('Idioma de la página')
|
||||
expect(page).to_not have_content('Site language')
|
||||
expect(page).to have_content('Idioma')
|
||||
expect(page).to_not have_content('Language')
|
||||
expect(page).to have_select('locale-switcher', selected: 'Español')
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user