mirror of
https://github.com/ansible/awx.git
synced 2026-04-09 20:19:21 -02:30
mark text for translation
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import 'styled-components/macro';
|
import 'styled-components/macro';
|
||||||
import React, { useEffect, useRef } from 'react';
|
import React, { useEffect, useRef } from 'react';
|
||||||
import { withI18n } from '@lingui/react';
|
import { withI18n } from '@lingui/react';
|
||||||
import { t } from '@lingui/macro';
|
import { t, Trans } from '@lingui/macro';
|
||||||
import { useField, useFormikContext } from 'formik';
|
import { useField, useFormikContext } from 'formik';
|
||||||
import { Switch, Text } from '@patternfly/react-core';
|
import { Switch, Text } from '@patternfly/react-core';
|
||||||
import {
|
import {
|
||||||
@@ -69,9 +69,10 @@ function CustomMessagesSubForm({ defaultMessages, type, i18n }) {
|
|||||||
css="margin-bottom: var(--pf-c-content--MarginBottom)"
|
css="margin-bottom: var(--pf-c-content--MarginBottom)"
|
||||||
>
|
>
|
||||||
<small>
|
<small>
|
||||||
|
<Trans>
|
||||||
Use custom messages to change the content of notifications sent
|
Use custom messages to change the content of notifications sent
|
||||||
when a job starts, succeeds, or fails. Use curly braces to access
|
when a job starts, succeeds, or fails. Use curly braces to
|
||||||
information about the job:{' '}
|
access information about the job:{' '}
|
||||||
<code>
|
<code>
|
||||||
{'{{'} job_friendly_name {'}}'}
|
{'{{'} job_friendly_name {'}}'}
|
||||||
</code>
|
</code>
|
||||||
@@ -93,6 +94,7 @@ function CustomMessagesSubForm({ defaultMessages, type, i18n }) {
|
|||||||
Ansible Tower documentation
|
Ansible Tower documentation
|
||||||
</a>{' '}
|
</a>{' '}
|
||||||
for more details.
|
for more details.
|
||||||
|
</Trans>
|
||||||
</small>
|
</small>
|
||||||
</Text>
|
</Text>
|
||||||
<FormFullWidthLayout>
|
<FormFullWidthLayout>
|
||||||
|
|||||||
Reference in New Issue
Block a user