diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-15 23:02:57 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-15 23:02:57 +0100 |
commit | 3ce6ac0ce2e482bc1f2784c3c7f716172b151902 (patch) | |
tree | 89052410c8e7c856bee1049464ee79463a7db48b /app/views/layouts | |
parent | a4313224d93cd762fd500e687e33247025035af8 (diff) |
Adding some localizations
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/application.html.haml | 2 | ||||
-rw-r--r-- | app/views/layouts/public.html.haml | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index fbb48d621..7e28d27ec 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -14,7 +14,7 @@ = "#{yield(:page_title)} - " if content_for?(:page_title) Mastodon - = stylesheet_link_tag 'application', media: 'all' + = stylesheet_link_tag 'application', media: 'all' = csrf_meta_tags = yield :header_tags diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index 0e56bef1f..e6de7d017 100644 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -6,8 +6,6 @@ .footer %span.domain= link_to Rails.configuration.x.local_domain, root_path %span.powered-by - \// - powered by - = link_to 'Mastodon', 'https://github.com/Gargron/mastodon' + = t('generic.powered_by', link: link_to('Mastodon', 'https://github.com/Gargron/mastodon')).html_safe = render template: "layouts/application" |