From eb84d1426a0ee12247531134e1da49e8f8b699d8 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 29 Mar 2021 12:04:02 +0300 Subject: [PATCH] For Bug 49257 --- apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js | 4 ++-- apps/documenteditor/main/locale/en.json | 2 +- .../main/app/view/HyperlinkSettingsDialog.js | 4 ++-- apps/presentationeditor/main/locale/en.json | 2 +- .../main/app/view/HyperlinkSettingsDialog.js | 4 ++-- apps/spreadsheeteditor/main/locale/en.json | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js b/apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js index 9a0995d92..4ad958c2f 100644 --- a/apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js +++ b/apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js @@ -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 || {})) }); \ No newline at end of file diff --git a/apps/documenteditor/main/locale/en.json b/apps/documenteditor/main/locale/en.json index cc0245ee8..38ff92e7f 100644 --- a/apps/documenteditor/main/locale/en.json +++ b/apps/documenteditor/main/locale/en.json @@ -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", diff --git a/apps/presentationeditor/main/app/view/HyperlinkSettingsDialog.js b/apps/presentationeditor/main/app/view/HyperlinkSettingsDialog.js index 50f70148f..fe6233f80 100644 --- a/apps/presentationeditor/main/app/view/HyperlinkSettingsDialog.js +++ b/apps/presentationeditor/main/app/view/HyperlinkSettingsDialog.js @@ -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 || {})) }); \ No newline at end of file diff --git a/apps/presentationeditor/main/locale/en.json b/apps/presentationeditor/main/locale/en.json index 88aff64ca..f25eeddf0 100644 --- a/apps/presentationeditor/main/locale/en.json +++ b/apps/presentationeditor/main/locale/en.json @@ -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", diff --git a/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js b/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js index 9c1396770..3cd375ee4 100644 --- a/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js +++ b/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js @@ -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 || {})) }); \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/en.json b/apps/spreadsheeteditor/main/locale/en.json index 4b33eae30..2a1c9719d 100644 --- a/apps/spreadsheeteditor/main/locale/en.json +++ b/apps/spreadsheeteditor/main/locale/en.json @@ -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",