FIX: 1.9.0 regression with i18n

This commit is contained in:
Robin Ward 2014-12-17 12:57:23 -05:00
parent 01904c6ca3
commit 0d1bb7763a
2 changed files with 3 additions and 3 deletions

View File

@ -3,9 +3,9 @@
<button class='btn btn-primary' {{action "toggleSummary"}}>{{i18n 'summary.disable'}}</button>
{{else}}
{{#if topic.estimatedReadingTime}}
<p>{{{i18n 'summary.description_time' count="topic.posts_count" readingTime="topic.estimatedReadingTime"}}}</p>
<p>{{{i18n 'summary.description_time' count=topic.posts_count readingTime=topic.estimatedReadingTime}}}</p>
{{else}}
<p>{{{i18n 'summary.description' count="topic.posts_count"}}}</p>
<p>{{{i18n 'summary.description' count=topic.posts_count}}}</p>
{{/if}}
<button class='btn btn-primary' {{action "toggleSummary"}}>{{i18n 'summary.enable'}}</button>

View File

@ -82,7 +82,7 @@
{{#if showAllLinksControls}}
<div class='link-summary'>
<a href='#' {{action "showAllLinks"}}>{{i18n 'topic_map.links_shown' totalLinks="details.links.length"}}</a>
<a href='#' {{action "showAllLinks"}}>{{i18n 'topic_map.links_shown' totalLinks=details.links.length}}</a>
</div>
{{/if}}