From 523c6b77bf7aecbf17112d2e7a740c5486186f60 Mon Sep 17 00:00:00 2001 From: Moriah Kreeger Date: Tue, 4 Aug 2020 16:34:20 -0700 Subject: [PATCH] fix: update time range select tooltip (#10458) --- .../src/explore/components/controls/DateFilterControl.jsx | 4 ++-- superset/translations/messages.pot | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/superset-frontend/src/explore/components/controls/DateFilterControl.jsx b/superset-frontend/src/explore/components/controls/DateFilterControl.jsx index f2a9e09e36b84..90de1e0c29423 100644 --- a/superset-frontend/src/explore/components/controls/DateFilterControl.jsx +++ b/superset-frontend/src/explore/components/controls/DateFilterControl.jsx @@ -87,8 +87,8 @@ const DEFAULT_SINCE = moment() const DEFAULT_UNTIL = moment().utc().startOf('day').format(MOMENT_FORMAT); const SEPARATOR = ' : '; const FREEFORM_TOOLTIP = t( - 'Superset supports smart date parsing. Strings like `last sunday` or ' + - '`last october` can be used.', + 'Superset supports smart date parsing. Strings like `3 weeks ago`, `last sunday`, or ' + + '`2 weeks from now` can be used.', ); const DATE_FILTER_POPOVER_STYLE = { width: '250px' }; diff --git a/superset/translations/messages.pot b/superset/translations/messages.pot index 7c48a309b1d2f..a6ec520018f60 100644 --- a/superset/translations/messages.pot +++ b/superset/translations/messages.pot @@ -4329,8 +4329,8 @@ msgstr "" #: superset-frontend/src/explore/components/controls/DateFilterControl.jsx:85 msgid "" -"Superset supports smart date parsing. Strings like `last sunday` or `last" -" october` can be used." +"Superset supports smart date parsing. Strings like `3 weeks ago`, `last sunday`" +" or `2 weeks from now` can be used." msgstr "" #: superset-frontend/src/explore/components/controls/FilterBoxItemControl.jsx:142