[PE] For Bug 52613
This commit is contained in:
parent
40d55acd90
commit
ccec3e5a4b
|
@ -335,7 +335,6 @@ define([ 'text!common/main/lib/template/AutoCorrectDialog.template',
|
||||||
Common.Utils.InternalSettings.set(me.appPrefix + "settings-autoformat-double-space", checked);
|
Common.Utils.InternalSettings.set(me.appPrefix + "settings-autoformat-double-space", checked);
|
||||||
me.api.asc_SetAutoCorrectDoubleSpaceWithPeriod(checked);
|
me.api.asc_SetAutoCorrectDoubleSpaceWithPeriod(checked);
|
||||||
});
|
});
|
||||||
this.chDoubleSpaces.setVisible(this.appPrefix=='de-');
|
|
||||||
// AutoCorrect
|
// AutoCorrect
|
||||||
this.chFLSentence = new Common.UI.CheckBox({
|
this.chFLSentence = new Common.UI.CheckBox({
|
||||||
el: $window.find('#id-autocorrect-dialog-chk-fl-sentence'),
|
el: $window.find('#id-autocorrect-dialog-chk-fl-sentence'),
|
||||||
|
|
|
@ -2271,6 +2271,10 @@ define([
|
||||||
value = Common.localStorage.getBool("pe-settings-autoformat-fl-cells", true);
|
value = Common.localStorage.getBool("pe-settings-autoformat-fl-cells", true);
|
||||||
Common.Utils.InternalSettings.set("pe-settings-autoformat-fl-cells", value);
|
Common.Utils.InternalSettings.set("pe-settings-autoformat-fl-cells", value);
|
||||||
me.api.asc_SetAutoCorrectFirstLetterOfCells && me.api.asc_SetAutoCorrectFirstLetterOfCells(value);
|
me.api.asc_SetAutoCorrectFirstLetterOfCells && me.api.asc_SetAutoCorrectFirstLetterOfCells(value);
|
||||||
|
|
||||||
|
value = Common.localStorage.getBool("pe-settings-autoformat-double-space", Common.Utils.isMac); // add period with double-space in MacOs by default
|
||||||
|
Common.Utils.InternalSettings.set("pe-settings-autoformat-double-space", value);
|
||||||
|
me.api.asc_SetAutoCorrectDoubleSpaceWithPeriod(value);
|
||||||
},
|
},
|
||||||
|
|
||||||
showRenameUserDialog: function() {
|
showRenameUserDialog: function() {
|
||||||
|
|
|
@ -316,6 +316,7 @@
|
||||||
"Common.Views.AutoCorrectDialog.warnReplace": "The autocorrect entry for %1 already exists. Do you want to replace it?",
|
"Common.Views.AutoCorrectDialog.warnReplace": "The autocorrect entry for %1 already exists. Do you want to replace it?",
|
||||||
"Common.Views.AutoCorrectDialog.warnReset": "Any autocorrect you added will be removed and the changed ones will be restored to their original values. Do you want to continue?",
|
"Common.Views.AutoCorrectDialog.warnReset": "Any autocorrect you added will be removed and the changed ones will be restored to their original values. Do you want to continue?",
|
||||||
"Common.Views.AutoCorrectDialog.warnRestore": "The autocorrect entry for %1 will be reset to its original value. Do you want to continue?",
|
"Common.Views.AutoCorrectDialog.warnRestore": "The autocorrect entry for %1 will be reset to its original value. Do you want to continue?",
|
||||||
|
"Common.Views.AutoCorrectDialog.textDoubleSpaces": "Add period with double-space",
|
||||||
"Common.Views.Chat.textSend": "Send",
|
"Common.Views.Chat.textSend": "Send",
|
||||||
"Common.Views.Comments.mniAuthorAsc": "Author A to Z",
|
"Common.Views.Comments.mniAuthorAsc": "Author A to Z",
|
||||||
"Common.Views.Comments.mniAuthorDesc": "Author Z to A",
|
"Common.Views.Comments.mniAuthorDesc": "Author Z to A",
|
||||||
|
|
Loading…
Reference in a new issue