diff --git a/core/js/contactsmenu.js b/core/js/contactsmenu.js index 93d5c437197f4..15c48887d200b 100644 --- a/core/js/contactsmenu.js +++ b/core/js/contactsmenu.js @@ -32,7 +32,7 @@ var CONTACTS_LIST_TEMPLATE = '' + '{{#unless contacts.length}}' + '
' - + ' ' + + ' ' + '

' + t('core', 'No contacts found') + '

' + '
' + '{{/unless}}' @@ -40,12 +40,13 @@ + '{{#if contactsAppEnabled}}{{/if}}'; var LOADING_TEMPLATE = '' + '
' - + ' ' + + '
' + '

{{loadingText}}

' + '
'; var ERROR_TEMPLATE = '' + '
' - + '

' + t('core', 'Could not load your contacts.') + '

' + + ' ' + + '

' + t('core', 'There was an error loading your contacts') + '

' + '
'; var CONTACT_TEMPLATE = '' + '{{#if contact.avatar}}' @@ -508,7 +509,7 @@ self._view.showContacts(data, searchTerm); }, function(e) { self._view.showError(); - console.error('could not load contacts', e); + console.error('There was an error loading your contacts', e); }).then(function() { // Delete promise, so that contacts are fetched again when the // menu is opened the next time.