Add initial text in /contacts

pull/1/head
yflory 8 years ago
parent aa8181ab2b
commit 743b87b70f

@ -265,6 +265,12 @@ define(function () {
out.contacts_remove = 'Supprimer ce contact';
out.contacts_confirmRemove = 'Êtes-vous sûr de voulour supprimer <em>{0}</em> 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";

@ -274,6 +274,12 @@ define(function () {
out.contacts_remove = 'Remove this contact';
out.contacts_confirmRemove = 'Are you sure you want to remove <em>{0}</em> 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";

@ -49,6 +49,12 @@ define([
Cryptpad.initMessaging(Cryptpad, $list, $messages);
var $title = $('<h2>').text(Messages.contacts_info1).appendTo($messages);
var $ul = $('<ul>').appendTo($messages);
$('<li>').text(Messages.contacts_info2).appendTo($ul);
$('<li>').text(Messages.contacts_info3).appendTo($ul);
$('<li>').text(Messages.contacts_info4).appendTo($ul);
Cryptpad.removeLoadingScreen();
};

Loading…
Cancel
Save