mirror of
https://github.com/apache/superset.git
synced 2026-04-22 09:35:23 +00:00
chore: Localization of several charts and elements (#22150)
Co-authored-by: ashumeiko <ashumeiko@ashumeiko.com>
This commit is contained in:
@@ -64,20 +64,20 @@ const TemplateParamsEditor = ({
|
||||
const modalBody = (
|
||||
<div>
|
||||
<p>
|
||||
Assign a set of parameters as
|
||||
{t('Assign a set of parameters as')}
|
||||
<code>JSON</code>
|
||||
below (example:
|
||||
{t('below (example:')}
|
||||
<code>{'{"my_table": "foo"}'}</code>
|
||||
), and they become available in your SQL (example:
|
||||
<code>SELECT * FROM {'{{ my_table }}'} </code>) by using
|
||||
{t('), and they become available in your SQL (example:')}
|
||||
<code>SELECT * FROM {'{{ my_table }}'} </code>) {t('by using')}
|
||||
<a
|
||||
href="https://superset.apache.org/sqllab.html#templating-with-jinja"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Jinja templating
|
||||
{t('Jinja templating')}
|
||||
</a>{' '}
|
||||
syntax.
|
||||
{t('syntax.')}
|
||||
</p>
|
||||
<StyledConfigEditor
|
||||
mode={language}
|
||||
|
||||
Reference in New Issue
Block a user