Skip to content

Commit

Permalink
fix: Rename legacy line and area charts (apache#28113)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-bodley authored May 2, 2024
1 parent 5331dc7 commit b4c4ab7
Show file tree
Hide file tree
Showing 39 changed files with 69 additions and 69 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('Charts filters', () => {
});

it('should allow filtering by "Type" correctly', () => {
setFilter('Type', 'Area Chart (legacy)');
setFilter('Type', 'Area Chart');
setFilter('Type', 'Bubble Chart');
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const metadata = new ChartMetadata({
{ url: example4, caption: t('Vehicle Types') },
],
label: ChartLabel.Deprecated,
name: t('Area Chart (legacy)'),
name: t('Time-series Area Chart (legacy)'),
supportedAnnotationTypes: [ANNOTATION_TYPES.INTERVAL, ANNOTATION_TYPES.EVENT],
tags: [
t('Comparison'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const metadata = new ChartMetadata({
{ url: battery, caption: t('Battery level over time') },
],
label: ChartLabel.Deprecated,
name: t('Line Chart (legacy)'),
name: t('Time-series Line Chart (legacy)'),
supportedAnnotationTypes: [
ANNOTATION_TYPES.TIME_SERIES,
ANNOTATION_TYPES.INTERVAL,
Expand Down
4 changes: 2 additions & 2 deletions superset/translations/ar/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@
"Are you sure you want to proceed?": [""],
"Are you sure you want to save and apply changes?": [""],
"Area Chart": [""],
"Area Chart (legacy)": [""],
"Time-series Area Chart (legacy)": [""],
"Area chart": [""],
"Area chart opacity": [""],
"Area charts are similar to line charts in that they represent variables with the same scale, but area charts stack the metrics on top of each other.": [
Expand Down Expand Up @@ -2156,7 +2156,7 @@
],
"Line": [""],
"Line Chart": [""],
"Line Chart (legacy)": [""],
"Time-series Line Chart (legacy)": [""],
"Line Style": [""],
"Line chart is used to visualize measurements taken over a given category. Line chart is a type of chart which displays information as a series of data points connected by straight line segments. It is a basic type of chart common in many fields.": [
""
Expand Down
4 changes: 2 additions & 2 deletions superset/translations/ar/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -2304,7 +2304,7 @@ msgid "Area Chart"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:42
msgid "Area Chart (legacy)"
msgid "Time-series Area Chart (legacy)"
msgstr ""

#: superset-frontend/plugins/plugin-chart-echarts/src/MixedTimeseries/controlPanel.tsx:177
Expand Down Expand Up @@ -8638,7 +8638,7 @@ msgid "Line Chart"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Line/index.js:39
msgid "Line Chart (legacy)"
msgid "Time-series Line Chart (legacy)"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/NVD3Controls.tsx:121
Expand Down
4 changes: 2 additions & 2 deletions superset/translations/de/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@
"Möchten Sie die Änderungen wirklich speichern und anwenden?"
],
"Area Chart": ["Flächendiagramm"],
"Area Chart (legacy)": ["Flächendiagramm (Legacy)"],
"Time-series Area Chart (legacy)": ["Flächendiagramm (Legacy)"],
"Area chart": ["Flächendiagramm"],
"Area chart opacity": ["Deckkraft des Flächendiagramms"],
"Area charts are similar to line charts in that they represent variables with the same scale, but area charts stack the metrics on top of each other.": [
Expand Down Expand Up @@ -2684,7 +2684,7 @@
],
"Line": ["Linie"],
"Line Chart": ["Liniendiagramm"],
"Line Chart (legacy)": ["Liniendiagramm (Legacy)"],
"Time-series Line Chart (legacy)": ["Liniendiagramm (Legacy)"],
"Line Style": ["Linien Stil"],
"Line chart is used to visualize measurements taken over a given category. Line chart is a type of chart which displays information as a series of data points connected by straight line segments. It is a basic type of chart common in many fields.": [
"Liniendiagramm wird verwendet, um Messungen zu visualisieren, die über eine bestimmte Kategorie durchgeführt wurden. Liniendiagramm ist eine Art Diagramm, das Informationen als eine Reihe von Datenpunkten anzeigt, die durch gerade Liniensegmente verbunden sind. Es ist ein grundlegender Diagrammtyp, der in vielen Bereichen üblich ist."
Expand Down
4 changes: 2 additions & 2 deletions superset/translations/de/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -8768,7 +8768,7 @@ msgid "Vehicle Types"
msgstr "Fahrzeugtypen"

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:42
msgid "Area Chart (legacy)"
msgid "Time-series Area Chart (legacy)"
msgstr "Flächendiagramm (Legacy)"

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:46
Expand Down Expand Up @@ -9011,7 +9011,7 @@ msgid "Battery level over time"
msgstr "Akkustand im Laufe der Zeit"

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Line/index.js:39
msgid "Line Chart (legacy)"
msgid "Time-series Line Chart (legacy)"
msgstr "Liniendiagramm (Legacy)"

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Pie/controlPanel.ts:49
Expand Down
4 changes: 2 additions & 2 deletions superset/translations/en/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@
"Are you sure you want to proceed?": [""],
"Are you sure you want to save and apply changes?": [""],
"Area Chart": [""],
"Area Chart (legacy)": [""],
"Time-series Area Chart (legacy)": [""],
"Area chart": [""],
"Area chart opacity": [""],
"Area charts are similar to line charts in that they represent variables with the same scale, but area charts stack the metrics on top of each other.": [
Expand Down Expand Up @@ -2043,7 +2043,7 @@
],
"Line": [""],
"Line Chart": [""],
"Line Chart (legacy)": [""],
"Time-series Line Chart (legacy)": [""],
"Line Style": [""],
"Line chart is used to visualize measurements taken over a given category. Line chart is a type of chart which displays information as a series of data points connected by straight line segments. It is a basic type of chart common in many fields.": [
""
Expand Down
4 changes: 2 additions & 2 deletions superset/translations/en/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -8163,7 +8163,7 @@ msgid "Vehicle Types"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:42
msgid "Area Chart (legacy)"
msgid "Time-series Area Chart (legacy)"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:46
Expand Down Expand Up @@ -8384,7 +8384,7 @@ msgid "Battery level over time"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Line/index.js:39
msgid "Line Chart (legacy)"
msgid "Time-series Line Chart (legacy)"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Pie/controlPanel.ts:49
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/es/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1707,7 +1707,7 @@
"Limits the number of the rows that are computed in the query that is the source of the data used for this chart.": [
""
],
"Line Chart (legacy)": [""],
"Time-series Line Chart (legacy)": [""],
"Line Style": [""],
"Line interpolation as defined by d3.js": [""],
"Line width": ["Grosor de línea"],
Expand Down
4 changes: 2 additions & 2 deletions superset/translations/es/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -8738,7 +8738,7 @@ msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:42
#, fuzzy
msgid "Area Chart (legacy)"
msgid "Time-series Area Chart (legacy)"
msgstr "Compartir gráfico"

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:46
Expand Down Expand Up @@ -8972,7 +8972,7 @@ msgid "Battery level over time"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Line/index.js:39
msgid "Line Chart (legacy)"
msgid "Time-series Line Chart (legacy)"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Pie/controlPanel.ts:49
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/fr/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2189,7 +2189,7 @@
"Limits the number of the rows that are computed in the query that is the source of the data used for this chart.": [
"Définissez une fonction javascript qui reçoit le tableau de données utilisé dans la visualisation et qui doit renvoyer une version modifiée de ce tableau. Cette fonction peut être utilisée pour modifier les propriétés des données, filtrer ou enrichir le tableau."
],
"Line Chart (legacy)": ["Tableau linéaire (héritage)"],
"Time-series Line Chart (legacy)": ["Tableau linéaire (héritage)"],
"Line Style": ["Style de ligne"],
"Line chart is used to visualize measurements taken over a given category. Line chart is a type of chart which displays information as a series of data points connected by straight line segments. It is a basic type of chart common in many fields.": [
"Le graphique linéaire est utilisé pour visualiser les mesures prises sur une catégorie donnée. Le graphique linéaire est un type de graphique qui affiche les informations sous forme de série de points de données reliés par des segments linéaires. Il s’agit d’un type de tableau de base commun dans de nombreux champs."
Expand Down
4 changes: 2 additions & 2 deletions superset/translations/fr/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -9174,7 +9174,7 @@ msgstr "Types du véhicule"

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:42
#, fuzzy
msgid "Area Chart (legacy)"
msgid "Time-series Area Chart (legacy)"
msgstr "Graphique en aires (hérité)"

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:46
Expand Down Expand Up @@ -9432,7 +9432,7 @@ msgid "Battery level over time"
msgstr "Niveau de la batterie au fil du temps"

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Line/index.js:39
msgid "Line Chart (legacy)"
msgid "Time-series Line Chart (legacy)"
msgstr "Tableau linéaire (héritage)"

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Pie/controlPanel.ts:49
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/it/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1687,7 +1687,7 @@
"Limits the number of the rows that are computed in the query that is the source of the data used for this chart.": [
""
],
"Line Chart (legacy)": [""],
"Time-series Line Chart (legacy)": [""],
"Line Style": [""],
"Line chart is used to visualize measurements taken over a given category. Line chart is a type of chart which displays information as a series of data points connected by straight line segments. It is a basic type of chart common in many fields.": [
""
Expand Down
4 changes: 2 additions & 2 deletions superset/translations/it/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -8495,7 +8495,7 @@ msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:42
#, fuzzy
msgid "Area Chart (legacy)"
msgid "Time-series Area Chart (legacy)"
msgstr "Esplora grafico"

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:46
Expand Down Expand Up @@ -8726,7 +8726,7 @@ msgid "Battery level over time"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Line/index.js:39
msgid "Line Chart (legacy)"
msgid "Time-series Line Chart (legacy)"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Pie/controlPanel.ts:49
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/ja/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1719,7 +1719,7 @@
"Limits the number of the rows that are computed in the query that is the source of the data used for this chart.": [
""
],
"Line Chart (legacy)": [""],
"Time-series Line Chart (legacy)": [""],
"Line Style": [""],
"Line chart is used to visualize measurements taken over a given category. Line chart is a type of chart which displays information as a series of data points connected by straight line segments. It is a basic type of chart common in many fields.": [
""
Expand Down
4 changes: 2 additions & 2 deletions superset/translations/ja/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -8488,7 +8488,7 @@ msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:42
#, fuzzy
msgid "Area Chart (legacy)"
msgid "Time-series Area Chart (legacy)"
msgstr "チャートを保存"

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:46
Expand Down Expand Up @@ -8719,7 +8719,7 @@ msgid "Battery level over time"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Line/index.js:39
msgid "Line Chart (legacy)"
msgid "Time-series Line Chart (legacy)"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Pie/controlPanel.ts:49
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/ko/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1729,7 +1729,7 @@
"Limits the number of the rows that are computed in the query that is the source of the data used for this chart.": [
""
],
"Line Chart (legacy)": [""],
"Time-series Line Chart (legacy)": [""],
"Line Style": [""],
"Line chart is used to visualize measurements taken over a given category. Line chart is a type of chart which displays information as a series of data points connected by straight line segments. It is a basic type of chart common in many fields.": [
""
Expand Down
4 changes: 2 additions & 2 deletions superset/translations/ko/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -8381,7 +8381,7 @@ msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:42
#, fuzzy
msgid "Area Chart (legacy)"
msgid "Time-series Area Chart (legacy)"
msgstr "차트 보기"

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:46
Expand Down Expand Up @@ -8610,7 +8610,7 @@ msgid "Battery level over time"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Line/index.js:39
msgid "Line Chart (legacy)"
msgid "Time-series Line Chart (legacy)"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Pie/controlPanel.ts:49
Expand Down
4 changes: 2 additions & 2 deletions superset/translations/nl/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@
"Weet u zeker dat u de wijzigingen wilt opslaan en toepassen?"
],
"Area Chart": [""],
"Area Chart (legacy)": [""],
"Time-series Area Chart (legacy)": [""],
"Area chart": [""],
"Area chart opacity": [""],
"Area charts are similar to line charts in that they represent variables with the same scale, but area charts stack the metrics on top of each other.": [
Expand Down Expand Up @@ -2100,7 +2100,7 @@
],
"Line": [""],
"Line Chart": [""],
"Line Chart (legacy)": [""],
"Time-series Line Chart (legacy)": [""],
"Line Style": [""],
"Line chart is used to visualize measurements taken over a given category. Line chart is a type of chart which displays information as a series of data points connected by straight line segments. It is a basic type of chart common in many fields.": [
""
Expand Down
4 changes: 2 additions & 2 deletions superset/translations/nl/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -8406,7 +8406,7 @@ msgid "Vehicle Types"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:42
msgid "Area Chart (legacy)"
msgid "Time-series Area Chart (legacy)"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:46
Expand Down Expand Up @@ -8632,7 +8632,7 @@ msgid "Battery level over time"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Line/index.js:39
msgid "Line Chart (legacy)"
msgid "Time-series Line Chart (legacy)"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Pie/controlPanel.ts:49
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/pt/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1660,7 +1660,7 @@
"Limits the number of the rows that are computed in the query that is the source of the data used for this chart.": [
""
],
"Line Chart (legacy)": [""],
"Time-series Line Chart (legacy)": [""],
"Line Style": [""],
"Line chart is used to visualize measurements taken over a given category. Line chart is a type of chart which displays information as a series of data points connected by straight line segments. It is a basic type of chart common in many fields.": [
""
Expand Down
4 changes: 2 additions & 2 deletions superset/translations/pt/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -8561,7 +8561,7 @@ msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:42
#, fuzzy
msgid "Area Chart (legacy)"
msgid "Time-series Area Chart (legacy)"
msgstr "Explorar gráfico"

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:46
Expand Down Expand Up @@ -8792,7 +8792,7 @@ msgid "Battery level over time"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Line/index.js:39
msgid "Line Chart (legacy)"
msgid "Time-series Line Chart (legacy)"
msgstr ""

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Pie/controlPanel.ts:49
Expand Down
4 changes: 2 additions & 2 deletions superset/translations/pt_BR/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@
"Tem certeza que deseja salvar e aplicar mudanças ?"
],
"Area Chart": ["Gráfico de área"],
"Area Chart (legacy)": ["Gráfico de área (legado)"],
"Time-series Area Chart (legacy)": ["Gráfico de área (legado)"],
"Area chart": ["Gráfico de área"],
"Area chart opacity": ["Opacidade do gráfico de área"],
"Area charts are similar to line charts in that they represent variables with the same scale, but area charts stack the metrics on top of each other.": [
Expand Down Expand Up @@ -2536,7 +2536,7 @@
],
"Line": ["Linha"],
"Line Chart": ["Gráfico de linhas"],
"Line Chart (legacy)": ["Gráfico de linhas (herdado)"],
"Time-series Line Chart (legacy)": ["Gráfico de linhas (herdado)"],
"Line Style": ["Estilo da linha"],
"Line chart is used to visualize measurements taken over a given category. Line chart is a type of chart which displays information as a series of data points connected by straight line segments. It is a basic type of chart common in many fields.": [
"O gráfico de linhas é utilizado para visualizar as medições efetuadas numa determinada categoria. O gráfico de linhas é um tipo de gráfico que apresenta informações como uma série de pontos de dados ligados por segmentos de linha reta. É um tipo básico de gráfico comum em muitos domínios."
Expand Down
4 changes: 2 additions & 2 deletions superset/translations/pt_BR/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -8714,7 +8714,7 @@ msgid "Vehicle Types"
msgstr "Tipos de veículos"

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:42
msgid "Area Chart (legacy)"
msgid "Time-series Area Chart (legacy)"
msgstr "Gráfico de área (legado)"

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Area/index.js:46
Expand Down Expand Up @@ -8956,7 +8956,7 @@ msgid "Battery level over time"
msgstr "Nível da bateria ao longo do tempo"

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Line/index.js:39
msgid "Line Chart (legacy)"
msgid "Time-series Line Chart (legacy)"
msgstr "Gráfico de linhas (herdado)"

#: superset-frontend/plugins/legacy-preset-chart-nvd3/src/Pie/controlPanel.ts:49
Expand Down
4 changes: 2 additions & 2 deletions superset/translations/ru/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@
"Вы уверены, что хотите сохранить и применить изменения?"
],
"Area Chart": ["Диаграмма с областями"],
"Area Chart (legacy)": ["Диаграмма с областями (устарело)"],
"Time-series Area Chart (legacy)": ["Диаграмма с областями (устарело)"],
"Area chart": ["Диаграмма с областями"],
"Area chart opacity": ["Непрозрачность диаграммы с областями"],
"Area charts are similar to line charts in that they represent variables with the same scale, but area charts stack the metrics on top of each other.": [
Expand Down Expand Up @@ -2504,7 +2504,7 @@
],
"Line": ["Линейный"],
"Line Chart": ["Линейный график"],
"Line Chart (legacy)": ["Линейный график (устарело)"],
"Time-series Line Chart (legacy)": ["Линейный график (устарело)"],
"Line Style": ["Тип линии"],
"Line chart is used to visualize measurements taken over a given category. Line chart is a type of chart which displays information as a series of data points connected by straight line segments. It is a basic type of chart common in many fields.": [
"Линейная диаграмма используется для визуализации показателей, полученных в рамках одной категории. Линейная диаграмма - это тип диаграммы, который отображает информацию в виде ряда точек данных, соединенных прямыми отрезками. Это базовый тип диаграммы, распространенный во многих областях."
Expand Down
Loading

0 comments on commit b4c4ab7

Please sign in to comment.