Skip to content

Commit 6c902b8

Browse files
committed
robotnits: Expand Collapse label
1 parent 6296489 commit 6c902b8

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/workbench/extensions/manager/components/ManagerProgressFooter.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,13 @@
4949
size="small"
5050
class="font-bold"
5151
severity="secondary"
52-
:aria-label="progressDialogContent.isExpanded ? 'Collapse' : 'Expand'"
52+
:aria-label="
53+
$t(
54+
progressDialogContent.isExpanded
55+
? 'contextMenu.Collapse'
56+
: 'contextMenu.Expand'
57+
)
58+
"
5359
@click.stop="progressDialogContent.toggle"
5460
/>
5561
<Button

tests-ui/tests/components/dialog/footer/ManagerProgressFooter.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ const mountComponent = (options: { captureError?: boolean } = {}) => {
7474
close: 'Close',
7575
progressCountOf: 'of'
7676
},
77+
contextMenu: {
78+
Collapse: 'Collapse',
79+
Expand: 'Expand'
80+
},
7781
manager: {
7882
clickToFinishSetup: 'Click',
7983
applyChanges: 'Apply Changes',

0 commit comments

Comments
 (0)