[SSE][SSE mobile] Add ConfirmReplaceFormulaInTable error
This commit is contained in:
parent
31fbcb86cf
commit
805452abc9
|
@ -2007,10 +2007,10 @@ define([
|
||||||
|
|
||||||
onConfirmAction: function(id, apiCallback) {
|
onConfirmAction: function(id, apiCallback) {
|
||||||
var me = this;
|
var me = this;
|
||||||
if (id == Asc.c_oAscConfirm.ConfirmReplaceRange) {
|
if (id == Asc.c_oAscConfirm.ConfirmReplaceRange || id == Asc.c_oAscConfirm.ConfirmReplaceFormulaInTable) {
|
||||||
Common.UI.warning({
|
Common.UI.warning({
|
||||||
title: this.notcriticalErrorTitle,
|
title: this.notcriticalErrorTitle,
|
||||||
msg: this.confirmMoveCellRange,
|
msg: id == Asc.c_oAscConfirm.ConfirmReplaceRange ? this.confirmMoveCellRange : this.confirmReplaceFormulaInTable,
|
||||||
buttons: ['yes', 'no'],
|
buttons: ['yes', 'no'],
|
||||||
primary: 'yes',
|
primary: 'yes',
|
||||||
callback: _.bind(function(btn) {
|
callback: _.bind(function(btn) {
|
||||||
|
@ -2951,7 +2951,8 @@ define([
|
||||||
textTryUndoRedoWarn: 'The Undo/Redo functions are disabled for the Fast co-editing mode.',
|
textTryUndoRedoWarn: 'The Undo/Redo functions are disabled for the Fast co-editing mode.',
|
||||||
errorPivotWithoutUnderlying: 'The Pivot Table report was saved without the underlying data.<br>Use the \'Refresh\' button to update the report.',
|
errorPivotWithoutUnderlying: 'The Pivot Table report was saved without the underlying data.<br>Use the \'Refresh\' button to update the report.',
|
||||||
txtQuarter: 'Qtr',
|
txtQuarter: 'Qtr',
|
||||||
txtOr: '%1 or %2'
|
txtOr: '%1 or %2',
|
||||||
|
confirmReplaceFormulaInTable: 'Formulas in the header row will be removed and converted to static text.<br>Do you want to continue?'
|
||||||
}
|
}
|
||||||
})(), SSE.Controllers.Main || {}))
|
})(), SSE.Controllers.Main || {}))
|
||||||
});
|
});
|
||||||
|
|
|
@ -599,6 +599,7 @@
|
||||||
"SSE.Controllers.LeftMenu.warnDownloadAs": "If you continue saving in this format all features except the text will be lost.<br>Are you sure you want to continue?",
|
"SSE.Controllers.LeftMenu.warnDownloadAs": "If you continue saving in this format all features except the text will be lost.<br>Are you sure you want to continue?",
|
||||||
"SSE.Controllers.Main.confirmMoveCellRange": "The destination cell range can contain data. Continue the operation?",
|
"SSE.Controllers.Main.confirmMoveCellRange": "The destination cell range can contain data. Continue the operation?",
|
||||||
"SSE.Controllers.Main.confirmPutMergeRange": "The source data contained merged cells.<br>They had been unmerged before they were pasted into the table.",
|
"SSE.Controllers.Main.confirmPutMergeRange": "The source data contained merged cells.<br>They had been unmerged before they were pasted into the table.",
|
||||||
|
"SSE.Controllers.Main.confirmReplaceFormulaInTable": "Formulas in the header row will be removed and converted to static text.<br>Do you want to continue?",
|
||||||
"SSE.Controllers.Main.convertationTimeoutText": "Conversion timeout exceeded.",
|
"SSE.Controllers.Main.convertationTimeoutText": "Conversion timeout exceeded.",
|
||||||
"SSE.Controllers.Main.criticalErrorExtText": "Press \"OK\" to return to document list.",
|
"SSE.Controllers.Main.criticalErrorExtText": "Press \"OK\" to return to document list.",
|
||||||
"SSE.Controllers.Main.criticalErrorTitle": "Error",
|
"SSE.Controllers.Main.criticalErrorTitle": "Error",
|
||||||
|
|
|
@ -95,7 +95,8 @@
|
||||||
"textOk": "Ok",
|
"textOk": "Ok",
|
||||||
"textNo": "No",
|
"textNo": "No",
|
||||||
"confirmMoveCellRange": "The destination cell`s range can contain data. Continue the operation?",
|
"confirmMoveCellRange": "The destination cell`s range can contain data. Continue the operation?",
|
||||||
"confirmPutMergeRange": "The source data contains merged cells.<br>They will be unmerged before they are pasted into the table."
|
"confirmPutMergeRange": "The source data contains merged cells.<br>They will be unmerged before they are pasted into the table.",
|
||||||
|
"confirmReplaceFormulaInTable": "Formulas in the header row will be removed and converted to static text.<br>Do you want to continue?"
|
||||||
},
|
},
|
||||||
"Error": {
|
"Error": {
|
||||||
"criticalErrorTitle": "Error",
|
"criticalErrorTitle": "Error",
|
||||||
|
|
|
@ -185,10 +185,10 @@ const LongActionsController = () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const onConfirmAction = (id, apiCallback) => {
|
const onConfirmAction = (id, apiCallback) => {
|
||||||
if (id === Asc.c_oAscConfirm.ConfirmReplaceRange) {
|
if (id === Asc.c_oAscConfirm.ConfirmReplaceRange || id === Asc.c_oAscConfirm.ConfirmReplaceFormulaInTable) {
|
||||||
f7.dialog.create({
|
f7.dialog.create({
|
||||||
title: _t.notcriticalErrorTitle,
|
title: _t.notcriticalErrorTitle,
|
||||||
text: _t.confirmMoveCellRange,
|
text: id == Asc.c_oAscConfirm.ConfirmReplaceRange ? _t.confirmMoveCellRange : _t.confirmReplaceFormulaInTable,
|
||||||
buttons: [
|
buttons: [
|
||||||
{text: _t.textYes,
|
{text: _t.textYes,
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
|
|
Loading…
Reference in a new issue