Skip to content

Commit

Permalink
fix: adaptive formatting typo in explore dropdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomedina248 committed Mar 22, 2022
1 parent 7ca10fb commit 0acd4ad
Show file tree
Hide file tree
Showing 20 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const D3_FORMAT_DOCS = t(

// input choices & options
export const D3_FORMAT_OPTIONS: [string, string][] = [
[NumberFormats.SMART_NUMBER, t('Adaptative formating')],
[NumberFormats.SMART_NUMBER, t('Adaptive formatting')],
['~g', t('Original value')],
[',d', ',d (12345.432 => 12,345)'],
['.1s', '.1s (12345.432 => 10k)'],
Expand All @@ -48,7 +48,7 @@ export const D3_TIME_FORMAT_DOCS = t(
);

export const D3_TIME_FORMAT_OPTIONS: [string, string][] = [
[smartDateFormatter.id, t('Adaptative formating')],
[smartDateFormatter.id, t('Adaptive formatting')],
['%d/%m/%Y', '%d/%m/%Y | 14/01/2019'],
['%m/%d/%Y', '%m/%d/%Y | 01/14/2019'],
['%Y-%m-%d', '%Y-%m-%d | 2019-01-14'],
Expand Down
4 changes: 2 additions & 2 deletions superset-frontend/src/explore/controls.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const PRIMARY_COLOR = { r: 0, g: 122, b: 135, a: 1 };

// input choices & options
export const D3_FORMAT_OPTIONS = [
['SMART_NUMBER', 'Adaptative formating'],
['SMART_NUMBER', 'Adaptive formatting'],
['~g', 'Original value'],
[',d', ',d (12345.432 => 12,345)'],
['.1s', '.1s (12345.432 => 10k)'],
Expand All @@ -98,7 +98,7 @@ export const D3_FORMAT_DOCS =
'D3 format syntax: https://github.com/d3/d3-format';

export const D3_TIME_FORMAT_OPTIONS = [
['smart_date', 'Adaptative formating'],
['smart_date', 'Adaptive formatting'],
['%d/%m/%Y', '%d/%m/%Y | 14/01/2019'],
['%m/%d/%Y', '%m/%d/%Y | 01/14/2019'],
['%Y-%m-%d', '%Y-%m-%d | 2019-01-14'],
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/de/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
"Actions": ["Aktion"],
"Active": ["Aktiv"],
"Actual time range": ["Tatsächlicher Zeitbereich"],
"Adaptative formating": ["Adaptative Formatierung"],
"Adaptive formatting": ["Adaptative Formatierung"],
"Add": ["Hinzufügen"],
"Add Alert": ["Alarm hinzufügen"],
"Add Annotation": ["Anmerkungen hinzufügen"],
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/de/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ msgstr "Tatsächlicher Zeitbereich"

#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:28
#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:49
msgid "Adaptative formating"
msgid "Adaptive formatting"
msgstr "Adaptative Formatierung"

#: superset-frontend/src/components/ReportModal/index.tsx:267
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/en/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ msgstr ""

#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:28
#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:49
msgid "Adaptative formating"
msgid "Adaptive formatting"
msgstr ""

#: superset-frontend/src/components/ReportModal/index.tsx:267
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/es/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ msgstr "Rango de tiempo actual"
#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:28
#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:49
#, fuzzy
msgid "Adaptative formating"
msgid "Adaptive formatting"
msgstr "Formato Fecha/Hora"

#: superset-frontend/src/components/ReportModal/index.tsx:267
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/fr/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ msgstr "Intervalle de temps courant"
#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:28
#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:49
#, fuzzy
msgid "Adaptative formating"
msgid "Adaptive formatting"
msgstr "Format Datetime"

#: superset-frontend/src/components/ReportModal/index.tsx:267
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/it/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ msgstr ""
#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:28
#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:49
#, fuzzy
msgid "Adaptative formating"
msgid "Adaptive formatting"
msgstr "Formato Datetime"

#: superset-frontend/src/components/ReportModal/index.tsx:267
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/ja/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ msgstr "実際の期間"
#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:28
#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:49
#, fuzzy
msgid "Adaptative formating"
msgid "Adaptive formatting"
msgstr "日時フォーマット"

#: superset-frontend/src/components/ReportModal/index.tsx:267
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/ko/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ msgstr ""

#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:28
#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:49
msgid "Adaptative formating"
msgid "Adaptive formatting"
msgstr ""

#: superset-frontend/src/components/ReportModal/index.tsx:267
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ msgstr ""

#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:28
#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:49
msgid "Adaptative formating"
msgid "Adaptive formatting"
msgstr ""

#: superset-frontend/src/components/ReportModal/index.tsx:267
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/nl/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1777,7 +1777,7 @@
""
],
"D3 format syntax: https://github.com/d3/d3-format": [""],
"Adaptative formating": [""],
"Adaptive formatting": [""],
"Duration in ms (66000 => 1m 6s)": [""],
"Duration in ms (1.40008 => 1ms 400µs 80ns)": [""],
"D3 time format syntax: https://github.com/d3/d3-time-format": [""],
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/nl/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -5036,7 +5036,7 @@ msgstr ""

#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:28
#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:49
msgid "Adaptative formating"
msgid "Adaptive formatting"
msgstr ""

#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:40
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/pt_BR/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ msgstr "Intervalo de tempo real"
#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:28
#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:49
#, fuzzy
msgid "Adaptative formating"
msgid "Adaptive formatting"
msgstr "Formato de data e hora"

#: superset-frontend/src/components/ReportModal/index.tsx:267
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/ru/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ msgstr ""
#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:28
#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:49
#, fuzzy
msgid "Adaptative formating"
msgid "Adaptive formatting"
msgstr "Формат Datetime"

#: superset-frontend/src/components/ReportModal/index.tsx:267
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/sk/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ msgstr ""

#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:28
#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:49
msgid "Adaptative formating"
msgid "Adaptive formatting"
msgstr ""

#: superset-frontend/src/components/ReportModal/index.tsx:267
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/sl/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3816,7 +3816,7 @@
"D3 format syntax: https://github.com/d3/d3-format": [
"Sintaksa D3 formata: https://github.com/d3/d3-format"
],
"Adaptative formating": ["Adaptivno oblikovanje"],
"Adaptive formatting": ["Adaptivno oblikovanje"],
"Duration in ms (66000 => 1m 6s)": ["Trajanje v ms (66000 => 1m 6s)"],
"Duration in ms (1.40008 => 1ms 400µs 80ns)": [
"Trajanje v ms (1.40008 => 1ms 400µs 80ns)"
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/sl/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ msgstr "Dejansko časovno obdobje"

#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:28
#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:49
msgid "Adaptative formating"
msgid "Adaptive formatting"
msgstr "Adaptivno oblikovanje"

#: superset-frontend/src/components/ReportModal/index.tsx:267
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/zh/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2617,7 +2617,7 @@
"Whether to apply filter to dashboards when table cells are clicked": [
"单击表单元格时是否对看板应用过滤条件"
],
"Adaptative formating": ["自动匹配格式化"],
"Adaptive formatting": ["自动匹配格式化"],
"Aggregate": ["聚合"],
"Raw Records": ["原始记录"],
"Query Mode": ["查询模式"],
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/zh/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ msgstr "实际时间范围"

#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:28
#: superset-frontend/packages/superset-ui-chart-controls/src/utils/D3Formatting.ts:49
msgid "Adaptative formating"
msgid "Adaptive formatting"
msgstr "自动匹配格式化"

#: superset-frontend/src/components/ReportModal/index.tsx:267
Expand Down

0 comments on commit 0acd4ad

Please sign in to comment.