From 56d834783cc00fc9cdbff6842175aa9cde3f0222 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Sun, 15 Oct 2023 16:47:53 +0200 Subject: [PATCH] Open links to social networks in the same window As mentioned in earlier commits, opening external links in a new tab/window results in usability and accessibility issues. Since these links are usually at the top or bottom of the page and contain icons of well-known sites, IMHO there's no need to even notify people that these are external links. Since we're no longer using the `shared.target_blank` translation inside a sentence, we can remove the space and parenthesis in the translations. --- app/components/layout/social_component.html.erb | 2 +- app/components/layout/social_component.rb | 2 +- config/locales/en/general.yml | 2 +- config/locales/es/general.yml | 2 +- .../shared/agree_with_terms_of_service_field_component_spec.rb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/components/layout/social_component.html.erb b/app/components/layout/social_component.html.erb index 8476e0bcb..c2e95e471 100644 --- a/app/components/layout/social_component.html.erb +++ b/app/components/layout/social_component.html.erb @@ -2,7 +2,7 @@