From 3acd4e9deb932215403f0060f42ab965580eefac Mon Sep 17 00:00:00 2001 From: yheuhtozr <84892012+yheuhtozr@users.noreply.github.com> Date: Fri, 31 Dec 2021 00:12:40 +0900 Subject: [PATCH] delete and add back i18n keys (#15905) --- app/views/articles/show.html.erb | 5 ++++- app/views/users/_profile.html.erb | 2 +- config/locales/views/actions/en.yml | 1 - config/locales/views/actions/fr.yml | 1 - config/locales/views/listings/en.yml | 3 --- config/locales/views/listings/fr.yml | 3 --- config/locales/views/main/en.yml | 5 ----- config/locales/views/main/fr.yml | 5 ----- config/locales/views/misc/en.yml | 4 ---- config/locales/views/misc/fr.yml | 4 ---- config/locales/views/tags/en.yml | 1 - config/locales/views/tags/fr.yml | 1 - 12 files changed, 5 insertions(+), 30 deletions(-) diff --git a/app/views/articles/show.html.erb b/app/views/articles/show.html.erb index 053c6d36e..a6bcc5ac2 100644 --- a/app/views/articles/show.html.erb +++ b/app/views/articles/show.html.erb @@ -114,7 +114,10 @@
<%= @user.name %> <% if @organization %> - for <%= @organization.name %> + <%= t("views.articles.for_org_html", + start: tag("span", { class: "color-base-60" }, true), + end: "".html_safe, + org: tag.a(@organization.name, href: @organization.path, class: "crayons-link")) %> <% end %>

<% if @article.published_timestamp.present? %> diff --git a/app/views/users/_profile.html.erb b/app/views/users/_profile.html.erb index 1bec0a1e0..7150f795b 100644 --- a/app/views/users/_profile.html.erb +++ b/app/views/users/_profile.html.erb @@ -157,7 +157,7 @@ <% users_setting = @user.setting %>

-

Branding

+

<%= t("views.settings.group.Branding") %>