From 274d665f351cd5089e932168f2621bc3f643ef24 Mon Sep 17 00:00:00 2001 From: Kuba Brecka Date: Sat, 23 Mar 2013 18:06:28 +0100 Subject: [PATCH] extract hardcoded strings from admin reports --- app/assets/javascripts/admin/templates/reports.js.handlebars | 4 ++-- config/locales/client.en.yml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/admin/templates/reports.js.handlebars b/app/assets/javascripts/admin/templates/reports.js.handlebars index 7a5a3aadf0b..bc7fefef0b5 100644 --- a/app/assets/javascripts/admin/templates/reports.js.handlebars +++ b/app/assets/javascripts/admin/templates/reports.js.handlebars @@ -3,11 +3,11 @@ + {{bindAttr disabled="viewingTable"}}>{{i18n admin.dashboard.reports.view_table}} + {{bindAttr disabled="viewingBarChart"}}>{{i18n admin.dashboard.reports.view_chart}} diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index c48a3f8744a..8b8f7ed65a0 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -713,6 +713,8 @@ en: 7_days_ago: "7 Days Ago" 30_days_ago: "30 Days Ago" all: "All" + view_table: "View as Table" + view_chart: "View as Bar Chart" commits: latest_changes: "Latest changes."