mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Oops, forgot to use i18n in some places
This commit is contained in:
parent
f6aa8476c8
commit
b0848db6de
4 changed files with 7 additions and 5 deletions
|
@ -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/>";
|
||||
|
|
|
@ -24,6 +24,6 @@
|
|||
</tbody>
|
||||
</table>
|
||||
{{else}}
|
||||
No results.
|
||||
{{i18n search.no_results}}
|
||||
{{/if}}
|
||||
{{/if}}
|
|
@ -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}}
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue