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