mirror of
https://github.com/apache/superset.git
synced 2026-04-18 07:35:09 +00:00
chore: Localization of several charts and elements (#22150)
Co-authored-by: ashumeiko <ashumeiko@ashumeiko.com>
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { SafeMarkdown, styled } from '@superset-ui/core';
|
||||
import { SafeMarkdown, styled, t } from '@superset-ui/core';
|
||||
import Handlebars from 'handlebars';
|
||||
import moment from 'moment';
|
||||
import React, { useMemo, useState } from 'react';
|
||||
@@ -71,7 +71,7 @@ export const HandlebarsViewer = ({
|
||||
/>
|
||||
);
|
||||
}
|
||||
return <p>Loading...</p>;
|
||||
return <p>{t('Loading...')}</p>;
|
||||
};
|
||||
|
||||
// usage: {{dateFormat my_date format="MMMM YYYY"}}
|
||||
|
||||
Reference in New Issue
Block a user