File tree 4 files changed +11
-2
lines changed
4 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ const metadata = {
73
73
74
74
/**
75
75
* By default there will be drag and drop overlay shown over the <code>ui5-upload-collection</code> when files
76
- * are dragged. If you don't intend to use drag and drop, set this property to <code>true</code>
76
+ * are dragged. If you don't intend to use drag and drop, set this property.
77
77
* <br><br>
78
78
* <b>Note:</b> It is up to the application developer to add handler for <code>drop</code> event and handle it.
79
79
* <code>ui5-upload-collection</code> only shows an overlay.
Original file line number Diff line number Diff line change 74
74
<ui5-button
75
75
id =" {{ _id }} -editing-button"
76
76
design =" Transparent"
77
+ title =" {{ _editButtonTooltip }} "
77
78
icon =" edit"
78
79
@click =" {{ onDetailClick }} "
79
80
@keyup =" {{ _onDetailKeyup }} "
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import {
22
22
UPLOADCOLLECTIONITEM_READY_STATE ,
23
23
UPLOADCOLLECTIONITEM_RETRY_BUTTON_TEXT ,
24
24
UPLOADCOLLECTIONITEM_TERMINATE_BUTTON_TEXT ,
25
+ UPLOADCOLLECTIONITEM_EDIT_BUTTON_TEXT ,
25
26
} from "./generated/i18n/i18n-defaults.js" ;
26
27
27
28
// Template
@@ -473,6 +474,10 @@ class UploadCollectionItem extends ListItem {
473
474
return this . i18nBundle . getText ( UPLOADCOLLECTIONITEM_TERMINATE_BUTTON_TEXT ) ;
474
475
}
475
476
477
+ get _editButtonTooltip ( ) {
478
+ return this . i18nBundle . getText ( UPLOADCOLLECTIONITEM_EDIT_BUTTON_TEXT ) ;
479
+ }
480
+
476
481
get valueStateName ( ) {
477
482
if ( this . uploadState === UploadState . Error ) {
478
483
return "Error" ;
Original file line number Diff line number Diff line change @@ -84,9 +84,12 @@ UPLOADCOLLECTIONITEM_UPLOADING_STATE=Uploading
84
84
# XBUT: Tooltip text for 'Terminate' button in the UploadCollectionItem
85
85
UPLOADCOLLECTIONITEM_TERMINATE_BUTTON_TEXT =Terminate
86
86
87
- # XBUT: Tooltip text for 'Retrry ' button in the UploadCollectionItem
87
+ # XBUT: Tooltip text for 'Retry ' button in the UploadCollectionItem
88
88
UPLOADCOLLECTIONITEM_RETRY_BUTTON_TEXT =Retry
89
89
90
+ # XBUT: Tooltip text for 'Edit' button in the UploadCollectionItem
91
+ UPLOADCOLLECTIONITEM_EDIT_BUTTON_TEXT =Edit
92
+
90
93
# XMSG: Message text for no data text in the UploadCollection
91
94
UPLOADCOLLECTION_NO_DATA_TEXT =No files found.
92
95
You can’t perform that action at this time.
0 commit comments