Mark min/sec labels for translation

This commit is contained in:
mabashian 2020-01-30 13:17:24 -05:00
parent 7576ba2ade
commit c70e5357d3

View File

@ -1,6 +1,6 @@
import React from '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 styled from 'styled-components';
import { Formik, Field } from 'formik';
@ -207,7 +207,9 @@ function NodeTypeStep({
field.onChange(evt);
}}
/>
<TimeoutLabel>min</TimeoutLabel>
<TimeoutLabel>
<Trans>min</Trans>
</TimeoutLabel>
</>
)}
/>
@ -232,7 +234,9 @@ function NodeTypeStep({
field.onChange(evt);
}}
/>
<TimeoutLabel>sec</TimeoutLabel>
<TimeoutLabel>
<Trans>sec</Trans>
</TimeoutLabel>
</>
)}
/>