1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 09:51:09 +03:00

adding translation tag for "No records matched your search"

This commit is contained in:
Jared Tabor 2017-09-20 17:52:13 -07:00
parent d0cb11acb3
commit 557780bf08
No known key found for this signature in database
GPG Key ID: 1B343EC4C3CF7E5C
2 changed files with 2 additions and 2 deletions

View File

@ -1875,7 +1875,7 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
<div <div
class="row" class="row"
ng-show="${itm}.length === 0 && !(searchTags | isEmpty)"> ng-show="${itm}.length === 0 && !(searchTags | isEmpty)">
<div class="col-lg-12 List-searchNoResults">`; <div class="col-lg-12 List-searchNoResults" translate>`;
html += i18n._('No records matched your search.'); html += i18n._('No records matched your search.');
html += `</div> html += `</div>
</div> </div>

View File

@ -237,7 +237,7 @@ export default ['$compile', 'Attr', 'Icon',
// Message for when a search returns no results. This should only get shown after a search is executed with no results. // Message for when a search returns no results. This should only get shown after a search is executed with no results.
html +=` html +=`
<div class="row" ng-show="${list.name}.length === 0 && !(searchTags | isEmpty)"> <div class="row" ng-show="${list.name}.length === 0 && !(searchTags | isEmpty)">
<div class="col-lg-12 List-searchNoResults">No records matched your search.</div> <div class="col-lg-12 List-searchNoResults" translate>No records matched your search.</div>
</div> </div>
`; `;
} }