Skip to content

Commit

Permalink
[8.16] [Search] Web crawler name consistency (#202738) Manual backport (
Browse files Browse the repository at this point in the history
#204202)

Manual Backport
This will backport the following commits from main to 8.16:

Automatic backport were failing and using the CLI backport tool was
addind many other unnecesary files. So then doing it manually.

#202738

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
JoseLuisGJ and elasticmachine authored Dec 16, 2024
1 parent c6ebceb commit 24a47e8
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const featuresList = {
'Did you know the new self-managed Elastic open crawler is now available? You can keep your web content in sync with your search-optimized indices!',
}),
title: i18n.translate('xpack.enterpriseSearch.appSearch.gateForm.webCrawler.featureName', {
defaultMessage: 'Web crawler',
defaultMessage: 'Web Crawler',
}),
},
analyticsAndLogs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const CAPITALIZATION_MAP = {
[LogRetentionOptions.Crawler]: {
capitalized: i18n.translate(
'xpack.enterpriseSearch.appSearch.logRetention.type.crawler.title.capitalized',
{ defaultMessage: 'Web crawler' }
{ defaultMessage: 'Web Crawler' }
),
lowercase: i18n.translate(
'xpack.enterpriseSearch.appSearch.logRetention.type.crawler.title.lowercase',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const ConnectorType: React.FC<ConnectorTypeProps> = ({ serviceType }) =>
<p>
{serviceType === CRAWLER_SERVICE_TYPE
? i18n.translate('xpack.enterpriseSearch.content.connectors.connectorType.crawler', {
defaultMessage: 'Web crawler',
defaultMessage: 'Web Crawler',
})
: connector?.name ?? '-'}
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const Connectors: React.FC<ConnectorsProps> = ({ isCrawler }) => {
defaultMessage: 'Elasticsearch connectors',
})
: i18n.translate('xpack.enterpriseSearch.crawlers.title', {
defaultMessage: 'Elasticsearch web crawlers',
defaultMessage: 'Elastic Web Crawler',
}),
rightSideGroupProps: {
gutterSize: 's',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { useValues } from 'kea';
import { EuiButton, EuiEmptyPrompt, EuiPanel } from '@elastic/eui';
import { i18n } from '@kbn/i18n';

import { CRAWLER } from '../../../../../common/constants';
import { HttpLogic } from '../../../shared/http';
import { GithubIcon } from '../../../shared/icons/github_icon';
import { KibanaLogic } from '../../../shared/kibana';
Expand Down Expand Up @@ -49,7 +48,8 @@ export const CrawlerEmptyState: React.FC = () => {
color="primary"
fill
iconType={GithubIcon}
href={CRAWLER.github_repo}
href={'https://github.com/elastic/crawler'}
target="_blank"
>
{i18n.translate(
'xpack.enterpriseSearch.crawlerEmptyState.openSourceCrawlerButtonLabel',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const NEW_INDEX_TEMPLATE_TYPES: { [key: string]: string } = {
defaultMessage: 'Connector',
}),
crawler: i18n.translate('xpack.enterpriseSearch.content.newIndex.types.crawler', {
defaultMessage: 'Web crawler',
defaultMessage: 'Web Crawler',
}),
elasticsearch: i18n.translate('xpack.enterpriseSearch.content.newIndex.types.elasticsearch', {
defaultMessage: 'Elasticsearch index',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const METHOD_CARD_OPTIONS: Record<INGESTION_METHOD_IDS, MethodCardOptions> = {
},
icon: getIngestionMethodIconType(INGESTION_METHOD_IDS.CRAWLER),
title: i18n.translate('xpack.enterpriseSearch.content.newIndex.methodCard.crawler.title', {
defaultMessage: 'Web crawler',
defaultMessage: 'Web Crawler',
}),
},
[INGESTION_METHOD_IDS.CONNECTOR]: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ export const NewSearchIndexTemplate: React.FC<Props> = ({
{i18n.translate(
'xpack.enterpriseSearch.content.newIndex.newSearchIndexTemplate.learnMoreCrawler.linkText',
{
defaultMessage: 'Learn more about the Elastic web crawler',
defaultMessage: 'Learn more about the Elastic Web Crawler',
}
)}
</EuiLink>
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/enterprise_search/server/integrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const registerEnterpriseSearchIntegrations = (
customIntegrations.registerCustomIntegration({
id: 'web_crawler',
title: i18n.translate('xpack.enterpriseSearch.integrations.webCrawlerName', {
defaultMessage: 'Web crawler',
defaultMessage: 'Web Crawler',
}),
description: i18n.translate('xpack.enterpriseSearch.integrations.webCrawlerDescription', {
defaultMessage: 'Add search to your website with the web crawler.',
Expand Down

0 comments on commit 24a47e8

Please sign in to comment.