about summary refs log tree commit diff
path: root/app/views/about
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-15 23:56:03 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-16 00:55:33 +0100
commit546c4718e781f8900ba6498307ccb1e659de5edd (patch)
treef69b4941a8806cceff656991cffc46c9661654e7 /app/views/about
parent3ce6ac0ce2e482bc1f2784c3c7f716172b151902 (diff)
Localizations for most server-side strings
Diffstat (limited to 'app/views/about')
-rw-r--r--app/views/about/index.html.haml21
-rw-r--r--app/views/about/terms.en.html.haml (renamed from app/views/about/terms.html.haml)0
2 files changed, 6 insertions, 15 deletions
diff --git a/app/views/about/index.html.haml b/app/views/about/index.html.haml
index e9e2f9d93..307d75c81 100644
--- a/app/views/about/index.html.haml
+++ b/app/views/about/index.html.haml
@@ -6,24 +6,15 @@
     = image_tag 'logo.png'
     Mastodon
 
-  %p
-    Mastodon is a
-    %em free, open-source
-    social network server. A
-    %em decentralized
-    alternative to commercial platforms, it avoids the risks of a single company monopolizing your communication. Anyone can run Mastodon and participate in the
-    %em social network
-    seamlessly.
-  %p
-    %em= Rails.configuration.x.local_domain
-    is a Mastodon instance.
+  %p= t('about.about_mastodon').html_safe
+  %p= t('about.about_instance', instance: Rails.configuration.x.local_domain).html_safe
 
   .screenshot= image_tag 'screenshot.png'
 
   .actions
     .info
-      = link_to 'Terms', terms_path
-      = link_to 'Source code', 'https://github.com/Gargron/mastodon'
+      = link_to t('about.terms'), terms_path
+      = link_to t('about.source_code'), 'https://github.com/Gargron/mastodon'
 
-    = link_to 'Get started', new_user_registration_path, class: 'button'
-    = link_to 'Log in', new_user_session_path, class: 'button'
+    = link_to t('about.get_started'), new_user_registration_path, class: 'button'
+    = link_to t('auth.login'), new_user_session_path, class: 'button'
diff --git a/app/views/about/terms.html.haml b/app/views/about/terms.en.html.haml
index 9fb318053..9fb318053 100644
--- a/app/views/about/terms.html.haml
+++ b/app/views/about/terms.en.html.haml