- Top tags
- <%= link_to "Following tags", dashboard_following_tags_path, class: "crayons-btn crayons-btn--ghost" %>
+ <%= t("core.top_tags") %>
+ <%= link_to t("core.following_tags"), dashboard_following_tags_path, class: "crayons-btn crayons-btn--ghost" %>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 41aab0f84..4c0524b2b 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -5,6 +5,7 @@ en:
all: All
comment: Comment
copy_link: Copy link
+ community_name_is_great: "%{community_name} is great!"
create_account: Create account
create_post: Create Post
discussion: Discussion
@@ -13,6 +14,7 @@ en:
follow: Follow
follow_back: Follow back
following: Following
+ following_tags: "Following tags"
full: Full
home: Home
infinity: Infinity
@@ -36,6 +38,9 @@ en:
search: Search
see_all: See all
share_to: Share to %{media}
+ tags: "Tags"
+ tags_to_follow: "Tags to follow on %{community_name}"
+ top_tags: "Top tags"
trending_on: Trending on
view: View
week: Week
diff --git a/config/locales/fr.yml b/config/locales/fr.yml
index b3b68db1c..2ba83a9ab 100644
--- a/config/locales/fr.yml
+++ b/config/locales/fr.yml
@@ -4,6 +4,7 @@ fr:
add_comment: Ajouter un commentaire
all: Tout
comment: Commentaire
+ community_name_is_great: "%{community_name} est super"
copy_link: Copier le lien
create_account: Créer un profil
create_post: Créer une publication
@@ -13,6 +14,7 @@ fr:
follow: Suivre
follow_back: Suivre aussi
following: Abonné
+ following_tags: Sujets suivis
full: Complet
home: Page D'Accueil
infinity: Infini
@@ -36,6 +38,9 @@ fr:
search: Recherche
see_all: Tout voir
share_to: Partager sur %{media}
+ tags: Sujets
+ tags_to_follow: Sujets dans %{community_name}
+ top_tags: Sujets les plus utilisées
trending_on: Populaire sur
view: Vue
week: Semaine
diff --git a/spec/requests/pages_spec.rb b/spec/requests/pages_spec.rb
index f4748947d..e98f08047 100644
--- a/spec/requests/pages_spec.rb
+++ b/spec/requests/pages_spec.rb
@@ -231,7 +231,7 @@ RSpec.describe "Pages", type: :request do
it "has proper text" do
get "/robots.txt"
- text = "Sitemap: #{URL.url("sitemap-index.xml")}"
+ text = "Sitemap: #{URL.url('sitemap-index.xml')}"
expect(response.body).to include(text)
end
end