Oops, forgot to use i18n in some places

This commit is contained in:
Neil Lalonde 2013-08-07 16:46:23 -04:00
parent f6aa8476c8
commit b0848db6de
4 changed files with 7 additions and 5 deletions

View file

@ -16,7 +16,7 @@ Discourse.StaffActionLog = Discourse.Model.extend({
formattedDetails: function() {
var formatted = "";
if (this.get('email')) {
formatted += "<b>Email:</b> " + this.get('email') + "<br/>";
formatted += "<b>" + I18n.t("email") + ":</b> " + this.get('email') + "<br/>";
}
if (this.get('ip_address')) {
formatted += "<b>IP:</b> " + this.get('ip_address') + "<br/>";

View file

@ -24,6 +24,6 @@
</tbody>
</table>
{{else}}
No results.
{{i18n search.no_results}}
{{/if}}
{{/if}}

View file

@ -35,9 +35,9 @@
{{#if showFullDetails}}
{{details}}
<br/>
<a {{action toggleFullDetails this}}>Less</a>
<a {{action toggleFullDetails this}}>{{i18n less}}</a>
{{else}}
<a {{action toggleFullDetails this}}>More</a>
<a {{action toggleFullDetails this}}>{{i18n more}}</a>
{{/if}}
</td>
</tr>
@ -45,6 +45,6 @@
</tbody>
</table>
{{else}}
No results.
{{i18n search.no_results}}
{{/if}}
{{/if}}

View file

@ -98,6 +98,8 @@ en:
or: "or"
now: "just now"
read_more: 'read more'
more: "More"
less: "Less"
in_n_seconds:
one: "in 1 second"