chore: Localization of several charts and elements (#22150)

Co-authored-by: ashumeiko <ashumeiko@ashumeiko.com>
This commit is contained in:
Artem Shumeiko
2023-01-11 19:42:54 +03:00
committed by GitHub
parent 44c9cf4de5
commit f3696ceef3
98 changed files with 748 additions and 663 deletions

View File

@@ -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&nbsp;
{t('), and they become available in your SQL (example:')}
<code>SELECT * FROM {'{{ my_table }}'} </code>) {t('by using')}&nbsp;
<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}