Merge pull request #765 from ONLYOFFICE/fix/bug-49257

For Bug 49257
This commit is contained in:
Julia Radzhabova 2021-03-29 12:08:23 +03:00 committed by GitHub
commit 6ac5a3372b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 9 deletions

View file

@ -133,7 +133,7 @@ define([
validateOnBlur: false,
validation : function(value) {
var trimmed = $.trim(value);
if (trimmed.length>2084) return me.txtSizeLimit;
if (trimmed.length>2083) return me.txtSizeLimit;
var urltype = me.api.asc_getUrlType(trimmed);
me.isEmail = (urltype==2);
@ -459,6 +459,6 @@ define([
txtBeginning: 'Beginning of document',
txtHeadings: 'Headings',
txtBookmarks: 'Bookmarks',
txtSizeLimit: 'This field is limited to 2084 characters'
txtSizeLimit: 'This field is limited to 2083 characters'
}, DE.Views.HyperlinkSettingsDialog || {}))
});

View file

@ -1808,7 +1808,7 @@
"DE.Views.HyperlinkSettingsDialog.txtEmpty": "This field is required",
"DE.Views.HyperlinkSettingsDialog.txtHeadings": "Headings",
"DE.Views.HyperlinkSettingsDialog.txtNotUrl": "This field should be a URL in the \"http://www.example.com\" format",
"DE.Views.HyperlinkSettingsDialog.txtSizeLimit": "This field is limited to 2084 characters",
"DE.Views.HyperlinkSettingsDialog.txtSizeLimit": "This field is limited to 2083 characters",
"DE.Views.ImageSettings.textAdvanced": "Show advanced settings",
"DE.Views.ImageSettings.textCrop": "Crop",
"DE.Views.ImageSettings.textCropFill": "Fill",

View file

@ -135,7 +135,7 @@ define([
style : 'width: 100%;',
validation : function(value) {
var trimmed = $.trim(value);
if (trimmed.length>2084) return me.txtSizeLimit;
if (trimmed.length>2083) return me.txtSizeLimit;
var urltype = me.api.asc_getUrlType(trimmed);
me.isEmail = (urltype==2);
@ -441,6 +441,6 @@ define([
txtLast: 'Last Slide',
textDefault: 'Selected text',
textSlides: 'Slides',
txtSizeLimit: 'This field is limited to 2084 characters'
txtSizeLimit: 'This field is limited to 2083 characters'
}, PE.Views.HyperlinkSettingsDialog || {}))
});

View file

@ -1388,7 +1388,7 @@
"PE.Views.HyperlinkSettingsDialog.txtNext": "Next Slide",
"PE.Views.HyperlinkSettingsDialog.txtNotUrl": "This field should be a URL in the \"http://www.example.com\" format",
"PE.Views.HyperlinkSettingsDialog.txtPrev": "Previous Slide",
"PE.Views.HyperlinkSettingsDialog.txtSizeLimit": "This field is limited to 2084 characters",
"PE.Views.HyperlinkSettingsDialog.txtSizeLimit": "This field is limited to 2083 characters",
"PE.Views.HyperlinkSettingsDialog.txtSlide": "Slide",
"PE.Views.ImageSettings.textAdvanced": "Show advanced settings",
"PE.Views.ImageSettings.textCrop": "Crop",

View file

@ -142,7 +142,7 @@ define([
style : 'width: 100%;',
validation : function(value) {
var trimmed = $.trim(value);
if (trimmed.length>2084) return me.txtSizeLimit;
if (trimmed.length>2083) return me.txtSizeLimit;
var urltype = me.api.asc_getUrlType(trimmed);
me.isEmail = (urltype==2);
@ -565,6 +565,6 @@ define([
textGetLink: 'Get Link',
textCopy: 'Copy',
textSelectData: 'Select data',
txtSizeLimit: 'This field is limited to 2084 characters'
txtSizeLimit: 'This field is limited to 2083 characters'
}, SSE.Views.HyperlinkSettingsDialog || {}))
});

View file

@ -2076,7 +2076,7 @@
"SSE.Views.HyperlinkSettingsDialog.textTitle": "Hyperlink Settings",
"SSE.Views.HyperlinkSettingsDialog.txtEmpty": "This field is required",
"SSE.Views.HyperlinkSettingsDialog.txtNotUrl": "This field should be a URL in the \"http://www.example.com\" format",
"SSE.Views.HyperlinkSettingsDialog.txtSizeLimit": "This field is limited to 2084 characters",
"SSE.Views.HyperlinkSettingsDialog.txtSizeLimit": "This field is limited to 2083 characters",
"SSE.Views.ImageSettings.textAdvanced": "Show advanced settings",
"SSE.Views.ImageSettings.textCrop": "Crop",
"SSE.Views.ImageSettings.textCropFill": "Fill",