@openui5/sap.ui.rta 1.101.0 → 1.103.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRDPARTY.txt +1 -1
- package/package.json +6 -6
- package/src/sap/ui/rta/.library +1 -1
- package/src/sap/ui/rta/Client.js +1 -1
- package/src/sap/ui/rta/RuntimeAuthoring.js +144 -93
- package/src/sap/ui/rta/Utils.js +1 -1
- package/src/sap/ui/rta/appVariant/AppVariantManager.js +1 -1
- package/src/sap/ui/rta/appVariant/AppVariantUtils.js +2 -2
- package/src/sap/ui/rta/appVariant/Feature.js +1 -1
- package/src/sap/ui/rta/appVariant/manageApps/webapp/controller/ManageApps.controller.js +0 -17
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n.properties +0 -4
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_ar.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_bg.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_ca.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_cs.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_cy.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_da.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_de.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_el.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_en.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_en_GB.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_en_US_sappsd.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_en_US_saprigi.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_en_US_saptrc.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_es.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_es_MX.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_et.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_fi.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_fr.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_fr_CA.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_hi.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_hr.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_hu.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_id.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_it.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_iw.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_ja.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_kk.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_ko.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_lt.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_lv.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_ms.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_nl.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_no.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_pl.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_pt.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_pt_PT.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_ro.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_ru.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_sh.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_sk.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_sl.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_sv.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_th.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_tr.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_uk.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_vi.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_zh_CN.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_zh_TW.properties +0 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/view/ManageApps.view.xml +0 -1
- package/src/sap/ui/rta/command/AddIFrame.js +1 -1
- package/src/sap/ui/rta/command/AddProperty.js +1 -1
- package/src/sap/ui/rta/command/AddXML.js +1 -1
- package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +1 -1
- package/src/sap/ui/rta/command/AppDescriptorCommand.js +2 -2
- package/src/sap/ui/rta/command/BaseCommand.js +1 -1
- package/src/sap/ui/rta/command/BindProperty.js +1 -1
- package/src/sap/ui/rta/command/Combine.js +1 -1
- package/src/sap/ui/rta/command/CommandFactory.js +5 -2
- package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantConfigure.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantSaveAs.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -1
- package/src/sap/ui/rta/command/CreateContainer.js +1 -1
- package/src/sap/ui/rta/command/CustomAdd.js +1 -1
- package/src/sap/ui/rta/command/FlexCommand.js +1 -1
- package/src/sap/ui/rta/command/LREPSerializer.js +3 -3
- package/src/sap/ui/rta/command/LocalReset.js +1 -1
- package/src/sap/ui/rta/command/Move.js +1 -1
- package/src/sap/ui/rta/command/Property.js +2 -2
- package/src/sap/ui/rta/command/Remove.js +1 -1
- package/src/sap/ui/rta/command/Rename.js +1 -1
- package/src/sap/ui/rta/command/Resize.js +1 -1
- package/src/sap/ui/rta/command/Reveal.js +1 -1
- package/src/sap/ui/rta/command/Settings.js +2 -2
- package/src/sap/ui/rta/command/Split.js +1 -1
- package/src/sap/ui/rta/command/Stack.js +1 -1
- package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +82 -0
- package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +7 -7
- package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +2 -2
- package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +2 -2
- package/src/sap/ui/rta/enablement/elementActionTest.js +1 -1
- package/src/sap/ui/rta/library.js +2 -2
- package/src/sap/ui/rta/messagebundle.properties +11 -1
- package/src/sap/ui/rta/messagebundle_ar.properties +5 -0
- package/src/sap/ui/rta/messagebundle_bg.properties +7 -2
- package/src/sap/ui/rta/messagebundle_ca.properties +5 -0
- package/src/sap/ui/rta/messagebundle_cs.properties +5 -0
- package/src/sap/ui/rta/messagebundle_cy.properties +5 -0
- package/src/sap/ui/rta/messagebundle_da.properties +5 -0
- package/src/sap/ui/rta/messagebundle_de.properties +5 -0
- package/src/sap/ui/rta/messagebundle_el.properties +5 -0
- package/src/sap/ui/rta/messagebundle_en.properties +5 -0
- package/src/sap/ui/rta/messagebundle_en_GB.properties +5 -0
- package/src/sap/ui/rta/messagebundle_en_US_sappsd.properties +5 -0
- package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +18 -11
- package/src/sap/ui/rta/messagebundle_en_US_saptrc.properties +5 -0
- package/src/sap/ui/rta/messagebundle_es.properties +5 -0
- package/src/sap/ui/rta/messagebundle_es_MX.properties +5 -0
- package/src/sap/ui/rta/messagebundle_et.properties +5 -0
- package/src/sap/ui/rta/messagebundle_fi.properties +5 -0
- package/src/sap/ui/rta/messagebundle_fr.properties +5 -0
- package/src/sap/ui/rta/messagebundle_fr_CA.properties +5 -0
- package/src/sap/ui/rta/messagebundle_hi.properties +5 -0
- package/src/sap/ui/rta/messagebundle_hr.properties +5 -0
- package/src/sap/ui/rta/messagebundle_hu.properties +5 -0
- package/src/sap/ui/rta/messagebundle_id.properties +5 -0
- package/src/sap/ui/rta/messagebundle_it.properties +5 -0
- package/src/sap/ui/rta/messagebundle_iw.properties +5 -0
- package/src/sap/ui/rta/messagebundle_ja.properties +5 -0
- package/src/sap/ui/rta/messagebundle_kk.properties +5 -0
- package/src/sap/ui/rta/messagebundle_ko.properties +5 -0
- package/src/sap/ui/rta/messagebundle_lt.properties +5 -0
- package/src/sap/ui/rta/messagebundle_lv.properties +5 -0
- package/src/sap/ui/rta/messagebundle_ms.properties +5 -0
- package/src/sap/ui/rta/messagebundle_nl.properties +5 -0
- package/src/sap/ui/rta/messagebundle_no.properties +5 -0
- package/src/sap/ui/rta/messagebundle_pl.properties +5 -0
- package/src/sap/ui/rta/messagebundle_pt.properties +5 -0
- package/src/sap/ui/rta/messagebundle_pt_PT.properties +5 -0
- package/src/sap/ui/rta/messagebundle_ro.properties +5 -0
- package/src/sap/ui/rta/messagebundle_ru.properties +5 -0
- package/src/sap/ui/rta/messagebundle_sh.properties +5 -0
- package/src/sap/ui/rta/messagebundle_sk.properties +5 -0
- package/src/sap/ui/rta/messagebundle_sl.properties +5 -0
- package/src/sap/ui/rta/messagebundle_sv.properties +5 -0
- package/src/sap/ui/rta/messagebundle_th.properties +5 -0
- package/src/sap/ui/rta/messagebundle_tr.properties +5 -0
- package/src/sap/ui/rta/messagebundle_uk.properties +5 -0
- package/src/sap/ui/rta/messagebundle_vi.properties +5 -0
- package/src/sap/ui/rta/messagebundle_zh_CN.properties +5 -0
- package/src/sap/ui/rta/messagebundle_zh_TW.properties +5 -0
- package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +1 -1
- package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
- package/src/sap/ui/rta/plugin/Combine.js +1 -1
- package/src/sap/ui/rta/plugin/CompVariant.js +85 -66
- package/src/sap/ui/rta/plugin/ControlVariant.js +1 -1
- package/src/sap/ui/rta/plugin/CreateContainer.js +1 -1
- package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
- package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
- package/src/sap/ui/rta/plugin/EasyAdd.js +1 -1
- package/src/sap/ui/rta/plugin/EasyRemove.js +1 -1
- package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
- package/src/sap/ui/rta/plugin/Plugin.js +1 -1
- package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
- package/src/sap/ui/rta/plugin/Remove.js +1 -1
- package/src/sap/ui/rta/plugin/Rename.js +1 -1
- package/src/sap/ui/rta/plugin/RenameHandler.js +3 -1
- package/src/sap/ui/rta/plugin/Resize.js +1 -1
- package/src/sap/ui/rta/plugin/Selection.js +1 -1
- package/src/sap/ui/rta/plugin/Settings.js +1 -1
- package/src/sap/ui/rta/plugin/Split.js +1 -1
- package/src/sap/ui/rta/plugin/Stretch.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsAnalyzer.js +20 -10
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
- package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +1 -1
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +1 -1
- package/src/sap/ui/rta/service/Action.js +1 -1
- package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
- package/src/sap/ui/rta/service/Outline.js +1 -1
- package/src/sap/ui/rta/service/Property.js +1 -1
- package/src/sap/ui/rta/service/Selection.js +1 -1
- package/src/sap/ui/rta/themes/base/AddIFrame.less +37 -29
- package/src/sap/ui/rta/themes/base/ChangeVisualization.less +65 -62
- package/src/sap/ui/rta/themes/base/ContextMenu.less +25 -0
- package/src/sap/ui/rta/themes/base/Dialogs.less +79 -0
- package/src/sap/ui/rta/themes/base/FieldRepository.less +14 -61
- package/src/sap/ui/rta/themes/base/Overlay.less +52 -104
- package/src/sap/ui/rta/themes/base/OverlayWithScrollbar.less +7 -1
- package/src/sap/ui/rta/themes/base/Toolbar.adaptation.less +178 -36
- package/src/sap/ui/rta/themes/base/Toolbar.base.less +23 -154
- package/src/sap/ui/rta/themes/base/Toolbar.fiori.less +2 -21
- package/src/sap/ui/rta/themes/base/Toolbar.personalization.less +3 -14
- package/src/sap/ui/rta/themes/base/Toolbar.standalone.less +0 -9
- package/src/sap/ui/rta/themes/base/library.source.less +2 -0
- package/src/sap/ui/rta/themes/sap_hcb/ChangeVisualization.less +7 -0
- package/src/sap/ui/rta/themes/sap_hcb/ContextMenu.less +5 -0
- package/src/sap/ui/rta/themes/sap_hcb/Dialogs.less +28 -0
- package/src/sap/ui/rta/themes/sap_hcb/FieldRepository.less +18 -0
- package/src/sap/ui/rta/themes/sap_hcb/Overlay.less +52 -12
- package/src/sap/ui/rta/themes/sap_hcb/Toolbar.adaptation.less +38 -0
- package/src/sap/ui/rta/themes/sap_hcb/Toolbar.base.less +14 -2
- package/src/sap/ui/rta/themes/sap_hcb/Toolbar.personalization.less +8 -2
- package/src/sap/ui/rta/themes/sap_hcb/library.source.less +5 -2
- package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +29 -14
- package/src/sap/ui/rta/toolbar/Adaptation.js +57 -242
- package/src/sap/ui/rta/toolbar/Base.js +5 -15
- package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
- package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
- package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
- package/src/sap/ui/rta/toolbar/Personalization.js +1 -1
- package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
- package/src/sap/ui/rta/toolbar/translation/DownloadTranslationDialog.fragment.xml +20 -17
- package/src/sap/ui/rta/toolbar/translation/Translation.js +105 -99
- package/src/sap/ui/rta/toolbar/translation/UploadTranslationDialog.fragment.xml +4 -2
- package/src/sap/ui/rta/toolbar/{VersionHistory.fragment.xml → versioning/VersionHistory.fragment.xml} +6 -4
- package/src/sap/ui/rta/toolbar/{VersionTitleDialog.fragment.xml → versioning/VersionTitleDialog.fragment.xml} +3 -2
- package/src/sap/ui/rta/toolbar/versioning/Versioning.js +271 -0
- package/src/sap/ui/rta/util/PluginManager.js +2 -2
- package/src/sap/ui/rta/util/PopupManager.js +1 -1
- package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
- package/src/sap/ui/rta/util/adaptationStarter.js +102 -80
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +9 -3
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorCategorySelection.fragment.xml +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorPopover.fragment.xml +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -6
- package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +24 -11
- package/src/sap/ui/rta/themes/sap_hcb/Toolbar.standalone.less +0 -9
|
@@ -5,32 +5,24 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
-
"sap/ui/core/format/DateFormat",
|
|
9
8
|
"sap/ui/core/Fragment",
|
|
10
|
-
"sap/ui/
|
|
11
|
-
"sap/ui/fl/library",
|
|
12
|
-
"sap/ui/rta/Utils",
|
|
9
|
+
"sap/ui/fl/write/api/Version",
|
|
13
10
|
"sap/ui/rta/toolbar/translation/Translation",
|
|
11
|
+
"sap/ui/rta/toolbar/versioning/Versioning",
|
|
14
12
|
"sap/ui/rta/appVariant/Feature",
|
|
15
13
|
"sap/ui/rta/toolbar/Base",
|
|
16
14
|
"sap/ui/Device"
|
|
17
|
-
],
|
|
18
|
-
function(
|
|
19
|
-
DateFormat,
|
|
15
|
+
], function(
|
|
20
16
|
Fragment,
|
|
21
|
-
|
|
22
|
-
flexLibrary,
|
|
23
|
-
Utils,
|
|
17
|
+
Version,
|
|
24
18
|
Translation,
|
|
19
|
+
Versioning,
|
|
25
20
|
AppVariantFeature,
|
|
26
21
|
Base,
|
|
27
22
|
Device
|
|
28
23
|
) {
|
|
29
24
|
"use strict";
|
|
30
25
|
|
|
31
|
-
var MessageType = coreLibrary.MessageType;
|
|
32
|
-
var Versions = flexLibrary.Versions;
|
|
33
|
-
|
|
34
26
|
/**
|
|
35
27
|
* Constructor for a new sap.ui.rta.toolbar.Adaptation control
|
|
36
28
|
*
|
|
@@ -39,7 +31,7 @@ function(
|
|
|
39
31
|
* @extends sap.ui.rta.toolbar.Base
|
|
40
32
|
*
|
|
41
33
|
* @author SAP SE
|
|
42
|
-
* @version 1.
|
|
34
|
+
* @version 1.103.0
|
|
43
35
|
*
|
|
44
36
|
* @constructor
|
|
45
37
|
* @private
|
|
@@ -62,6 +54,7 @@ function(
|
|
|
62
54
|
save: {},
|
|
63
55
|
restore: {},
|
|
64
56
|
transport: {},
|
|
57
|
+
publishVersion: {},
|
|
65
58
|
modeChange: {},
|
|
66
59
|
activate: {},
|
|
67
60
|
discardDraft: {},
|
|
@@ -79,21 +72,13 @@ function(
|
|
|
79
72
|
|
|
80
73
|
var DEVICE_SET = "sapUiRtaToolbar";
|
|
81
74
|
|
|
82
|
-
var DRAFT_ACCENT_COLOR = "sapUiRtaDraftVersionAccent";
|
|
83
|
-
var ACTIVE_ACCENT_COLOR = "sapUiRtaActiveVersionAccent";
|
|
84
|
-
|
|
85
75
|
Adaptation.prototype.init = function() {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
Device.media.initRangeSet(DEVICE_SET, [900, 1200], "px", [Adaptation.modes.MOBILE, Adaptation.modes.TABLET, Adaptation.modes.DESKTOP]);
|
|
93
|
-
}
|
|
94
|
-
this._onSizeChanged(Device.media.getCurrentRange(DEVICE_SET));
|
|
95
|
-
|
|
96
|
-
Base.prototype.onBeforeRendering.apply(this, arguments);
|
|
76
|
+
this._pFragmentLoaded = Base.prototype.init.apply(this, arguments).then(function() {
|
|
77
|
+
if (!Device.media.hasRangeSet(DEVICE_SET)) {
|
|
78
|
+
Device.media.initRangeSet(DEVICE_SET, [900, 1200], "px", [Adaptation.modes.MOBILE, Adaptation.modes.TABLET, Adaptation.modes.DESKTOP]);
|
|
79
|
+
}
|
|
80
|
+
Device.media.attachHandler(this._onSizeChanged, this, DEVICE_SET);
|
|
81
|
+
}.bind(this));
|
|
97
82
|
};
|
|
98
83
|
|
|
99
84
|
Adaptation.prototype.onFragmentLoaded = function() {
|
|
@@ -105,6 +90,11 @@ function(
|
|
|
105
90
|
Base.prototype.exit.apply(this, arguments);
|
|
106
91
|
};
|
|
107
92
|
|
|
93
|
+
Adaptation.prototype.show = function() {
|
|
94
|
+
this._onSizeChanged(Device.media.getCurrentRange(DEVICE_SET), true);
|
|
95
|
+
return Base.prototype.show.apply(this, arguments);
|
|
96
|
+
};
|
|
97
|
+
|
|
108
98
|
function setButtonProperties(sButtonName, sIcon, sTextKey, sToolTipKey) {
|
|
109
99
|
var oButton = this.getControl(sButtonName);
|
|
110
100
|
var sText = sTextKey ? this.getTextResources().getText(sTextKey) : "";
|
|
@@ -114,150 +104,24 @@ function(
|
|
|
114
104
|
oButton.setIcon(sIcon || "");
|
|
115
105
|
}
|
|
116
106
|
|
|
117
|
-
Adaptation.prototype.
|
|
118
|
-
return
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
Adaptation.prototype.formatVersionButtonText = function (aVersions, sDisplayedVersion) {
|
|
122
|
-
var oTextResources = sap.ui.getCore().getLibraryResourceBundle("sap.ui.rta");
|
|
123
|
-
var sText = "";
|
|
124
|
-
var sType = "Active";
|
|
125
|
-
aVersions = aVersions || [];
|
|
126
|
-
|
|
127
|
-
if (sDisplayedVersion === undefined || sDisplayedVersion === Versions.Original) {
|
|
128
|
-
sText = oTextResources.getText("TIT_ORIGINAL_APP");
|
|
129
|
-
sType = "inactive";
|
|
130
|
-
if (aVersions.length === 0 || (aVersions.length === 1 && aVersions[0].type === "draft")) {
|
|
131
|
-
sType = "active";
|
|
132
|
-
}
|
|
133
|
-
} else {
|
|
134
|
-
var oDisplayedVersion = aVersions.find(function (oVersion) {
|
|
135
|
-
return oVersion.version === sDisplayedVersion;
|
|
136
|
-
});
|
|
137
|
-
if (oDisplayedVersion) {
|
|
138
|
-
sType = oDisplayedVersion.type;
|
|
139
|
-
if (sDisplayedVersion === Versions.Draft) {
|
|
140
|
-
sText = oTextResources.getText("TIT_DRAFT");
|
|
141
|
-
} else {
|
|
142
|
-
sText = oDisplayedVersion.title || oTextResources.getText("TIT_VERSION_1");
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
this.setVersionButtonAccentColor(sType);
|
|
148
|
-
return sText;
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
Adaptation.prototype.formatVersionTableVisibility = function (nVersionsLength) {
|
|
152
|
-
return nVersionsLength > 0;
|
|
153
|
-
};
|
|
154
|
-
|
|
155
|
-
Adaptation.prototype.formatVersionTitle = function (sTitle, sType) {
|
|
156
|
-
var oTextResources = sap.ui.getCore().getLibraryResourceBundle("sap.ui.rta");
|
|
157
|
-
|
|
158
|
-
if (sType === "draft") {
|
|
159
|
-
return oTextResources.getText("TIT_DRAFT");
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
return sTitle || oTextResources.getText("TIT_VERSION_1");
|
|
163
|
-
};
|
|
164
|
-
|
|
165
|
-
Adaptation.prototype.formatVersionTimeStamp = function (sTimeStamp) {
|
|
166
|
-
if (!sTimeStamp) {
|
|
167
|
-
// in case of "Original App" and "Draft" no timestamp is set
|
|
168
|
-
return "";
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
return DateFormat.getInstance({
|
|
172
|
-
format: "yMMMdjm"
|
|
173
|
-
}).format(new Date(sTimeStamp));
|
|
174
|
-
};
|
|
175
|
-
|
|
176
|
-
Adaptation.prototype.formatHighlight = function (sType) {
|
|
177
|
-
switch (sType) {
|
|
178
|
-
case "draft":
|
|
179
|
-
return MessageType.Warning;
|
|
180
|
-
case "active":
|
|
181
|
-
return MessageType.Success;
|
|
182
|
-
default:
|
|
183
|
-
return MessageType.None;
|
|
184
|
-
}
|
|
185
|
-
};
|
|
186
|
-
|
|
187
|
-
Adaptation.prototype.formatHighlightText = function (sType) {
|
|
188
|
-
var oTextResources = sap.ui.getCore().getLibraryResourceBundle("sap.ui.rta");
|
|
189
|
-
switch (sType) {
|
|
190
|
-
case "draft":
|
|
191
|
-
return oTextResources.getText("TIT_DRAFT");
|
|
192
|
-
case "active":
|
|
193
|
-
return oTextResources.getText("LBL_ACTIVE");
|
|
194
|
-
default:
|
|
195
|
-
return oTextResources.getText("LBL_INACTIVE");
|
|
196
|
-
}
|
|
197
|
-
};
|
|
198
|
-
|
|
199
|
-
function doesActiveVersionExists (aVersions) {
|
|
200
|
-
return aVersions.some(function (oVersion) {
|
|
201
|
-
return oVersion.type === "active";
|
|
202
|
-
});
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
Adaptation.prototype.formatOriginalAppHighlight = function (aVersions) {
|
|
206
|
-
return doesActiveVersionExists(aVersions) ? MessageType.None : MessageType.Success;
|
|
107
|
+
Adaptation.prototype.formatPublishVersionVisibility = function (bPublishVisible, bVersioningEnabled, sDisplayedVersion, sModeSwitcher) {
|
|
108
|
+
return this.getExtension("versioning", Versioning).formatPublishVersionVisibility(bPublishVisible, bVersioningEnabled, sDisplayedVersion, sModeSwitcher);
|
|
207
109
|
};
|
|
208
110
|
|
|
209
|
-
Adaptation.prototype.
|
|
210
|
-
|
|
211
|
-
return doesActiveVersionExists(aVersions) ? oTextResources.getText("LBL_INACTIVE") : oTextResources.getText("LBL_ACTIVE");
|
|
111
|
+
Adaptation.prototype.formatDiscardDraftVisible = function (sDisplayedVersion, bVersioningEnabled, sModeSwitcher) {
|
|
112
|
+
return this.getExtension("versioning", Versioning).formatDiscardDraftVisible(sDisplayedVersion, bVersioningEnabled, sModeSwitcher);
|
|
212
113
|
};
|
|
213
114
|
|
|
214
|
-
Adaptation.prototype.
|
|
215
|
-
|
|
216
|
-
var sVersion = Versions.Original;
|
|
217
|
-
|
|
218
|
-
if (oVersionsBindingContext) {
|
|
219
|
-
// the original Version does not have a version binding Context
|
|
220
|
-
sVersion = oVersionsBindingContext.getProperty("version");
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
this.fireEvent("switchVersion", {version: sVersion});
|
|
115
|
+
Adaptation.prototype.formatVersionButtonText = function (aVersions, sDisplayedVersion) {
|
|
116
|
+
return this.getExtension("versioning", Versioning).formatVersionButtonText(aVersions, sDisplayedVersion);
|
|
224
117
|
};
|
|
225
118
|
|
|
226
|
-
Adaptation.prototype.showVersionHistory = function
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
if (!this.oVersionDialogPromise) {
|
|
230
|
-
this.oVersionDialogPromise = Fragment.load({
|
|
231
|
-
name: "sap.ui.rta.toolbar.VersionHistory",
|
|
232
|
-
id: this.getId() + "_versionHistoryDialog",
|
|
233
|
-
controller: {
|
|
234
|
-
formatVersionTitle: this.formatVersionTitle.bind(this),
|
|
235
|
-
formatVersionTimeStamp: this.formatVersionTimeStamp.bind(this),
|
|
236
|
-
formatVersionTableVisibility: this.formatVersionTableVisibility.bind(this),
|
|
237
|
-
formatHighlight: this.formatHighlight.bind(this),
|
|
238
|
-
formatHighlightText: this.formatHighlightText.bind(this),
|
|
239
|
-
formatOriginalAppHighlight: this.formatOriginalAppHighlight.bind(this),
|
|
240
|
-
formatOriginalAppHighlightText: this.formatOriginalAppHighlightText.bind(this),
|
|
241
|
-
versionSelected: this.versionSelected.bind(this)
|
|
242
|
-
}
|
|
243
|
-
}).then(function (oVersionsDialog) {
|
|
244
|
-
oVersionButton.addDependent(oVersionsDialog);
|
|
245
|
-
return oVersionsDialog;
|
|
246
|
-
});
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
return this.oVersionDialogPromise.then(function (oVersionsDialog) {
|
|
250
|
-
if (!oVersionsDialog.isOpen()) {
|
|
251
|
-
oVersionsDialog.openBy(oVersionButton);
|
|
252
|
-
} else {
|
|
253
|
-
oVersionsDialog.close();
|
|
254
|
-
}
|
|
255
|
-
});
|
|
119
|
+
Adaptation.prototype.showVersionHistory = function(oEvent) {
|
|
120
|
+
return this.getExtension("versioning", Versioning).showVersionHistory(oEvent);
|
|
256
121
|
};
|
|
257
122
|
|
|
258
|
-
Adaptation.prototype.
|
|
259
|
-
|
|
260
|
-
return oTranslation.showTranslationPopover(oEvent, this);
|
|
123
|
+
Adaptation.prototype._openVersionTitleDialog = function (sDisplayedVersion) {
|
|
124
|
+
return this.getExtension("versioning", Versioning).openActivateVersionDialog(sDisplayedVersion);
|
|
261
125
|
};
|
|
262
126
|
|
|
263
127
|
Adaptation.prototype.showRestore = function (bVersioningEnabled) {
|
|
@@ -296,12 +160,8 @@ function(
|
|
|
296
160
|
this._showButtonText("exit", "BTN_EXIT");
|
|
297
161
|
};
|
|
298
162
|
|
|
299
|
-
Adaptation.prototype._onSizeChanged = function(mParams) {
|
|
300
|
-
if (
|
|
301
|
-
return Promise.resolve();
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
return this.onFragmentLoaded().then(function() {
|
|
163
|
+
Adaptation.prototype._onSizeChanged = function(mParams, bInitial) {
|
|
164
|
+
if (mParams) {
|
|
305
165
|
var sMode = mParams.name;
|
|
306
166
|
this.sMode = sMode;
|
|
307
167
|
|
|
@@ -311,18 +171,21 @@ function(
|
|
|
311
171
|
break;
|
|
312
172
|
case Adaptation.modes.TABLET:
|
|
313
173
|
case Adaptation.modes.DESKTOP:
|
|
314
|
-
this
|
|
174
|
+
// this is already defined in the view
|
|
175
|
+
if (!bInitial) {
|
|
176
|
+
this._switchToTexts();
|
|
177
|
+
}
|
|
315
178
|
break;
|
|
316
179
|
default:
|
|
317
180
|
// no default
|
|
318
181
|
}
|
|
319
|
-
}
|
|
182
|
+
}
|
|
320
183
|
};
|
|
321
184
|
|
|
322
185
|
/**
|
|
323
186
|
* Loads and creates the Fragment of the Toolbar
|
|
324
187
|
*
|
|
325
|
-
* @returns {sap.ui.core.Control[]} Returns the controls in a structure described above.
|
|
188
|
+
* @returns {Promise<sap.ui.core.Control[]>} Returns the controls in a structure described above.
|
|
326
189
|
*/
|
|
327
190
|
Adaptation.prototype.buildControls = function () {
|
|
328
191
|
return Fragment.load({
|
|
@@ -332,16 +195,20 @@ function(
|
|
|
332
195
|
activate: this._openVersionTitleDialog.bind(this),
|
|
333
196
|
discardDraft: this.eventHandler.bind(this, "DiscardDraft"),
|
|
334
197
|
formatDiscardDraftVisible: this.formatDiscardDraftVisible.bind(this),
|
|
198
|
+
formatPublishVersionVisibility: this.formatPublishVersionVisibility.bind(this),
|
|
335
199
|
modeChange: this.eventHandler.bind(this, "ModeChange"),
|
|
336
|
-
|
|
200
|
+
openDownloadTranslationDialog: onOpenDownloadTranslationDialog.bind(this),
|
|
201
|
+
openUploadTranslationDialog: onOpenUploadTranslationDialog.bind(this),
|
|
337
202
|
undo: this.eventHandler.bind(this, "Undo"),
|
|
338
203
|
redo: this.eventHandler.bind(this, "Redo"),
|
|
339
204
|
openChangeCategorySelectionPopover: this.eventHandler.bind(this, "OpenChangeCategorySelectionPopover"),
|
|
340
205
|
manageApps: onManageAppsPressed.bind(this),
|
|
341
206
|
appVariantOverview: onOverviewPressed.bind(this),
|
|
342
207
|
saveAs: onSaveAsPressed.bind(this),
|
|
208
|
+
formatSaveAsEnabled: formatSaveAsEnabled,
|
|
343
209
|
restore: this.eventHandler.bind(this, "Restore"),
|
|
344
210
|
publish: this.eventHandler.bind(this, "Transport"),
|
|
211
|
+
publishVersion: this.eventHandler.bind(this, "PublishVersion"),
|
|
345
212
|
exit: this.eventHandler.bind(this, "Exit"),
|
|
346
213
|
formatVersionButtonText: this.formatVersionButtonText.bind(this),
|
|
347
214
|
showVersionHistory: this.showVersionHistory.bind(this),
|
|
@@ -350,6 +217,22 @@ function(
|
|
|
350
217
|
});
|
|
351
218
|
};
|
|
352
219
|
|
|
220
|
+
function onOpenDownloadTranslationDialog() {
|
|
221
|
+
var mPropertyBag = {
|
|
222
|
+
layer: this.getRtaInformation().flexSettings.layer,
|
|
223
|
+
selector: this.getRtaInformation().rootControl
|
|
224
|
+
};
|
|
225
|
+
this.getExtension("translation", Translation).openDownloadTranslationDialog(mPropertyBag);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
function onOpenUploadTranslationDialog() {
|
|
229
|
+
this.getExtension("translation", Translation).openUploadTranslationDialog();
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
function formatSaveAsEnabled(bGeneralSaveAsEnabled, sDisplayedVersion) {
|
|
233
|
+
return bGeneralSaveAsEnabled && sDisplayedVersion !== Version.Number.Draft;
|
|
234
|
+
}
|
|
235
|
+
|
|
353
236
|
function onSaveAsPressed() {
|
|
354
237
|
AppVariantFeature.onSaveAs(true, true, this.getRtaInformation().flexSettings.layer, null);
|
|
355
238
|
}
|
|
@@ -364,77 +247,9 @@ function(
|
|
|
364
247
|
AppVariantFeature.onGetOverview(true, this.getRtaInformation().flexSettings.layer);
|
|
365
248
|
}
|
|
366
249
|
|
|
367
|
-
function resetDialog() {
|
|
368
|
-
this.getControl("versionTitleInput").setValue("");
|
|
369
|
-
this.getControl("confirmVersionTitleButton").setEnabled(false);
|
|
370
|
-
return Promise.resolve(this._oDialog);
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
function createDialog() {
|
|
374
|
-
return Fragment.load({
|
|
375
|
-
name: "sap.ui.rta.toolbar.VersionTitleDialog",
|
|
376
|
-
id: this.getId() + "_fragment",
|
|
377
|
-
controller: {
|
|
378
|
-
onConfirmVersioningDialog: function () {
|
|
379
|
-
var sVersionTitle = this.getControl("versionTitleInput").getValue();
|
|
380
|
-
this.fireEvent("activate", {versionTitle: sVersionTitle});
|
|
381
|
-
this._oDialog.close();
|
|
382
|
-
}.bind(this),
|
|
383
|
-
onCancelVersioningDialog: function () {
|
|
384
|
-
this._oDialog.close();
|
|
385
|
-
}.bind(this),
|
|
386
|
-
onVersionTitleLiveChange: function (oEvent) {
|
|
387
|
-
var sValue = oEvent.getParameter("value");
|
|
388
|
-
this.getControl("confirmVersionTitleButton").setEnabled(!!sValue);
|
|
389
|
-
}.bind(this)
|
|
390
|
-
}
|
|
391
|
-
}).then(function (oDialog) {
|
|
392
|
-
this._oDialog = oDialog;
|
|
393
|
-
oDialog.addStyleClass(Utils.getRtaStyleClassName());
|
|
394
|
-
this.addDependent(this._oDialog);
|
|
395
|
-
}.bind(this));
|
|
396
|
-
}
|
|
397
|
-
|
|
398
250
|
Adaptation.prototype.getControl = function(sName) {
|
|
399
251
|
return sap.ui.getCore().byId(this.getId() + "_fragment--sapUiRta_" + sName);
|
|
400
252
|
};
|
|
401
253
|
|
|
402
|
-
Adaptation.prototype._openVersionTitleDialog = function (sDisplayedVersion) {
|
|
403
|
-
var oDialogPromise;
|
|
404
|
-
|
|
405
|
-
if (this._oDialog) {
|
|
406
|
-
oDialogPromise = resetDialog.call(this);
|
|
407
|
-
} else {
|
|
408
|
-
oDialogPromise = createDialog.call(this);
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
return oDialogPromise.then(function () {
|
|
412
|
-
var oTextResources = sap.ui.getCore().getLibraryResourceBundle("sap.ui.rta");
|
|
413
|
-
var sTitle = oTextResources.getText("TIT_VERSION_TITLE_DIALOG");
|
|
414
|
-
if (sDisplayedVersion !== Versions.Draft) {
|
|
415
|
-
sTitle = oTextResources.getText("TIT_REACTIVATE_VERSION_TITLE_DIALOG");
|
|
416
|
-
}
|
|
417
|
-
this._oDialog.setTitle(sTitle);
|
|
418
|
-
return this._oDialog.open();
|
|
419
|
-
}.bind(this));
|
|
420
|
-
};
|
|
421
|
-
|
|
422
|
-
Adaptation.prototype.setVersionButtonAccentColor = function (sType) {
|
|
423
|
-
var oVersionButton = this.getControl("versionButton");
|
|
424
|
-
switch (sType) {
|
|
425
|
-
case "draft":
|
|
426
|
-
oVersionButton.addStyleClass(DRAFT_ACCENT_COLOR);
|
|
427
|
-
oVersionButton.removeStyleClass(ACTIVE_ACCENT_COLOR);
|
|
428
|
-
break;
|
|
429
|
-
case "active":
|
|
430
|
-
oVersionButton.addStyleClass(ACTIVE_ACCENT_COLOR);
|
|
431
|
-
oVersionButton.removeStyleClass(DRAFT_ACCENT_COLOR);
|
|
432
|
-
break;
|
|
433
|
-
default:
|
|
434
|
-
oVersionButton.removeStyleClass(ACTIVE_ACCENT_COLOR);
|
|
435
|
-
oVersionButton.removeStyleClass(DRAFT_ACCENT_COLOR);
|
|
436
|
-
}
|
|
437
|
-
};
|
|
438
|
-
|
|
439
254
|
return Adaptation;
|
|
440
255
|
});
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @extends sap.m.HBox
|
|
26
26
|
*
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.103.0
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @private
|
|
@@ -111,30 +111,20 @@ sap.ui.define([
|
|
|
111
111
|
};
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
|
-
* Adds an extension to the toolbar, if it is not already registered.
|
|
114
|
+
* Adds and returns an extension to the toolbar, if it is not already registered.
|
|
115
115
|
* The new extension gets created with the toolbar itself as property 'toolbar'.
|
|
116
116
|
*
|
|
117
117
|
* @param {string} sName - Name of the extension
|
|
118
118
|
* @param {sap.ui.base.ManagedObject} Extension - Extension Class to be instantiated
|
|
119
|
-
* @returns {sap.ui.base.ManagedObject} Returns the
|
|
119
|
+
* @returns {sap.ui.base.ManagedObject|undefined} Returns the extension or undefined if it does not exist
|
|
120
120
|
*/
|
|
121
|
-
Base.prototype.
|
|
121
|
+
Base.prototype.getExtension = function(sName, Extension) {
|
|
122
122
|
if (!Object.keys(this._oExtensions).includes(sName)) {
|
|
123
123
|
this._oExtensions[sName] = new Extension({toolbar: this});
|
|
124
124
|
}
|
|
125
125
|
return this._oExtensions[sName];
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
/**
|
|
129
|
-
* Returns the extension with the passed name
|
|
130
|
-
*
|
|
131
|
-
* @param {string} sName - Name of the extension
|
|
132
|
-
* @returns {sap.ui.base.ManagedObject|undefined} Returns the extension or undefined if it does not exist
|
|
133
|
-
*/
|
|
134
|
-
Base.prototype.getExtension = function(sName) {
|
|
135
|
-
return this._oExtensions[sName];
|
|
136
|
-
};
|
|
137
|
-
|
|
138
128
|
/**
|
|
139
129
|
* @override
|
|
140
130
|
*/
|
|
@@ -161,7 +151,7 @@ sap.ui.define([
|
|
|
161
151
|
/**
|
|
162
152
|
* Function provides controls which should be rendered into the Toolbar. Controls are going to be rendered
|
|
163
153
|
* in the same order as provided in returned array.
|
|
164
|
-
* @returns {
|
|
154
|
+
* @returns {Promise<sap.ui.core.Control[]>} A Promise that resolves with an array of controls
|
|
165
155
|
* @protected
|
|
166
156
|
*/
|
|
167
157
|
Base.prototype.buildControls = function () {
|
|
@@ -13,26 +13,28 @@
|
|
|
13
13
|
text="{i18n>MSG_DOWNLOAD_CHANGED_TEXTS}"
|
|
14
14
|
class="sapUiTinyMarginBottom">
|
|
15
15
|
</Label>
|
|
16
|
-
<
|
|
16
|
+
<MessageStrip
|
|
17
|
+
id="dirtyChangesExistsMessage"
|
|
18
|
+
text="{i18n>MSG_DOWNLOAD_CHANGED_TEXTS_DIRTY_CHANGES_EXIST}"
|
|
19
|
+
class="sapUiTinyMarginBottom"
|
|
20
|
+
visible="{translation>/translationRelevantDirtyChangesExist}">
|
|
21
|
+
</MessageStrip>
|
|
22
|
+
<Select
|
|
17
23
|
width="100%"
|
|
18
|
-
id="
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
value="{translation>/targetLanguage}"
|
|
30
|
-
placeholder="{i18n>TXT_TARGET_LANGUAGE}">
|
|
31
|
-
</Input>
|
|
32
|
-
</VBox>
|
|
24
|
+
id="selectedSourceLanguage"
|
|
25
|
+
items="{translation>/sourceLanguages}"
|
|
26
|
+
selectedKey="{translation>/sourceLanguage}">
|
|
27
|
+
<core:Item key="{translation>}" text="{translation>}"/>
|
|
28
|
+
</Select>
|
|
29
|
+
<Input
|
|
30
|
+
width="100%"
|
|
31
|
+
id="selectedTargetLanguage"
|
|
32
|
+
value="{translation>/targetLanguage}"
|
|
33
|
+
placeholder="{i18n>TXT_TARGET_LANGUAGE}">
|
|
34
|
+
</Input>
|
|
33
35
|
<beginButton>
|
|
34
36
|
<Button
|
|
35
|
-
id="
|
|
37
|
+
id="downloadTranslation"
|
|
36
38
|
text="{i18n>BTN_DOWNLOAD_CHANGED_TEXTS}"
|
|
37
39
|
type="Emphasized"
|
|
38
40
|
icon="sap-icon://download"
|
|
@@ -41,6 +43,7 @@
|
|
|
41
43
|
</beginButton>
|
|
42
44
|
<endButton>
|
|
43
45
|
<Button
|
|
46
|
+
id="cancelDownloadTranslation"
|
|
44
47
|
text="{i18n>BUT_DOWNLOAD_CHANGED_TEXTS_CANCEL}"
|
|
45
48
|
press=".onCancelDownloadDialog" />
|
|
46
49
|
</endButton>
|