File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,13 +80,13 @@ $fieldId = $field->getDomId();
8080 <div class="modal-inner-wrap" style="padding:20px;">
8181 <header class="modal-header">
8282 <h1 class="modal-title" data-role="title">
83- <?= $ escaper ->escapeHtml ($ modalTitle ) ?>
83+ <?= $ escaper ->escapeHtml (__ ( $ modalTitle) ) ?>
8484 </h1>
8585 <button
8686 @click="closeWrapper"
8787 class="action-close"
8888 type="button">
89- <span>Close</span>
89+ <span><?= __ ( ' Close ' ) ?> </span>
9090 </button>
9191
9292
@@ -101,12 +101,12 @@ $fieldId = $field->getDomId();
101101 type="text"
102102 :value="search"
103103 @keyup="setSearch"
104- placeholder="Search by keyword"
105- aria-label="Search by keyword"
104+ placeholder="<?= __ ( ' Search by keyword ' ) ?> "
105+ aria-label="<?= __ ( ' Search by keyword ' ) ?> "
106106 />
107107
108- <button class="action-submit" type="button" aria-label="Search">
109- <span>Search</span>
108+ <button class="action-submit" type="button" aria-label="<?= __ ( ' Search ' ) ?> ">
109+ <span><?= __ ( ' Search ' ) ?> </span>
110110 </button>
111111 </div>
112112 </div>
@@ -145,7 +145,7 @@ $fieldId = $field->getDomId();
145145 <template x-if="hasNoEntities">
146146 <tr class="data-row">
147147 <td class="data-grid-cell" colspan="<?= count ($ columns ) + 1 ?> ">
148- No items found
148+ <?= __ ( ' No items found ' ) ?>
149149 </td>
150150 </tr>
151151 </template>
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ $fieldId = $field->getDomId();
2727?>
2828<select
2929 id="<?= $ escaper ->escapeHtml ($ fieldId ) ?> "
30- aria-label="<?= $ escaper ->escapeHtml ($ field ->getLabel ()) ?> "
30+ aria-label="<?= $ escaper ->escapeHtml (__ ( $ field ->getLabel () )) ?> "
3131 class="admin__control-select"
3232 name="<?= $ escaper ->escapeHtml ($ field ->getCode ()) ?> "
3333 data-name="<?= $ escaper ->escapeHtml ($ field ->getCode ()) ?> "
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ $fieldId = $field->getDomId();
2525?>
2626<select
2727 id="<?= $ escaper ->escapeHtml ($ fieldId ) ?> "
28- aria-label="<?= $ escaper ->escapeHtml ($ field ->getLabel ()) ?> "
28+ aria-label="<?= $ escaper ->escapeHtml (__ ( $ field ->getLabel () )) ?> "
2929 class="admin__control-select"
3030 name="<?= $ escaper ->escapeHtml ($ field ->getCode ()) ?> "
3131 data-name="<?= $ escaper ->escapeHtml ($ field ->getCode ()) ?> "
Original file line number Diff line number Diff line change 11<div class="admin__action-dropdown-wrap admin__data-grid-action-bookmarks">
22 <button class="admin__action-dropdown" type="button" @click="toggleViewSelector">
3- <span class="admin__action-dropdown-text">Default View</span>
3+ <span class="admin__action-dropdown-text"><?= __ ( ' Default View ' ) ?> </span>
44 </button>
55 <ul class="admin__action-dropdown-menu" x-show="showViewSelector">
66 <li>
77 <div class="action-dropdown-menu-item">
8- <a class="action-dropdown-menu-link">Default View</a>
8+ <a class="action-dropdown-menu-link"><?= __ ( ' Default View ' ) ?> </a>
99 </div>
1010 </li>
1111
1212 <li class="action-dropdown-menu-action action-dropdown-menu-item-last" style="display: none;">
13- <a href="">Save View As...</a>
13+ <a href=""><?= __ ( ' Save View As... ' ) ?> </a>
1414 <div class="action-dropdown-menu-item-edit" style="display: none;">
15- <input id="new-view" class="admin__control-text" type="text" aria-label="New View">
15+ <input id="new-view" class="admin__control-text" type="text" aria-label="<?= __ ( ' New View ' ) ?> ">
1616 <div class="action-dropdown-menu-item-actions">
17- <button class="action-submit" type="button" title="Save all changes">
18- <span>Submit</span>
17+ <button class="action-submit" type="button" title="<?= __ ( ' Save all changes ' ) ?> ">
18+ <span><?= __ ( ' Submit ' ) ?> </span>
1919 </button>
2020 </div>
2121 </div>
You can’t perform that action at this time.
0 commit comments