From 56ca99f1dd4a9fbef87c376e0c91f92ff0fda711 Mon Sep 17 00:00:00 2001 From: elijah Date: Thu, 14 Aug 2014 17:07:56 -0700 Subject: fixed "Downloads" translation missing. --- amber/layouts/default.html.haml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'amber') diff --git a/amber/layouts/default.html.haml b/amber/layouts/default.html.haml index 53b3c57..aa5233d 100644 --- a/amber/layouts/default.html.haml +++ b/amber/layouts/default.html.haml @@ -2,7 +2,7 @@ %html{:lang => I18n.locale} %head %title - = [(@page.nav_title unless @page.path.empty?), I18n.t('site_title')].compact.join(' - ') + = [(@page.nav_title unless @page.path.empty?), t(:site_title)].compact.join(' - ') %meta(name="viewport" content="width=device-width, initial-scale=1.0")/ %link(rel="stylesheet" href="/assets/bootstrap.min.css")/ %link(rel="stylesheet" href="/assets/font-awesome/css/font-awesome.min.css")/ @@ -11,8 +11,7 @@ %body %a.bm-masthead{:href => '/'} .bm-bar - Bitmask - = I18n.t("Downloads") + = t :site_title .bm-main.container = yield %footer -- cgit v1.2.3