From 4b2fd60e477bff71311a2678f0f32d942b9bfde7 Mon Sep 17 00:00:00 2001 From: garayj <44415359+garayj@users.noreply.github.com> Date: Fri, 31 May 2019 03:26:15 -0700 Subject: [PATCH] FIX Guild suggestion incorrectly identifies account as new #11159 (#11197) * Changed the suggested guild string to a translatable string and made changes so that the string only shows within 60 days of user profile creation. * Removed whitespace. --- website/client/components/groups/publicGuildItem.vue | 7 ++++--- website/common/locales/en/groups.json | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/website/client/components/groups/publicGuildItem.vue b/website/client/components/groups/publicGuildItem.vue index 7fa871feb7..0fb9d5244f 100644 --- a/website/client/components/groups/publicGuildItem.vue +++ b/website/client/components/groups/publicGuildItem.vue @@ -25,7 +25,7 @@ router-link.card-link(:to="{ name: 'guild', params: { groupId: guild._id } }") div.guild-bank(v-if='displayGemBank', v-once) {{$t('guildBank')}} .row category-tags.col-md-12(:categories="guild.categories", :owner="isOwner", v-once) - span.recommend-text(v-if='showSuggested(guild._id)') Suggested because you’re new to Habitica. + span.recommend-text(v-if='showSuggested(guild._id)') {{$t('suggestedGroup')}}