From 743b87b70f522d69d56a64001731f2c7b2524c66 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 17 Jul 2017 18:51:23 +0200 Subject: [PATCH] Add initial text in /contacts --- customize.dist/translations/messages.fr.js | 6 ++++++ customize.dist/translations/messages.js | 6 ++++++ www/contacts/main.js | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/customize.dist/translations/messages.fr.js b/customize.dist/translations/messages.fr.js index 42cf84655..44328ed53 100644 --- a/customize.dist/translations/messages.fr.js +++ b/customize.dist/translations/messages.fr.js @@ -265,6 +265,12 @@ define(function () { out.contacts_remove = 'Supprimer ce contact'; out.contacts_confirmRemove = 'Êtes-vous sûr de voulour supprimer {0} de vos contacts ?'; + + out.contacts_info1 = "Voici vos contacts. Ici, vous pouvez :"; + out.contacts_info2 = "Cliquer sur le nom d'un contact pour discuter avec lui"; + out.contacts_info3 = "Double-cliquer sur son nom pour voir son profil"; + out.contacts_info4 = "Chaque participant peut nettoyer définitivement l'historique d'une discussion"; + // File manager out.fm_rootName = "Documents"; diff --git a/customize.dist/translations/messages.js b/customize.dist/translations/messages.js index 3c6b7b4b8..70ce2f4af 100644 --- a/customize.dist/translations/messages.js +++ b/customize.dist/translations/messages.js @@ -274,6 +274,12 @@ define(function () { out.contacts_remove = 'Remove this contact'; out.contacts_confirmRemove = 'Are you sure you want to remove {0} from your contacts?'; + + out.contacts_info1 = "These are your contacts. From here, you can:"; + out.contacts_info2 = "Click your contact's icon to chat with them"; + out.contacts_info3 = "Double-click their icon to view their profile"; + out.contacts_info4 = "Either participant can clear permanently a chat history"; + // File manager out.fm_rootName = "Documents"; diff --git a/www/contacts/main.js b/www/contacts/main.js index c89d31a95..d5d1ca86f 100644 --- a/www/contacts/main.js +++ b/www/contacts/main.js @@ -49,6 +49,12 @@ define([ Cryptpad.initMessaging(Cryptpad, $list, $messages); + var $title = $('

').text(Messages.contacts_info1).appendTo($messages); + var $ul = $('