diff --git a/app/views/static/show.html.erb b/app/views/static/show.html.erb index 0f71b30f3fe..d406979fa78 100644 --- a/app/views/static/show.html.erb +++ b/app/views/static/show.html.erb @@ -2,16 +2,16 @@ <% if staff? %> diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index 0772cbbb210..b92d635f5cc 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -3570,10 +3570,6 @@ en: summer_theme_name: "Summer" dark_rose_theme_name: "Dark Rose" - about: "About" - guidelines: "Guidelines" - privacy: "Privacy" - edit_this_page: "Edit this page" csv_export: diff --git a/spec/requests/static_controller_spec.rb b/spec/requests/static_controller_spec.rb index 0f412184fbe..6c542a1e828 100644 --- a/spec/requests/static_controller_spec.rb +++ b/spec/requests/static_controller_spec.rb @@ -135,8 +135,8 @@ describe StaticController do end [ - ['tos', :tos_url, I18n.t('terms_of_service.title')], - ['privacy', :privacy_policy_url, I18n.t('privacy')] + ['tos', :tos_url, I18n.t('js.tos')], + ['privacy', :privacy_policy_url, I18n.t('js.privacy')] ].each do |id, setting_name, text| context "#{id}" do @@ -222,7 +222,7 @@ describe StaticController do get "/#{page_name}" expect(response.status).to eq(200) - expect(response.body).to include(I18n.t('guidelines')) + expect(response.body).to include(I18n.t('js.guidelines')) end end end