From 8d61730356ced3d778b56b301ca72116b45ed533 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 23 Mar 2022 15:22:14 +0300 Subject: [PATCH 1/2] [DE mobile] Fix Bug 56219 --- apps/documenteditor/mobile/src/controller/Main.jsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/apps/documenteditor/mobile/src/controller/Main.jsx b/apps/documenteditor/mobile/src/controller/Main.jsx index c9ba77dfeb..aa1f50825c 100644 --- a/apps/documenteditor/mobile/src/controller/Main.jsx +++ b/apps/documenteditor/mobile/src/controller/Main.jsx @@ -283,10 +283,18 @@ class MainController extends Component { .then ( result => { window["flat_desine"] = true; const {t} = this.props; + let _translate = t('Main.SDK', {returnObjects:true}); + for (let item in _translate) { + if (_translate.hasOwnProperty(item)) { + const str = _translate[item]; + if (item[item.length-1]===' ' && str[str.length-1]!==' ') + _translate[item] += ' '; + } + } this.api = new Asc.asc_docs_api({ 'id-view' : 'editor_sdk', 'mobile' : true, - 'translate': t('Main.SDK', {returnObjects:true}) + 'translate': _translate }); Common.Notifications.trigger('engineCreated', this.api); From 56a9304306e3c656fe3c126dfff5264fe14b6ddf Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 23 Mar 2022 15:22:53 +0300 Subject: [PATCH 2/2] [DE mobile] Fix Bug 56228 --- apps/documenteditor/mobile/locale/en.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/documenteditor/mobile/locale/en.json b/apps/documenteditor/mobile/locale/en.json index 52bb88ea4f..5c0e3ada9a 100644 --- a/apps/documenteditor/mobile/locale/en.json +++ b/apps/documenteditor/mobile/locale/en.json @@ -219,7 +219,7 @@ "textBefore": "Before", "textBehind": "Behind Text", "textBorder": "Border", - "textBringToForeground": "Bring to foreground", + "textBringToForeground": "Bring to Foreground", "textBullets": "Bullets", "textBulletsAndNumbers": "Bullets & Numbers", "textCellMargins": "Cell Margins",