Merge pull request #7971 from nextcloud/comradekingu-patch-1

Spelling: There was an error loading → could not load
This commit is contained in:
Morris Jobke 2018-01-23 10:58:43 +01:00 committed by GitHub
commit 9cb3a79b18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@
var ERROR_TEMPLATE = ''
+ '<div class="emptycontent">'
+ ' <div class="icon-search"></div>'
+ ' <h2>' + t('core', 'There was an error loading your contacts') + '</h2>'
+ ' <h2>' + t('core', 'Could not load your contacts') + '</h2>'
+ '</div>';
var CONTACT_TEMPLATE = ''
+ '{{#if contact.avatar}}'

View File

@ -72,7 +72,7 @@ describe('Contacts menu', function() {
fakeServer.respond();
opening.then(function() {
expect($menuEl.html()).toContain('There was an error loading your contacts');
expect($menuEl.html()).toContain('Could not load your contacts');
expect(console.error).toHaveBeenCalledTimes(1);
done();
}, function(e) {