diff --git a/frontend/src/metabase/query_builder/components/VisualizationResult.jsx b/frontend/src/metabase/query_builder/components/VisualizationResult.jsx index f9d8a61e46e9d97e4124b48050ae88efa6edc2aa..b44f1683f17b5f699163055cd3c08e80f646764d 100644 --- a/frontend/src/metabase/query_builder/components/VisualizationResult.jsx +++ b/frontend/src/metabase/query_builder/components/VisualizationResult.jsx @@ -62,7 +62,7 @@ export default class VisualizationResult extends Component { <div className={cx(className, "flex")}> <ErrorMessage type="noRows" - title="No results!" + title={t`No results!`} message={t`This may be the answer you’re looking for. If not, try removing or changing your filters to make them less specific.`} action={ <div> diff --git a/frontend/src/metabase/visualizations/visualizations/PieChart.jsx b/frontend/src/metabase/visualizations/visualizations/PieChart.jsx index 795ece48edc76803d82996ef6edb595bd79cf9a2..21b33852dfdb32a2649a0df47bd2dbdbdc83311d 100644 --- a/frontend/src/metabase/visualizations/visualizations/PieChart.jsx +++ b/frontend/src/metabase/visualizations/visualizations/PieChart.jsx @@ -268,7 +268,7 @@ export default class PieChart extends Component { others.length === 1 ? others[0] : { - key: "Other", + key: t`Other`, value: otherTotal, percentage: otherTotal / total, color: color("text-light"), @@ -352,7 +352,7 @@ export default class PieChart extends Component { showPercentInTooltip && slice.percentage != null ? [ { - key: "Percentage", + key: t`Percentage`, value: formatPercent(slice.percentage), }, ]