File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ const emit = defineEmits<{
2828
2929/**
3030 * Number of cells in the actions row, matching the column count of the app
31- * grid. Actions that do not fit move into the trailing "More actions " cell.
31+ * grid. Actions that do not fit move into the trailing "More" cell.
3232 */
3333const ACTIONS_PER_ROW = 4
3434
@@ -42,7 +42,7 @@ const overflowEntry: INavigationEntry = {
4242 href: ' ' ,
4343 icon: ' ' ,
4444 type: ' action' ,
45- name: t (' core' , ' More actions ' ),
45+ name: t (' core' , ' More' ),
4646 unread: 0 ,
4747}
4848
Original file line number Diff line number Diff line change @@ -592,15 +592,15 @@ describe('core: AppMenu navigation actions', () => {
592592 expect ( document . activeElement ) . toBe ( rowItems ( ) [ 0 ] )
593593 } )
594594
595- it ( 'moves the actions that do not fit into a "More actions " submenu' , async ( ) => {
595+ it ( 'moves the actions that do not fit into a "More" submenu' , async ( ) => {
596596 initialState . loadState . mockImplementation ( stateWith ( fakeApps ( ) , fakeActions ( 6 ) ) )
597597 const wrapper = mount ( AppMenu , { attachTo : document . body } )
598598 await openPopover ( wrapper )
599599
600600 const items = rowItems ( )
601601 // Three actions plus the trailing overflow item make up the single row.
602602 expect ( items ) . toHaveLength ( 4 )
603- expect ( items [ 3 ] . textContent ) . toContain ( 'More actions ' )
603+ expect ( items [ 3 ] . textContent ) . toContain ( 'More' )
604604 expect ( items [ 3 ] . getAttribute ( 'aria-haspopup' ) ) . toBe ( 'menu' )
605605 expect ( items [ 3 ] . getAttribute ( 'aria-expanded' ) ) . toBe ( 'false' )
606606 expect ( document . querySelector ( '.app-menu-actions__submenu' ) ) . toBeNull ( )
You can’t perform that action at this time.
0 commit comments