You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ha...@apache.org on 2026/07/02 17:44:32 UTC
(superset) branch master updated: feat(i18n): wrap description strings in translation function (#41626)
This is an automated email from the ASF dual-hosted git repository.
hainenber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 4c193d4dbce feat(i18n): wrap description strings in translation function (#41626)
4c193d4dbce is described below
commit 4c193d4dbce35b085281b9fcacfbd3f0f5d523e2
Author: Imad Helal <ih...@synaltic.fr>
AuthorDate: Thu Jul 2 19:44:25 2026 +0200
feat(i18n): wrap description strings in translation function (#41626)
---
.../plugins/plugin-chart-cartodiagram/src/plugin/index.ts | 3 ++-
.../src/BigNumber/BigNumberPeriodOverPeriod/index.ts | 3 ++-
superset-frontend/src/pages/SavedQueryList/index.tsx | 3 ++-
superset-frontend/src/pages/Tags/index.tsx | 3 ++-
4 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/superset-frontend/plugins/plugin-chart-cartodiagram/src/plugin/index.ts b/superset-frontend/plugins/plugin-chart-cartodiagram/src/plugin/index.ts
index 7bf99854318..6f3cd1ff429 100644
--- a/superset-frontend/plugins/plugin-chart-cartodiagram/src/plugin/index.ts
+++ b/superset-frontend/plugins/plugin-chart-cartodiagram/src/plugin/index.ts
@@ -33,8 +33,9 @@ import { getLayerConfig } from '../util/controlPanelUtil';
export default class CartodiagramPlugin extends ChartPlugin {
constructor(opts: CartodiagramPluginConstructorOpts) {
const metadata = new ChartMetadata({
- description:
+ description: t(
'Display charts on a map. For using this plugin, users first have to create any other chart that can then be placed on the map.',
+ ),
name: t('Cartodiagram'),
thumbnail,
thumbnailDark,
diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberPeriodOverPeriod/index.ts b/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberPeriodOverPeriod/index.ts
index 77872ac1bc6..fc4555c554d 100644
--- a/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberPeriodOverPeriod/index.ts
+++ b/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberPeriodOverPeriod/index.ts
@@ -28,8 +28,9 @@ export default class PopKPIPlugin extends ChartPlugin {
constructor() {
const metadata = new ChartMetadata({
category: t('KPI'),
- description:
+ description: t(
'Showcases a metric along with a comparison of value, change, and percent change for a selected time period.',
+ ),
name: t('Big Number with Time Period Comparison'),
tags: [
t('Comparison'),
diff --git a/superset-frontend/src/pages/SavedQueryList/index.tsx b/superset-frontend/src/pages/SavedQueryList/index.tsx
index c390c5f3001..8fad1202eb8 100644
--- a/superset-frontend/src/pages/SavedQueryList/index.tsx
+++ b/superset-frontend/src/pages/SavedQueryList/index.tsx
@@ -541,8 +541,9 @@ function SavedQueryList({
key: 'search',
input: 'search',
operator: FilterOperator.AllText,
- toolTipDescription:
+ toolTipDescription: t(
'Searches all text fields: Name, Description, Database & Schema',
+ ),
},
{
Header: t('Database'),
diff --git a/superset-frontend/src/pages/Tags/index.tsx b/superset-frontend/src/pages/Tags/index.tsx
index 9527f4808ca..fd791c5d3ca 100644
--- a/superset-frontend/src/pages/Tags/index.tsx
+++ b/superset-frontend/src/pages/Tags/index.tsx
@@ -133,8 +133,9 @@ function TagList(props: TagListProps) {
const emptyState = {
title: t('No Tags created'),
image: 'dashboard.svg',
- description:
+ description: t(
'Create a new tag and assign it to existing entities like charts or dashboards',
+ ),
buttonAction: () => setShowTagModal(true),
buttonIcon: <Icons.PlusOutlined iconSize="m" data-test="add-rule-empty" />,
buttonText: t('Create a new Tag'),