mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix(ChartCreation): Translate chart description (#34918)
This commit is contained in:
committed by
GitHub
parent
71242dc6dd
commit
5dba59b6a4
@@ -428,7 +428,7 @@ const Selector: FC<{
|
||||
role="tab"
|
||||
>
|
||||
{icon}
|
||||
{selector}
|
||||
{t(selector)}
|
||||
</SelectorLabel>
|
||||
);
|
||||
};
|
||||
@@ -814,8 +814,9 @@ export default function VizTypeGallery(props: VizTypeGalleryProps) {
|
||||
))}
|
||||
</TagsWrapper>
|
||||
<Description>
|
||||
{selectedVizMetadata?.description ||
|
||||
t('No description available.')}
|
||||
{t(
|
||||
selectedVizMetadata?.description || 'No description available.',
|
||||
)}
|
||||
</Description>
|
||||
<SectionTitle
|
||||
css={css`
|
||||
|
||||
Reference in New Issue
Block a user