diff --git a/customize.dist/translations/messages.js b/customize.dist/translations/messages.js index a8371ad5a..c8a472954 100644 --- a/customize.dist/translations/messages.js +++ b/customize.dist/translations/messages.js @@ -265,6 +265,7 @@ define(function () { // contacts/userlist out.userlist_addAsFriendTitle = 'Add "{0}" as a contact'; out.userlist_thisIsYou = 'This is you ("{0}")'; + out.contacts_title = "Contacts"; // File manager diff --git a/www/contacts/main.js b/www/contacts/main.js index c7c57965c..c89d31a95 100644 --- a/www/contacts/main.js +++ b/www/contacts/main.js @@ -25,14 +25,15 @@ define([ var $messages = $iframe.find('#messaging'); var $bar = $iframe.find('.toolbar-container'); - var displayed = ['useradmin', 'newpad', 'limit']; + var displayed = ['useradmin', 'newpad', 'limit', 'pageTitle']; var configTb = { displayed: displayed, ifrw: ifrw, common: Cryptpad, $container: $bar, - network: Cryptpad.getNetwork() + network: Cryptpad.getNetwork(), + pageTitle: Messages.contacts_title, }; var toolbar = APP.toolbar = Toolbar.create(configTb); toolbar.$rightside.html(''); // Remove the drawer if we don't use it to hide the toolbar