Use the CodeMirror editor in the slide application

This commit is contained in:
Yann Flory
2016-09-30 17:39:16 +02:00
parent b5b0eacebc
commit 2609af2105
61 changed files with 3553 additions and 426 deletions

View File

@@ -69,5 +69,20 @@ define(['/customize/languageSelector.js',
'*/'
].join('');
messages.slideInitialState = [
'# CryptSlide\n',
'* This is a zero knowledge realtime collaborative editor.\n',
'* What you type here is encrypted so only people who have the link can access it.\n',
'* Even the server cannot see what you type.\n',
'* What you see here, what you hear here, when you leave here, let it stay here.\n',
'\n',
'---',
'\n',
'# How to use\n',
'1. Write your slides content using the markdown syntax\n',
'2. Separate your slides with ---\n',
'3. Click on the "Play" button to see the result'
].join('');
return messages;
});

View File

@@ -47,8 +47,8 @@ define(function () {
out.back = '⇐ Retour';
out.backToCryptpad = '⇐ Retour vers Cryptpad';
out.changeNameButton = 'Changer de nom';
out.changeNamePrompt = 'Changer votre nom : ';
out.userButton = 'UTILISATEUR';
out.userButtonTitle = "Changer votre nom d'utilisateur";
out.renameButton = 'RENOMMER';
out.renameButtonTitle = 'Changer le titre utilisé par ce document dans la page d\'accueil de Cryptpad';

View File

@@ -47,7 +47,8 @@ define(function () {
out.back = '⇐ Back';
out.backToCryptpad = '⇐ Back to Cryptpad';
out.changeNameButton = 'Change name';
out.userButton = 'USER';
out.userButtonTitle = 'Change your username';
out.changeNamePrompt = 'Change your name: ';
out.renameButton = 'RENAME';