extract hardcoded strings from admin reports

This commit is contained in:
Kuba Brecka 2013-03-23 18:06:28 +01:00
parent 030ecfaa71
commit 274d665f35
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."