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() { formattedDetails: function() {
var formatted = ""; var formatted = "";
if (this.get('email')) { 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')) { if (this.get('ip_address')) {
formatted += "<b>IP:</b> " + this.get('ip_address') + "<br/>"; formatted += "<b>IP:</b> " + this.get('ip_address') + "<br/>";

View File

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

View File

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

View File

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