diff --git a/apps/systemtags/js/systemtagsfilelist.js b/apps/systemtags/js/systemtagsfilelist.js index 56838018a2..25f377785b 100644 --- a/apps/systemtags/js/systemtagsfilelist.js +++ b/apps/systemtags/js/systemtagsfilelist.js @@ -115,6 +115,9 @@ escapeMarkup: function(m) { // prevent double markup escape return m; + }, + formatNoMatches: function() { + return t('systemtags', 'No tags found'); } }); this.$filterField.on('change', _.bind(this._onTagsChanged, this)); diff --git a/core/js/systemtags/systemtagsinputfield.js b/core/js/systemtags/systemtagsinputfield.js index 2eb8d0a44c..5d986d1729 100644 --- a/core/js/systemtags/systemtagsinputfield.js +++ b/core/js/systemtags/systemtagsinputfield.js @@ -408,6 +408,9 @@ return 1; }); return results; + }, + formatNoMatches: function() { + return t('core', 'No tags found'); } }) .on('select2-selecting', this._onSelectTag)