diff --git a/libs/core-ui/src/lib/Cohort/CohortList/CohortListPanel.tsx b/libs/core-ui/src/lib/Cohort/CohortList/CohortListPanel.tsx index e5faa62fb8..8fb658a319 100644 --- a/libs/core-ui/src/lib/Cohort/CohortList/CohortListPanel.tsx +++ b/libs/core-ui/src/lib/Cohort/CohortList/CohortListPanel.tsx @@ -2,6 +2,7 @@ // Licensed under the MIT License. import { IFocusTrapZoneProps, Panel } from "@fluentui/react"; +import { localization } from "@responsible-ai/localization"; import React from "react"; import { ErrorCohort } from "../ErrorCohort"; diff --git a/libs/dataset-explorer/src/lib/DataBalanceView/AggregateBalanceMeasuresTable.tsx b/libs/dataset-explorer/src/lib/DataBalanceView/AggregateBalanceMeasuresTable.tsx index 5183d2764d..84ca56e062 100644 --- a/libs/dataset-explorer/src/lib/DataBalanceView/AggregateBalanceMeasuresTable.tsx +++ b/libs/dataset-explorer/src/lib/DataBalanceView/AggregateBalanceMeasuresTable.tsx @@ -110,8 +110,14 @@ export class AggregateBalanceMeasuresTable extends React.PureComponent diff --git a/libs/interpret-vision/src/lib/VisionExplanationDashboard/Controls/CohortToolBar.tsx b/libs/interpret-vision/src/lib/VisionExplanationDashboard/Controls/CohortToolBar.tsx index bed56e8a49..5f5d47f3c7 100644 --- a/libs/interpret-vision/src/lib/VisionExplanationDashboard/Controls/CohortToolBar.tsx +++ b/libs/interpret-vision/src/lib/VisionExplanationDashboard/Controls/CohortToolBar.tsx @@ -131,12 +131,20 @@ export class CohortToolBar extends React.Component< diff --git a/libs/interpret-vision/src/lib/VisionExplanationDashboard/Controls/TableList.tsx b/libs/interpret-vision/src/lib/VisionExplanationDashboard/Controls/TableList.tsx index 7411979f55..0d548e84e0 100644 --- a/libs/interpret-vision/src/lib/VisionExplanationDashboard/Controls/TableList.tsx +++ b/libs/interpret-vision/src/lib/VisionExplanationDashboard/Controls/TableList.tsx @@ -163,7 +163,9 @@ export class TableList extends React.Component< selection={this._selection} setKey="set" onItemInvoked={this.props.selectItem} - ariaLabel={localization.InterpretVision.Dashboard.tableListAriaLabel} + ariaLabel={ + localization.InterpretVision.Dashboard.tableListAriaLabel + } /> diff --git a/libs/interpret-vision/src/lib/VisionExplanationDashboard/VisionExplanationDashboardCommon.tsx b/libs/interpret-vision/src/lib/VisionExplanationDashboard/VisionExplanationDashboardCommon.tsx index 1c3fe3faf9..522e274fcc 100644 --- a/libs/interpret-vision/src/lib/VisionExplanationDashboard/VisionExplanationDashboardCommon.tsx +++ b/libs/interpret-vision/src/lib/VisionExplanationDashboard/VisionExplanationDashboardCommon.tsx @@ -71,7 +71,9 @@ export class VisionExplanationDashboardCommon extends React.Component< min={20} id="dataExplorerThumbnailSize" className={this.props.classNames.slider} - ariaLabel={localization.InterpretVision.Dashboard.thumbnailSizeAriaLabel} + ariaLabel={ + localization.InterpretVision.Dashboard.thumbnailSizeAriaLabel + } label={localization.InterpretVision.Dashboard.thumbnailSize} defaultValue={50} showValue={false} diff --git a/libs/model-assessment/src/lib/ModelAssessmentDashboard/Controls/ModelOverview/FeatureConfigurationFlyout.tsx b/libs/model-assessment/src/lib/ModelAssessmentDashboard/Controls/ModelOverview/FeatureConfigurationFlyout.tsx index b99cc44b57..1387aba44f 100644 --- a/libs/model-assessment/src/lib/ModelAssessmentDashboard/Controls/ModelOverview/FeatureConfigurationFlyout.tsx +++ b/libs/model-assessment/src/lib/ModelAssessmentDashboard/Controls/ModelOverview/FeatureConfigurationFlyout.tsx @@ -168,8 +168,14 @@ export class FeatureConfigurationFlyout extends React.Component< selectionMode={SelectionMode.multiple} selection={this._selection} checkboxVisibility={CheckboxVisibility.always} - ariaLabelForSelectAllCheckbox={localization.ModelAssessment.ModelOverview.featureConfiguration.selectAllRowsAriaLabel} - ariaLabel={localization.ModelAssessment.ModelOverview.featureConfiguration.featureSelectionAriaLabel} + ariaLabelForSelectAllCheckbox={ + localization.ModelAssessment.ModelOverview.featureConfiguration + .selectAllRowsAriaLabel + } + ariaLabel={ + localization.ModelAssessment.ModelOverview.featureConfiguration + .featureSelectionAriaLabel + } /> diff --git a/libs/model-assessment/src/lib/ModelAssessmentDashboard/Controls/ModelOverview/MetricConfigurationFlyout.tsx b/libs/model-assessment/src/lib/ModelAssessmentDashboard/Controls/ModelOverview/MetricConfigurationFlyout.tsx index fe4d331764..57ef1bfe8d 100644 --- a/libs/model-assessment/src/lib/ModelAssessmentDashboard/Controls/ModelOverview/MetricConfigurationFlyout.tsx +++ b/libs/model-assessment/src/lib/ModelAssessmentDashboard/Controls/ModelOverview/MetricConfigurationFlyout.tsx @@ -146,8 +146,14 @@ export class MetricConfigurationFlyout extends React.Component< selectionMode={SelectionMode.multiple} selection={this._selection} checkboxVisibility={CheckboxVisibility.always} - ariaLabelForSelectAllCheckbox={localization.ModelAssessment.ModelOverview.featureConfiguration.selectAllRowsAriaLabel} - ariaLabel={localization.ModelAssessment.ModelOverview.featureConfiguration.metricSelectionAriaLabel} + ariaLabelForSelectAllCheckbox={ + localization.ModelAssessment.ModelOverview.featureConfiguration + .selectAllRowsAriaLabel + } + ariaLabel={ + localization.ModelAssessment.ModelOverview.featureConfiguration + .metricSelectionAriaLabel + } /> diff --git a/libs/model-assessment/src/lib/ModelAssessmentDashboard/Controls/ModelOverview/ObjectDetectionModelOverview.tsx b/libs/model-assessment/src/lib/ModelAssessmentDashboard/Controls/ModelOverview/ObjectDetectionModelOverview.tsx index 0e017fd5ff..6b07373a3d 100644 --- a/libs/model-assessment/src/lib/ModelAssessmentDashboard/Controls/ModelOverview/ObjectDetectionModelOverview.tsx +++ b/libs/model-assessment/src/lib/ModelAssessmentDashboard/Controls/ModelOverview/ObjectDetectionModelOverview.tsx @@ -88,7 +88,10 @@ export class ObjectDetectionWidgets extends React.PureComponent