mirror of
https://github.com/ansible/awx.git
synced 2026-04-04 17:55:06 -02:30
Removes use of Trans tag in favor of t/i18n
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import React, { Fragment, useEffect, useCallback } from 'react';
|
import React, { Fragment, useEffect, useCallback } from 'react';
|
||||||
import { Link, useHistory } from 'react-router-dom';
|
import { Link, useHistory } from 'react-router-dom';
|
||||||
import { withI18n } from '@lingui/react';
|
import { withI18n } from '@lingui/react';
|
||||||
import { t, Trans } from '@lingui/macro';
|
import { t } from '@lingui/macro';
|
||||||
import { shape } from 'prop-types';
|
import { shape } from 'prop-types';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import { Button, List, ListItem } from '@patternfly/react-core';
|
import { Button, List, ListItem } from '@patternfly/react-core';
|
||||||
@@ -238,10 +238,7 @@ function CredentialDetail({ i18n, credential }) {
|
|||||||
</DetailList>
|
</DetailList>
|
||||||
{Object.keys(inputSources).length > 0 && (
|
{Object.keys(inputSources).length > 0 && (
|
||||||
<PluginFieldText>
|
<PluginFieldText>
|
||||||
<Trans>
|
{i18n._(t`* This field will be retrieved from an external secret management system using the specified credential.`)}
|
||||||
* This field will be retrieved from an external secret management
|
|
||||||
system using the specified credential.
|
|
||||||
</Trans>
|
|
||||||
</PluginFieldText>
|
</PluginFieldText>
|
||||||
)}
|
)}
|
||||||
<CardActionsRow>
|
<CardActionsRow>
|
||||||
|
|||||||
Reference in New Issue
Block a user