Add an option to never rename a file during the session
parent
31b31654ec
commit
af8aa25228
|
@ -201,6 +201,7 @@ define(function () {
|
|||
|
||||
out.cancel = "Annuler";
|
||||
out.cancelButton = 'Annuler (Échap)';
|
||||
out.doNotAskAgain = "Ne jamais renommer (Échap)";
|
||||
|
||||
out.historyText = "Historique";
|
||||
out.historyButton = "Afficher l'historique du document";
|
||||
|
|
|
@ -204,6 +204,7 @@ define(function () {
|
|||
|
||||
out.cancel = "Cancel";
|
||||
out.cancelButton = 'Cancel (esc)';
|
||||
out.doNotAskAgain = "Always keep existing name (Esc)";
|
||||
|
||||
out.historyText = "History";
|
||||
out.historyButton = "Display the document history";
|
||||
|
|
|
@ -231,7 +231,7 @@ define([
|
|||
var newExt = newExtIdx !== -1 ? newName.slice(newExtIdx) : "";
|
||||
if (newExt !== ext) { newName += ext; }
|
||||
cb(newName);
|
||||
}, null, true);
|
||||
}, {cancel: Messages.doNotAskAgain}, true);
|
||||
};
|
||||
var handleFileState = {
|
||||
queue: [],
|
||||
|
@ -259,6 +259,7 @@ define([
|
|||
if (handleFileState.queue.length) { handleFile(handleFileState.queue.shift()); }
|
||||
};
|
||||
var getName = function () {
|
||||
if (!showNamePrompt) { return void finish(); }
|
||||
promptName(file, function (newName) {
|
||||
name = newName;
|
||||
finish();
|
||||
|
|
Loading…
Reference in New Issue