File tree Expand file tree Collapse file tree 6 files changed +7
-6
lines changed
app/code/Magento/Ui/view/base/web Expand file tree Collapse file tree 6 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ define([
18
18
return Element . extend ( {
19
19
defaults : {
20
20
template : 'ui/grid/search/search' ,
21
- placeholder : $t ( 'Search by keyword' ) ,
21
+ placeholder : 'Search by keyword' ,
22
22
label : $t ( 'Keyword' ) ,
23
23
value : '' ,
24
24
previews : [ ] ,
Original file line number Diff line number Diff line change 6
6
-->
7
7
< div class ="admin__action-dropdown-wrap admin__data-grid-action-bookmarks " collapsible >
8
8
< button class ="admin__action-dropdown " type ="button " toggleCollapsible >
9
- < span class ="admin__action-dropdown-text " text ="activeView.label "/>
9
+ < span class ="admin__action-dropdown-text " translate ="activeView.label "/>
10
10
</ button >
11
11
< ul class ="admin__action-dropdown-menu ">
12
12
< repeat args ="foreach: viewsArray, item: '$view' ">
Original file line number Diff line number Diff line change 30
30
</ div >
31
31
32
32
< div class ="action-dropdown-menu-item ">
33
- < a href ="" class ="action-dropdown-menu-link " text ="$view().label " click ="applyView.bind($data, $view().index) " closeCollapsible />
33
+ < a href ="" class ="action-dropdown-menu-link " translate ="$view().label " click ="applyView.bind($data, $view().index) " closeCollapsible />
34
34
35
35
< div class ="action-dropdown-menu-item-actions " if ="$view().editable ">
36
36
< button class ="action-edit " type ="button " attr ="title: $t('Edit bookmark') " click ="editView.bind($data, $view().index) ">
Original file line number Diff line number Diff line change 10
10
</ label >
11
11
< input class ="admin__control-text data-grid-search-control " type ="text "
12
12
data-bind ="
13
+ i18n: placeholder,
13
14
attr: {
14
15
id: index,
15
- placeholder: placeholder
16
+ placeholder: $t( placeholder)
16
17
},
17
18
textInput: inputValue,
18
19
keyboard: {
Original file line number Diff line number Diff line change 6
6
-->
7
7
< ul class ="action-submenu " each ="data: action.actions, as: 'action' " css ="_active: action.visible ">
8
8
< li css ="_visible: $data.visible ">
9
- < span class ="action-menu-item " text ="label " click ="$parent.applyAction.bind($parent, type) "/>
9
+ < span class ="action-menu-item " translate ="label " click ="$parent.applyAction.bind($parent, type) "/>
10
10
< render args ="name: $parent.submenuTemplate, data: $parent " if ="$data.actions "/>
11
11
</ li >
12
12
</ ul >
Original file line number Diff line number Diff line change 11
11
< div class ="action-menu-items ">
12
12
< ul class ="action-menu " each ="data: actions, as: 'action' " css ="_active: opened ">
13
13
< li css ="_visible: $data.visible, _parent: $data.actions ">
14
- < span class ="action-menu-item " text ="label " click ="$parent.applyAction.bind($parent, type) "/>
14
+ < span class ="action-menu-item " translate ="label " click ="$parent.applyAction.bind($parent, type) "/>
15
15
< render args ="name: $parent.submenuTemplate, data: $parent " if ="$data.actions "/>
16
16
</ li >
17
17
</ ul >
You can’t perform that action at this time.
0 commit comments