1 import { I18n } from '@ngx-translate/i18n-polyfill';
3 import * as _ from 'lodash';
5 export class SelectBadgesMessages {
9 customValidations = {};
13 constructor(messages: {}, i18n: I18n) {
16 this.empty = this.i18n('There are no items.');
17 this.selectionLimit = {
18 tooltip: this.i18n('Deselect item to select again'),
19 text: this.i18n('Selection limit reached')
21 this.filter = this.i18n('Filter tags');
22 this.add = this.i18n('Add badge'); // followed by " '{{filter.value}}'"
24 _.merge(this, messages);