Merge pull request #552 from kubabrecka/extract_strings_reports

extract hardcoded strings from admin reports
This commit is contained in:
Robin Ward 2013-03-23 13:56:23 -07:00
commit 1a80412b43
2 changed files with 4 additions and 2 deletions

View File

@ -3,11 +3,11 @@
<button class='btn' <button class='btn'
{{action viewAsTable}} {{action viewAsTable}}
{{bindAttr disabled="viewingTable"}}>View as Table</button> {{bindAttr disabled="viewingTable"}}>{{i18n admin.dashboard.reports.view_table}}</button>
<button class='btn' <button class='btn'
{{action viewAsBarChart}} {{action viewAsBarChart}}
{{bindAttr disabled="viewingBarChart"}}>View as Bar Chart</button> {{bindAttr disabled="viewingBarChart"}}>{{i18n admin.dashboard.reports.view_chart}}</button>
<table class='table report'> <table class='table report'>
<tr> <tr>

View File

@ -713,6 +713,8 @@ en:
7_days_ago: "7 Days Ago" 7_days_ago: "7 Days Ago"
30_days_ago: "30 Days Ago" 30_days_ago: "30 Days Ago"
all: "All" all: "All"
view_table: "View as Table"
view_chart: "View as Bar Chart"
commits: commits:
latest_changes: "Latest changes." latest_changes: "Latest changes."