Fix recent missing or unsynchronized i18n (#18563)
* add missing i18n * replace old keys * new badges UI update * comment sort options missing i18n * one fr key forgot to rename
This commit is contained in:
parent
f27ae19316
commit
2ccc577b79
13 changed files with 43 additions and 19 deletions
|
|
@ -13,22 +13,22 @@
|
|||
</div>
|
||||
|
||||
<nav class="crayons-dropdown p-4" id="comments-sort-dropdown-container" aria-labelledby="comments-sort-title">
|
||||
<h3 id="comments-sort-title" class="mb-3">Sort discussion: </h3>
|
||||
<h3 id="comments-sort-title" class="mb-3"><%= t("views.articles.comments.sort.heading") %></h3>
|
||||
<ul class="comments-sort-dropdown__list">
|
||||
<%= render "comments/sort_option",
|
||||
sort_order: "top",
|
||||
sort_title: "Top",
|
||||
sort_description: "Most upvoted and relevant comments will be first",
|
||||
sort_title: t("views.articles.comments.sort.title.top"),
|
||||
sort_description: t("views.articles.comments.sort.desc.top"),
|
||||
show_selected: @comments_order == "top" %>
|
||||
<%= render "comments/sort_option",
|
||||
sort_order: "latest",
|
||||
sort_title: "Latest",
|
||||
sort_description: "Most recent comments will be first",
|
||||
sort_title: t("views.articles.comments.sort.title.latest"),
|
||||
sort_description: t("views.articles.comments.sort.desc.latest"),
|
||||
show_selected: @comments_order == "latest" %>
|
||||
<%= render "comments/sort_option",
|
||||
sort_order: "oldest",
|
||||
sort_title: "Oldest",
|
||||
sort_description: "The oldest comments will be first",
|
||||
sort_title: t("views.articles.comments.sort.title.oldest"),
|
||||
sort_description: t("views.articles.comments.sort.desc.oldest"),
|
||||
show_selected: @comments_order == "oldest" %>
|
||||
</ul>
|
||||
</nav>
|
||||
|
|
|
|||
|
|
@ -10,6 +10,6 @@
|
|||
<h4 class="fw-800 fs-l color-grey-800"><%= badge.title %></h4>
|
||||
<p><%= badge.description %></p>
|
||||
</div>
|
||||
<button class="flex flex-row items-start c-btn c-btn--primary" onclick="window.Forem.closeModal()">Got it</button>
|
||||
<button class="flex flex-row items-start c-btn c-btn--primary" onclick="window.Forem.closeModal()"><%= t("views.badges.gotit") %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,17 +1,16 @@
|
|||
<% name = @article.cached_user_name %>
|
||||
<div id="unpublish-post-modal" class="hidden">
|
||||
<p>
|
||||
Once unpublished, this post will become invisible to the public
|
||||
and only accessible to <%= name %>.
|
||||
<%= t("views.moderations.actions.unpublish_post.modal_text1", username: name) %>
|
||||
</p>
|
||||
<p>They can still re-publish the post if they are not suspended.</p>
|
||||
<p><%= t("views.moderations.actions.unpublish_post.modal_text2", username: name) %></p>
|
||||
<div class="mt-4">
|
||||
<button
|
||||
destructive
|
||||
variant="primary"
|
||||
class="c-btn c-btn--primary c-btn--destructive"
|
||||
id="confirm-unpublish-post-action">
|
||||
Unpublish post
|
||||
<%= t("views.moderations.actions.unpublish") %>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -8,6 +8,16 @@ en:
|
|||
aria_label: Article actions
|
||||
comments:
|
||||
aria_label: Add a comment to post - %{title}
|
||||
sort:
|
||||
heading: "Sort discussion: "
|
||||
title:
|
||||
top: Top
|
||||
latest: Latest
|
||||
oldest: Oldest
|
||||
desc:
|
||||
top: Most upvoted and relevant comments will be first
|
||||
latest: Most recent comments will be first
|
||||
oldest: The oldest comments will be first
|
||||
sort_button:
|
||||
aria_label: Sort comments
|
||||
subtitle:
|
||||
|
|
|
|||
|
|
@ -8,6 +8,16 @@ fr:
|
|||
aria_label: Article actions
|
||||
comments:
|
||||
aria_label: Add a comment to post - %{title}
|
||||
sort:
|
||||
heading: "Sort discussion: "
|
||||
title:
|
||||
top: Top
|
||||
latest: Latest
|
||||
oldest: Oldest
|
||||
desc:
|
||||
top: Most upvoted and relevant comments will be first
|
||||
latest: Most recent comments will be first
|
||||
oldest: The oldest comments will be first
|
||||
sort_button:
|
||||
aria_label: Sort comments
|
||||
subtitle:
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ en:
|
|||
Code of Conduct: Code of Conduct
|
||||
Contact: Contact
|
||||
FAQ: FAQ
|
||||
Home: Home
|
||||
Listings: Listings
|
||||
Podcasts: Podcasts
|
||||
Privacy Policy: Privacy Policy
|
||||
|
|
@ -65,6 +66,5 @@ en:
|
|||
powered:
|
||||
text_html: Made with love and %{rails}. %{community} <span title="copyright">©</span> %{copyright}.
|
||||
rails: Ruby on Rails
|
||||
home: Home
|
||||
create_post: Create Post
|
||||
signout: Sign Out
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ fr:
|
|||
Code of Conduct: Code of Conduct
|
||||
Contact: Contact
|
||||
FAQ: FAQ
|
||||
Home: Page D'Accueil
|
||||
Listings: Listings
|
||||
Podcasts: Podcasts
|
||||
Privacy Policy: Privacy Policy
|
||||
|
|
@ -65,6 +66,5 @@ fr:
|
|||
powered:
|
||||
text_html: Made with love and %{rails}. %{community} <span title="copyright">©</span> %{copyright}.
|
||||
rails: Ruby on Rails
|
||||
home: Page D'Accueil
|
||||
create_post: Créer une publication
|
||||
signout: Se déconnecter
|
||||
|
|
|
|||
|
|
@ -4,13 +4,12 @@ en:
|
|||
badges:
|
||||
meta:
|
||||
title: Badges
|
||||
name: "%{title} Badge"
|
||||
all:
|
||||
one: Show one badge
|
||||
other: Show all %{count} badges
|
||||
heading: Badges
|
||||
desc: Receive badges for being awesome! Click on a badge to see how you can earn it.
|
||||
name: "🏅 %{title} Badge 🏅"
|
||||
gotit: Got it
|
||||
campaign:
|
||||
subtitle: Stories (%{count})
|
||||
view: See all posts
|
||||
|
|
|
|||
|
|
@ -4,13 +4,12 @@ fr:
|
|||
badges:
|
||||
meta:
|
||||
title: Badges
|
||||
name: "%{title} Badge"
|
||||
all:
|
||||
one: Show one badge
|
||||
other: Show all %{count} badges
|
||||
heading: Badges
|
||||
desc: Receive badges for being awesome! Click on a badge to see how you can earn it.
|
||||
name: "🏅 %{title} Badge 🏅"
|
||||
gotit: Got it
|
||||
campaign:
|
||||
subtitle: Stories (%{count})
|
||||
view: See all posts
|
||||
|
|
|
|||
|
|
@ -114,6 +114,9 @@ en:
|
|||
modal_text1: Once unpublished, all posts by %{username} will become hidden and only accessible to themselves.
|
||||
modal_text2: If %{username} is not suspended, they can still re-publish their posts from their dashboard.
|
||||
modal_button: Unpublish all posts
|
||||
unpublish_post:
|
||||
modal_text1: Once unpublished, this post will become invisible to the public and only accessible to %{username}.
|
||||
modal_text2: They can still re-publish the post if they are not suspended.
|
||||
vote_down: Low Quality
|
||||
flag_to_admins: Flag to Admins
|
||||
vote_up: High Quality
|
||||
|
|
|
|||
|
|
@ -113,6 +113,9 @@ fr:
|
|||
modal_text1: Once unpublished, all posts by %{username} will become hidden and only accessible to themselves.
|
||||
modal_text2: If %{username} is not suspended, they can still re-publish their posts from their dashboard.
|
||||
modal_button: Unpublish all posts
|
||||
unpublish_post:
|
||||
modal_text1: Once unpublished, this post will become invisible to the public and only accessible to %{username}.
|
||||
modal_text2: They can still re-publish the post if they are not suspended.
|
||||
vote_down: Low Quality
|
||||
flag_to_admins: Flag to Admins
|
||||
vote_up: High Quality
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ fr:
|
|||
other: "%{count}%{start}\_réactions%{end}"
|
||||
title: Reactions
|
||||
like:
|
||||
title: Coeur
|
||||
title: Like
|
||||
aria_label: Like
|
||||
icon: Favorite heart button
|
||||
text: Like
|
||||
|
|
|
|||
|
|
@ -130,6 +130,7 @@ fr:
|
|||
remove: Remove
|
||||
save: Save template
|
||||
saved: Saved templates
|
||||
trusted: Trusted user templates
|
||||
github:
|
||||
heading: GitHub
|
||||
desc1: Pin your GitHub repositories to your profile.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue