improve messages for template picker confirm
parent
1943c83f69
commit
306fec2d0e
|
@ -131,7 +131,9 @@ define(function () {
|
|||
out.saveTemplatePrompt = "Choose a title for the template";
|
||||
out.templateSaved = "Template saved!";
|
||||
out.selectTemplate = "Select a template or press escape";
|
||||
out.useTemplate = "You have available templates for that type of pad. Do you want to use one?";
|
||||
out.useTemplate = "Start with a template?"; //Would you like to "You have available templates for this type of pad. Do you want to use one?";
|
||||
out.useTemplateOK = 'Pick a template (Enter)';
|
||||
out.useTemplateCancel = 'Start fresh (Esc)';
|
||||
|
||||
out.previewButtonTitle = "Display or hide the Markdown preview mode";
|
||||
|
||||
|
|
|
@ -490,7 +490,10 @@ define([
|
|||
|
||||
sframeChan.query("Q_TEMPLATE_EXIST", type, function (err, data) {
|
||||
if (data) {
|
||||
Cryptpad.confirm(Messages.useTemplate, onConfirm);
|
||||
Cryptpad.confirm(Messages.useTemplate, onConfirm, {
|
||||
ok: Messages.useTemplateOK,
|
||||
cancel: Messages.useTemplateCancel,
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue