fix: Fix i18n issues with help center (#6559)

This commit is contained in:
Pranav Raj S
2023-02-27 17:45:57 -08:00
committed by GitHub
parent b141fc1289
commit 69a1c4527f
15 changed files with 120 additions and 43 deletions

View File

@@ -6,7 +6,7 @@
class="text-slate-800 hover:underline leading-8"
href="/hc/<%= @portal.slug %>/<%= @category.present? ? @category.slug : '' %>"
>
<%= @portal.name %> Home
<%= @portal.name %> <%= I18n.t('public_portal.common.home') %>
</a>
<span>/</span>
<span>/</span>

View File

@@ -18,7 +18,7 @@
class="text-slate-700 hover:underline leading-8 text-sm font-medium"
href="/hc/<%= @portal.slug %>/<%= @article.category.locale %>"
>
Home
<%= I18n.t('public_portal.common.home') %>
</a>
<span class="text-xs text-slate-600 px-1">/</span>
<a
@@ -39,7 +39,7 @@
<div class="pl-1">
<h5 class="text-base font-medium text-slate-900 mb-2"><%= @article.author.available_name %></h5>
<p class="text-sm font-normal text-slate-700">
Last updated on <%= @article.updated_at.strftime("%b %d, %Y") %></p>
<%= I18n.t('public_portal.common.last_updated_on', last_updated_on: @article.updated_at.strftime("%b %d, %Y")) %>
</div>
</div>
</div>