diff --git a/config/locales/en.yml b/config/locales/en.yml index 2339137da..2c3765f54 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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. diff --git a/config/locales/es.yml b/config/locales/es.yml index 482c348a5..f4eece354 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -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. diff --git a/spec/features/localization_spec.rb b/spec/features/localization_spec.rb index b4961f454..974753eb3 100644 --- a/spec/features/localization_spec.rb +++ b/spec/features/localization_spec.rb @@ -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