@@ -13,8 +13,6 @@ import { enrichEventWithDetails, useI18nBundle, useStylesheet, useSyncRef } from
1313import { clsx } from 'clsx' ;
1414import type { ReactNode } from 'react' ;
1515import { forwardRef , useEffect , useState } from 'react' ;
16- // todo: remove comment once translations are available
17- // eslint-disable-next-line @typescript-eslint/no-unused-vars
1816import { CANCEL , CLEAR , SEARCH , SELECT , SELECTED , SELECTED_ITEMS } from '../../i18n/i18n-defaults.js' ;
1917import { Button , Dialog , FlexBox , FlexBoxAlignItems , Icon , Input , List , Text , Title } from '../../index.js' ;
2018import type { Ui5CustomEvent } from '../../types/index.js' ;
@@ -244,9 +242,7 @@ const SelectDialog = forwardRef<DialogDomRef, SelectDialogPropTypes>((props, ref
244242 if ( selectionMode === ListSelectionMode . Multiple ) {
245243 setSelectedItems ( selectedItems ) ;
246244 if ( selectedItems . length ) {
247- announce ( 'Selected Items ' + selectedItems . length , InvisibleMessageMode . Polite ) ;
248- //todo: uncomment this, once translations are available
249- // announce(i18nBundle.getText(SELECTED_ITEMS, selectedItems.length), InvisibleMessageMode.Polite);
245+ announce ( i18nBundle . getText ( SELECTED_ITEMS , selectedItems . length ) , InvisibleMessageMode . Polite ) ;
250246 }
251247 } else {
252248 if ( typeof onConfirm === 'function' ) {
0 commit comments