diff --git a/app/views/articles/_actions.html.erb b/app/views/articles/_actions.html.erb index e8b0cda9c..d38c70e4c 100644 --- a/app/views/articles/_actions.html.erb +++ b/app/views/articles/_actions.html.erb @@ -103,6 +103,13 @@ href="https://www.facebook.com/sharer.php?u=<%= u article_url(@article) %>"> <%= t("views.actions.share.facebook.text") %> + + <%= t("views.actions.share.mastodon.text") %> + diff --git a/config/locales/views/actions/en.yml b/config/locales/views/actions/en.yml index 2227dc7bd..c3266c1fd 100644 --- a/config/locales/views/actions/en.yml +++ b/config/locales/views/actions/en.yml @@ -15,6 +15,8 @@ en: text: Share to Hacker News linkedin: text: Share to LinkedIn + mastodon: + text: Share to Mastodon reddit: text: Share to Reddit twitter: diff --git a/config/locales/views/actions/fr.yml b/config/locales/views/actions/fr.yml index f10e42e89..b9b8331d9 100644 --- a/config/locales/views/actions/fr.yml +++ b/config/locales/views/actions/fr.yml @@ -15,6 +15,8 @@ fr: text: Partager sur Hacker News linkedin: text: Partager sur LinkedIn + mastodon: + text: Partager sur Mastodon reddit: text: Partager sur Reddit twitter: