about summary refs log tree commit diff
path: root/config/locales
diff options
context:
space:
mode:
authorSasha Sorokin <dafri.nochiterov8@gmail.com>2020-01-01 04:15:05 +0700
committerEugen Rochko <eugen@zeonfederated.com>2019-12-31 22:15:05 +0100
commit9edab7afafd6f6db9338ada83a84b2ef14f397a9 (patch)
treeb7c619954effde46ba5a1681476c58c825e8503c /config/locales
parent2a5da8c9613b0ef6659edc60831b4fe8e84f3fc8 (diff)
Add translation project promotion link (#12736)
This commit adds promotional notice on appearance settings about
translation project if any other locale than English is used. It
allows users to learn and contribute translations to Mastodon.

Step ahead, in this commit one unusual string is added - link to a
guide. By default it refers to Crowdin project itself, but if any of
Mastodon localization teams established their own guide, they can
refer it. Or, if Crowdin supports localized domain for language, it
can also be put there (e.g. https://fr.crowdin.com/...).
Diffstat (limited to 'config/locales')
-rw-r--r--config/locales/en.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml
index c7179d304..42bd81e40 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -581,6 +581,10 @@ en:
     animations_and_accessibility: Animations and accessibility
     confirmation_dialogs: Confirmation dialogs
     discovery: Discovery
+    localization:
+      body: Mastodon is translated by volunteers.
+      guide_link: https://crowdin.com/project/mastodon
+      guide_link_text: Everyone can contribute.
     sensitive_content: Sensitive content
     toot_layout: Toot layout
   application_mailer: