From 1ff4454cbe93bccd33965572b05abb5457dc5f74 Mon Sep 17 00:00:00 2001
From: Girija gupte <63583646+girija0707@users.noreply.github.com>
Date: Sun, 27 Mar 2022 23:26:42 +0530
Subject: [PATCH 1/2] Update profile.html.erb
---
app/views/users/profile.html.erb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/views/users/profile.html.erb b/app/views/users/profile.html.erb
index caa902e4ee..d78541e067 100644
--- a/app/views/users/profile.html.erb
+++ b/app/views/users/profile.html.erb
@@ -60,7 +60,7 @@
<% if logged_in_as(['admin']) %><%= @profile_user.email %><% end %>
- <%= raw translation('users.profile.joined_time_ago', :time_ago => distance_of_time_in_words(@profile_user.created_at, Time.current, { include_seconds: false, scope: 'datetime.time_ago_in_words' })) %>
+ <%= raw translation('users.profile.joined') %> <%= distance_of_time_in_words(@profile_user.created_at, Time.current, { include_seconds: false, scope: 'datetime.time_ago_in_words' }) %>
<% if @profile_user.moderator? %> | <%= translation('users.profile.moderator') %><% end %>
<% if @profile_user.admin? %> | <%= translation('users.profile.admin') %><% end %>
<% if @profile_user.status == 0 %> | <%= translation('users.profile.banned') %><% end %>
From af8329af2777c93d181f2194fd42112b3883921f Mon Sep 17 00:00:00 2001
From: Girija gupte <63583646+girija0707@users.noreply.github.com>
Date: Sun, 27 Mar 2022 23:58:32 +0530
Subject: [PATCH 2/2] Update en.yml
---
config/locales/en.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/locales/en.yml b/config/locales/en.yml
index d335673f0c..59269bf10c 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -102,7 +102,7 @@ en:
barnstar_awarded_to_by: "%{author} was awarded the
%{barnstar} Barnstar by %{awarder} for their work
published in %{work}."
- joined_time_ago: "Joined %{time_ago}"
+ joined: "Joined"
research: "Research"
Coauthored: "Coauthored"
questions: "Questions"