mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Oops, forgot to use i18n in some places
This commit is contained in:
parent
f6aa8476c8
commit
b0848db6de
@ -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/>";
|
||||||
|
@ -24,6 +24,6 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
{{else}}
|
{{else}}
|
||||||
No results.
|
{{i18n search.no_results}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
@ -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}}
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user