mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 00:08:44 -03:30
Mark min/sec labels for translation
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { withI18n } from '@lingui/react';
|
import { withI18n } from '@lingui/react';
|
||||||
import { t } from '@lingui/macro';
|
import { t, Trans } from '@lingui/macro';
|
||||||
import { func, number, shape, string } from 'prop-types';
|
import { func, number, shape, string } from 'prop-types';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import { Formik, Field } from 'formik';
|
import { Formik, Field } from 'formik';
|
||||||
@@ -207,7 +207,9 @@ function NodeTypeStep({
|
|||||||
field.onChange(evt);
|
field.onChange(evt);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<TimeoutLabel>min</TimeoutLabel>
|
<TimeoutLabel>
|
||||||
|
<Trans>min</Trans>
|
||||||
|
</TimeoutLabel>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
@@ -232,7 +234,9 @@ function NodeTypeStep({
|
|||||||
field.onChange(evt);
|
field.onChange(evt);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<TimeoutLabel>sec</TimeoutLabel>
|
<TimeoutLabel>
|
||||||
|
<Trans>sec</Trans>
|
||||||
|
</TimeoutLabel>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user