diff --git a/app/assets/javascripts/admin/models/staff_action_log.js b/app/assets/javascripts/admin/models/staff_action_log.js index 1b6433791..d609f6ddf 100644 --- a/app/assets/javascripts/admin/models/staff_action_log.js +++ b/app/assets/javascripts/admin/models/staff_action_log.js @@ -16,7 +16,7 @@ Discourse.StaffActionLog = Discourse.Model.extend({ formattedDetails: function() { var formatted = ""; if (this.get('email')) { - formatted += "Email: " + this.get('email') + "
"; + formatted += "" + I18n.t("email") + ": " + this.get('email') + "
"; } if (this.get('ip_address')) { formatted += "IP: " + this.get('ip_address') + "
"; diff --git a/app/assets/javascripts/admin/templates/logs/blocked_emails.js.handlebars b/app/assets/javascripts/admin/templates/logs/blocked_emails.js.handlebars index 6c5055951..b7373efb1 100644 --- a/app/assets/javascripts/admin/templates/logs/blocked_emails.js.handlebars +++ b/app/assets/javascripts/admin/templates/logs/blocked_emails.js.handlebars @@ -24,6 +24,6 @@ {{else}} - No results. + {{i18n search.no_results}} {{/if}} {{/if}} \ No newline at end of file diff --git a/app/assets/javascripts/admin/templates/logs/staff_action_logs.js.handlebars b/app/assets/javascripts/admin/templates/logs/staff_action_logs.js.handlebars index 25fd839d3..f8e06cf4f 100644 --- a/app/assets/javascripts/admin/templates/logs/staff_action_logs.js.handlebars +++ b/app/assets/javascripts/admin/templates/logs/staff_action_logs.js.handlebars @@ -35,9 +35,9 @@ {{#if showFullDetails}} {{details}}
- Less + {{i18n less}} {{else}} - More + {{i18n more}} {{/if}} @@ -45,6 +45,6 @@ {{else}} - No results. + {{i18n search.no_results}} {{/if}} {{/if}} \ No newline at end of file diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index b5cc3d1f3..457727148 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -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"