Skip to content

Commit

Permalink
fix(watcher): Change template literals to string literals for i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
sebelga committed Oct 25, 2018
1 parent 5144dca commit e675ea2
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ app.directive('actionStatusTable', function ($injector, i18n) {
const total = errors.length;

const label = i18n('xpack.watcher.sections.watchDetail.actionStatusTotalErrors', {
defaultMessage: `{total, number} {total, plural,
one {error}
other {errors}
}`,
defaultMessage: '{total, number} {total, plural, one {error} other {errors}}',
values: {
total,
}
Expand Down

0 comments on commit e675ea2

Please sign in to comment.