From 64d3aa3a46f1547712a29e5dfdaf2343d712791c Mon Sep 17 00:00:00 2001 From: gunes <65349162+gunesnt@users.noreply.github.com> Date: Tue, 31 May 2022 14:26:05 +0700 Subject: [PATCH 1/2] fix: text line replaced w/ translations function --- app/views/home/_social.html.erb | 2 +- config/locales/en.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/home/_social.html.erb b/app/views/home/_social.html.erb index dca1fcc5ce..2e1cb5ef3b 100644 --- a/app/views/home/_social.html.erb +++ b/app/views/home/_social.html.erb @@ -17,7 +17,7 @@ class="fb-xfbml-parse-ignore">Share -
Tweet
+
<%= translation('home._social.tweet') %>
<% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index a3a2063e9c..b94999ddf2 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -846,6 +846,8 @@ en: home: read_more: "Read more" more_projects: "More projects" + _social: + tweet: "Tweet" dashboard: welcome: "Welcome!" need_help: "Need help, want to float an idea, or find collaborators?" From fec2b0d593a6f88e5a92391c62a821bca92c198c Mon Sep 17 00:00:00 2001 From: gunes <65349162+gunesnt@users.noreply.github.com> Date: Tue, 31 May 2022 14:35:37 +0700 Subject: [PATCH 2/2] Update _social.html.erb --- app/views/home/_social.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/home/_social.html.erb b/app/views/home/_social.html.erb index 2e1cb5ef3b..0bbd615d50 100644 --- a/app/views/home/_social.html.erb +++ b/app/views/home/_social.html.erb @@ -14,7 +14,7 @@ data-layout="button" data-size="small" data-mobile-iframe="true">Share + class="fb-xfbml-parse-ignore"><%= translation('home.subscriptions.share') %>
<%= translation('home._social.tweet') %>