[Ingest Manager] Copy fixes (#68325)
* #68153 Change Elastic integrations to Integrations * Fix copy casing * #68152 Update create data source CTA copy * #68166 Remove icon next to top-level navigation when user is on new Kibana navigation style * Fix i18n Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
d1ed207945
commit
299a6026fd
11 changed files with 20 additions and 16 deletions
|
@ -167,7 +167,7 @@ export const SettingFlyout: React.FunctionComponent<Props> = ({ onClose }) => {
|
||||||
'xpack.ingestManager.settings.integrationUpgradeEnabledFieldLabel',
|
'xpack.ingestManager.settings.integrationUpgradeEnabledFieldLabel',
|
||||||
{
|
{
|
||||||
defaultMessage:
|
defaultMessage:
|
||||||
'Automatically update Integrations to the latest version to receive the latest assets. Agent configurations may need to be updated in order to use new features.',
|
'Automatically update integrations to the latest version to receive the latest assets. Agent configurations may need to be updated in order to use new features.',
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
@ -190,7 +190,7 @@ export const SettingFlyout: React.FunctionComponent<Props> = ({ onClose }) => {
|
||||||
<h3>
|
<h3>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="xpack.ingestManager.settings.integrationUpgradeFieldLabel"
|
id="xpack.ingestManager.settings.integrationUpgradeFieldLabel"
|
||||||
defaultMessage="Elastic integration version"
|
defaultMessage="Integration version"
|
||||||
/>
|
/>
|
||||||
</h3>
|
</h3>
|
||||||
</EuiTitle>
|
</EuiTitle>
|
||||||
|
|
|
@ -9,7 +9,7 @@ import { EuiTabs, EuiTab, EuiFlexGroup, EuiFlexItem, EuiIcon, EuiButtonEmpty } f
|
||||||
import { FormattedMessage } from '@kbn/i18n/react';
|
import { FormattedMessage } from '@kbn/i18n/react';
|
||||||
import { Section } from '../sections';
|
import { Section } from '../sections';
|
||||||
import { AlphaMessaging, SettingFlyout } from '../components';
|
import { AlphaMessaging, SettingFlyout } from '../components';
|
||||||
import { useLink, useConfig } from '../hooks';
|
import { useLink, useConfig, useCore } from '../hooks';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
showSettings?: boolean;
|
showSettings?: boolean;
|
||||||
|
@ -42,6 +42,7 @@ export const DefaultLayout: React.FunctionComponent<Props> = ({
|
||||||
}) => {
|
}) => {
|
||||||
const { getHref } = useLink();
|
const { getHref } = useLink();
|
||||||
const { epm, fleet } = useConfig();
|
const { epm, fleet } = useConfig();
|
||||||
|
const { uiSettings } = useCore();
|
||||||
const [isSettingsFlyoutOpen, setIsSettingsFlyoutOpen] = React.useState(false);
|
const [isSettingsFlyoutOpen, setIsSettingsFlyoutOpen] = React.useState(false);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -57,9 +58,11 @@ export const DefaultLayout: React.FunctionComponent<Props> = ({
|
||||||
<div>
|
<div>
|
||||||
<Nav>
|
<Nav>
|
||||||
<EuiFlexGroup gutterSize="l" alignItems="center">
|
<EuiFlexGroup gutterSize="l" alignItems="center">
|
||||||
<EuiFlexItem grow={false}>
|
{uiSettings.get('pageNavigation') === 'legacy' ? (
|
||||||
<EuiIcon type="savedObjectsApp" size="l" />
|
<EuiFlexItem grow={false}>
|
||||||
</EuiFlexItem>
|
<EuiIcon type="savedObjectsApp" size="l" />
|
||||||
|
</EuiFlexItem>
|
||||||
|
) : null}
|
||||||
<EuiFlexItem>
|
<EuiFlexItem>
|
||||||
<EuiTabs display="condensed">
|
<EuiTabs display="condensed">
|
||||||
<EuiTab isSelected={section === 'overview'} href={getHref('overview')}>
|
<EuiTab isSelected={section === 'overview'} href={getHref('overview')}>
|
||||||
|
|
|
@ -58,7 +58,7 @@ export const AgentConfigActionMenu = memo<{ configId: string; fullButton?: boole
|
||||||
>
|
>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="xpack.ingestManager.agentConfigActionMenu.createDatasourceActionText"
|
id="xpack.ingestManager.agentConfigActionMenu.createDatasourceActionText"
|
||||||
defaultMessage="Create data source"
|
defaultMessage="Add data source"
|
||||||
/>
|
/>
|
||||||
</EuiContextMenuItem>,
|
</EuiContextMenuItem>,
|
||||||
]}
|
]}
|
||||||
|
|
|
@ -280,7 +280,7 @@ export const DatasourcesTable: React.FunctionComponent<Props> = ({
|
||||||
>
|
>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="xpack.ingestManager.configDetails.addDatasourceButtonText"
|
id="xpack.ingestManager.configDetails.addDatasourceButtonText"
|
||||||
defaultMessage="Create data source"
|
defaultMessage="Add data source"
|
||||||
/>
|
/>
|
||||||
</EuiButton>,
|
</EuiButton>,
|
||||||
],
|
],
|
||||||
|
|
|
@ -38,7 +38,7 @@ export const NoDatasources = memo<{ configId: string }>(({ configId }) => {
|
||||||
>
|
>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="xpack.ingestManager.configDetailsDatasources.createFirstButtonText"
|
id="xpack.ingestManager.configDetailsDatasources.createFirstButtonText"
|
||||||
defaultMessage="Create data source"
|
defaultMessage="Add data source"
|
||||||
/>
|
/>
|
||||||
</EuiButton>
|
</EuiButton>
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,7 +56,7 @@ export const ConfirmPackageUninstall = (props: ConfirmPackageUninstallProps) =>
|
||||||
<p>
|
<p>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="xpack.ingestManager.integrations.settings.confirmUninstallModal.uninstallCallout.description"
|
id="xpack.ingestManager.integrations.settings.confirmUninstallModal.uninstallCallout.description"
|
||||||
defaultMessage="Kibana and Elasticsearch assets that were created by this Integration will be removed. Agents configurations and any data sent by your agents will not be effected."
|
defaultMessage="Kibana and Elasticsearch assets that were created by this integration will be removed. Agents configurations and any data sent by your agents will not be effected."
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
</EuiCallOut>
|
</EuiCallOut>
|
||||||
|
|
|
@ -74,7 +74,10 @@ export function Header(props: HeaderProps) {
|
||||||
>
|
>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="xpack.ingestManager.epm.addDatasourceButtonText"
|
id="xpack.ingestManager.epm.addDatasourceButtonText"
|
||||||
defaultMessage="Create data source"
|
defaultMessage="Add {packageName}"
|
||||||
|
values={{
|
||||||
|
packageName: title,
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</EuiButton>
|
</EuiButton>
|
||||||
</EuiFlexItem>
|
</EuiFlexItem>
|
||||||
|
|
|
@ -175,7 +175,7 @@ export const SettingsPanel = (
|
||||||
<p>
|
<p>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="xpack.ingestManager.integrations.settings.packageUninstallDescription"
|
id="xpack.ingestManager.integrations.settings.packageUninstallDescription"
|
||||||
defaultMessage="Remove Kibana and Elasticsearch assets that were installed by this Integration."
|
defaultMessage="Remove Kibana and Elasticsearch assets that were installed by this integration."
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -20,7 +20,7 @@ export const HeroCopy = memo(() => {
|
||||||
<h1>
|
<h1>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="xpack.ingestManager.epm.pageTitle"
|
id="xpack.ingestManager.epm.pageTitle"
|
||||||
defaultMessage="Elastic Integrations"
|
defaultMessage="Integrations"
|
||||||
/>
|
/>
|
||||||
</h1>
|
</h1>
|
||||||
</EuiText>
|
</EuiText>
|
||||||
|
@ -46,7 +46,7 @@ export const HeroImage = memo(() => {
|
||||||
|
|
||||||
const Illustration = styled(EuiImage).attrs((props) => ({
|
const Illustration = styled(EuiImage).attrs((props) => ({
|
||||||
alt: i18n.translate('xpack.ingestManager.epm.illustrationAltText', {
|
alt: i18n.translate('xpack.ingestManager.epm.illustrationAltText', {
|
||||||
defaultMessage: 'Illustration of an Elastic integration',
|
defaultMessage: 'Illustration of an integration',
|
||||||
}),
|
}),
|
||||||
url: IS_DARK_THEME
|
url: IS_DARK_THEME
|
||||||
? toAssets('illustration_integrations_darkmode.svg')
|
? toAssets('illustration_integrations_darkmode.svg')
|
||||||
|
|
|
@ -8362,7 +8362,6 @@
|
||||||
"xpack.ingestManager.enrollmentTokensList.newKeyButton": "新しい登録トークン",
|
"xpack.ingestManager.enrollmentTokensList.newKeyButton": "新しい登録トークン",
|
||||||
"xpack.ingestManager.enrollmentTokensList.pageDescription": "これは、エージェントを登録するために使用できる登録トークンのリストです。",
|
"xpack.ingestManager.enrollmentTokensList.pageDescription": "これは、エージェントを登録するために使用できる登録トークンのリストです。",
|
||||||
"xpack.ingestManager.enrollmentTokensList.secretTitle": "シークレット",
|
"xpack.ingestManager.enrollmentTokensList.secretTitle": "シークレット",
|
||||||
"xpack.ingestManager.epm.addDatasourceButtonText": "データソースを作成",
|
|
||||||
"xpack.ingestManager.epm.browseAllButtonText": "すべての統合を参照",
|
"xpack.ingestManager.epm.browseAllButtonText": "すべての統合を参照",
|
||||||
"xpack.ingestManager.epm.illustrationAltText": "Elastic統合の例",
|
"xpack.ingestManager.epm.illustrationAltText": "Elastic統合の例",
|
||||||
"xpack.ingestManager.epm.pageSubtitle": "一般的なアプリやサービスの統合を参照する",
|
"xpack.ingestManager.epm.pageSubtitle": "一般的なアプリやサービスの統合を参照する",
|
||||||
|
|
|
@ -8366,7 +8366,6 @@
|
||||||
"xpack.ingestManager.enrollmentTokensList.newKeyButton": "新建注册令牌",
|
"xpack.ingestManager.enrollmentTokensList.newKeyButton": "新建注册令牌",
|
||||||
"xpack.ingestManager.enrollmentTokensList.pageDescription": "这是可用于注册代理的注册令牌列表。",
|
"xpack.ingestManager.enrollmentTokensList.pageDescription": "这是可用于注册代理的注册令牌列表。",
|
||||||
"xpack.ingestManager.enrollmentTokensList.secretTitle": "密钥",
|
"xpack.ingestManager.enrollmentTokensList.secretTitle": "密钥",
|
||||||
"xpack.ingestManager.epm.addDatasourceButtonText": "创建数据源",
|
|
||||||
"xpack.ingestManager.epm.browseAllButtonText": "浏览所有集成",
|
"xpack.ingestManager.epm.browseAllButtonText": "浏览所有集成",
|
||||||
"xpack.ingestManager.epm.illustrationAltText": "Elastic 集成的图示",
|
"xpack.ingestManager.epm.illustrationAltText": "Elastic 集成的图示",
|
||||||
"xpack.ingestManager.epm.pageSubtitle": "浏览集成以了解热门应用和服务。",
|
"xpack.ingestManager.epm.pageSubtitle": "浏览集成以了解热门应用和服务。",
|
||||||
|
|
Loading…
Reference in a new issue