here are some changes
This commit is contained in:
parent
584adb5482
commit
c884782d57
@ -50,10 +50,8 @@ define(function () {
|
|||||||
out.orangeLight = "Your slow connection may impact your experience";
|
out.orangeLight = "Your slow connection may impact your experience";
|
||||||
out.redLight = "You are disconnected from the session";
|
out.redLight = "You are disconnected from the session";
|
||||||
|
|
||||||
out.importButton = 'IMPORT';
|
|
||||||
out.importButtonTitle = 'Import a pad from a local file';
|
out.importButtonTitle = 'Import a pad from a local file';
|
||||||
|
|
||||||
out.exportButton = 'EXPORT';
|
|
||||||
out.exportButtonTitle = 'Export this pad to a local file';
|
out.exportButtonTitle = 'Export this pad to a local file';
|
||||||
out.exportPrompt = 'What would you like to name your file?';
|
out.exportPrompt = 'What would you like to name your file?';
|
||||||
|
|
||||||
@ -64,7 +62,6 @@ define(function () {
|
|||||||
|
|
||||||
out.clickToEdit = "Click to edit";
|
out.clickToEdit = "Click to edit";
|
||||||
|
|
||||||
out.forgetButton = 'FORGET';
|
|
||||||
out.forgetButtonTitle = 'Move this pad to the trash';
|
out.forgetButtonTitle = 'Move this pad to the trash';
|
||||||
out.forgetPrompt = 'Clicking OK will move this pad to your trash. Are you sure?';
|
out.forgetPrompt = 'Clicking OK will move this pad to your trash. Are you sure?';
|
||||||
out.movedToTrash = 'That pad has been moved to the trash.<br><a href="/drive/">Access my Drive</a>';
|
out.movedToTrash = 'That pad has been moved to the trash.<br><a href="/drive/">Access my Drive</a>';
|
||||||
@ -75,19 +72,14 @@ define(function () {
|
|||||||
out.newButton = 'New';
|
out.newButton = 'New';
|
||||||
out.newButtonTitle = 'Create a new pad';
|
out.newButtonTitle = 'Create a new pad';
|
||||||
|
|
||||||
out.presentButton = 'PRESENT';
|
|
||||||
out.presentButtonTitle = "Enter presentation mode";
|
out.presentButtonTitle = "Enter presentation mode";
|
||||||
out.presentSuccess = 'Hit ESC to exit presentation mode';
|
out.presentSuccess = 'Hit ESC to exit presentation mode';
|
||||||
out.sourceButton = 'VIEW SOURCE'; //TODO remove? hidden behind the present mode
|
|
||||||
out.sourceButtonTitle = "Leave presentation mode";
|
|
||||||
|
|
||||||
out.backgroundButton = 'BACKGROUND COLOR';
|
|
||||||
out.backgroundButtonTitle = 'Change the background color in the presentation';
|
out.backgroundButtonTitle = 'Change the background color in the presentation';
|
||||||
out.colorButton = 'TEXT COLOR';
|
|
||||||
out.colorButtonTitle = 'Change the text color in presentation mode';
|
out.colorButtonTitle = 'Change the text color in presentation mode';
|
||||||
|
|
||||||
out.editShare = "Editing link";
|
out.editShare = "Editing link";
|
||||||
out.editShareTitle = "Copy the edit link to clipboard";
|
out.editShareTitle = "Copy the editing link to clipboard";
|
||||||
out.viewShare = "Read-only link";
|
out.viewShare = "Read-only link";
|
||||||
out.viewShareTitle = "Copy the read-only link to clipboard";
|
out.viewShareTitle = "Copy the read-only link to clipboard";
|
||||||
out.viewOpen = "Open read-only link in new tab";
|
out.viewOpen = "Open read-only link in new tab";
|
||||||
@ -110,7 +102,6 @@ define(function () {
|
|||||||
out.poll_p_save = "Your settings are updated instantly, so you never need to save.";
|
out.poll_p_save = "Your settings are updated instantly, so you never need to save.";
|
||||||
out.poll_p_encryption = "All your input is encrypted so only people who have the link can access it. Even the server cannot see what you change.";
|
out.poll_p_encryption = "All your input is encrypted so only people who have the link can access it. Even the server cannot see what you change.";
|
||||||
|
|
||||||
out.wizardButton = 'WIZARD';
|
|
||||||
out.wizardLog = "Click the button in the top left to return to your poll";
|
out.wizardLog = "Click the button in the top left to return to your poll";
|
||||||
out.wizardTitle = "Use the wizard to create your poll";
|
out.wizardTitle = "Use the wizard to create your poll";
|
||||||
out.wizardConfirm = "Are you really ready to add these options to your poll?";
|
out.wizardConfirm = "Are you really ready to add these options to your poll?";
|
||||||
|
|||||||
@ -912,7 +912,7 @@ define([
|
|||||||
switch (type) {
|
switch (type) {
|
||||||
case 'export':
|
case 'export':
|
||||||
button = $('<button>', {
|
button = $('<button>', {
|
||||||
title: Messages.exportButton + '\n' + Messages.exportButtonTitle,
|
title: Messages.exportButtonTitle,
|
||||||
}).append($('<span>', {'class':'fa fa-download', style: 'font:'+size+' FontAwesome'}));
|
}).append($('<span>', {'class':'fa fa-download', style: 'font:'+size+' FontAwesome'}));
|
||||||
if (callback) {
|
if (callback) {
|
||||||
button.click(callback);
|
button.click(callback);
|
||||||
@ -920,7 +920,7 @@ define([
|
|||||||
break;
|
break;
|
||||||
case 'import':
|
case 'import':
|
||||||
button = $('<button>', {
|
button = $('<button>', {
|
||||||
title: Messages.importButton + '\n' + Messages.importButtonTitle,
|
title: Messages.importButtonTitle,
|
||||||
}).append($('<span>', {'class':'fa fa-upload', style: 'font:'+size+' FontAwesome'}));
|
}).append($('<span>', {'class':'fa fa-upload', style: 'font:'+size+' FontAwesome'}));
|
||||||
if (callback) {
|
if (callback) {
|
||||||
button.click(common.importContent('text/plain', function (content, file) {
|
button.click(common.importContent('text/plain', function (content, file) {
|
||||||
@ -931,7 +931,7 @@ define([
|
|||||||
case 'forget':
|
case 'forget':
|
||||||
button = $('<button>', {
|
button = $('<button>', {
|
||||||
id: 'cryptpad-forget',
|
id: 'cryptpad-forget',
|
||||||
title: Messages.forgetButton + '\n' + Messages.forgetButtonTitle,
|
title: Messages.forgetButtonTitle,
|
||||||
'class': "fa fa-trash cryptpad-forget",
|
'class': "fa fa-trash cryptpad-forget",
|
||||||
style: 'font:'+size+' FontAwesome'
|
style: 'font:'+size+' FontAwesome'
|
||||||
});
|
});
|
||||||
@ -1020,14 +1020,14 @@ define([
|
|||||||
break;
|
break;
|
||||||
case 'present':
|
case 'present':
|
||||||
button = $('<button>', {
|
button = $('<button>', {
|
||||||
title: Messages.presentButton + '\n' + Messages.presentButtonTitle,
|
title: Messages.presentButtonTitle,
|
||||||
'class': "fa fa-play-circle cryptpad-present-button", // class used in slide.js
|
'class': "fa fa-play-circle cryptpad-present-button", // class used in slide.js
|
||||||
style: 'font:'+size+' FontAwesome'
|
style: 'font:'+size+' FontAwesome'
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case 'source':
|
case 'source':
|
||||||
button = $('<button>', {
|
button = $('<button>', {
|
||||||
title: Messages.sourceButton + '\n' + Messages.sourceButtonTitle,
|
title: Messages.sourceButtonTitle,
|
||||||
'class': "fa fa-stop-circle cryptpad-source-button", // class used in slide.js
|
'class': "fa fa-stop-circle cryptpad-source-button", // class used in slide.js
|
||||||
style: 'font:'+size+' FontAwesome'
|
style: 'font:'+size+' FontAwesome'
|
||||||
});
|
});
|
||||||
|
|||||||
@ -530,13 +530,13 @@ define([
|
|||||||
id: SLIDE_BACKCOLOR_ID,
|
id: SLIDE_BACKCOLOR_ID,
|
||||||
'class': 'fa fa-square rightside-button',
|
'class': 'fa fa-square rightside-button',
|
||||||
'style': 'font-family: FontAwesome; color: #000;',
|
'style': 'font-family: FontAwesome; color: #000;',
|
||||||
title: Messages.backgroundButton + '\n' + Messages.backgroundButtonTitle
|
title: Messages.backgroundButtonTitle
|
||||||
});
|
});
|
||||||
var $text = $('<button>', {
|
var $text = $('<button>', {
|
||||||
id: SLIDE_COLOR_ID,
|
id: SLIDE_COLOR_ID,
|
||||||
'class': 'fa fa-i-cursor rightside-button',
|
'class': 'fa fa-i-cursor rightside-button',
|
||||||
'style': 'font-family: FontAwesome; font-weight: bold; color: #fff; background: #000;',
|
'style': 'font-family: FontAwesome; font-weight: bold; color: #fff; background: #000;',
|
||||||
title: Messages.colorButton + '\n' + Messages.colorButtonTitle
|
title: Messages.colorButtonTitle
|
||||||
});
|
});
|
||||||
var $testColor = $('<input>', { type: 'color', value: '!' });
|
var $testColor = $('<input>', { type: 'color', value: '!' });
|
||||||
var $check = $pad.contents().find("#colorPicker_check");
|
var $check = $pad.contents().find("#colorPicker_check");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user