Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ent Search] Fix connector client UI copy #179579

Merged
merged 12 commits into from
Apr 2, 2024
Expand Up @@ -101,7 +101,8 @@ export const ConnectorConfiguration: React.FC = () => {
i18n.translate(
'xpack.enterpriseSearch.content.connectorDetail.configuration.apiKey.noApiKeyLabel',
{
defaultMessage: 'Please set an index name before generating an API key',
defaultMessage:
'Before you can generate an API key, you need to attach an index. Scroll to the bottom of this page for instructions.',
}
)
),
Expand All @@ -117,41 +118,21 @@ export const ConnectorConfiguration: React.FC = () => {
{
children: (
<>
<EuiText size="s">
<FormattedMessage
id="xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.description.secondParagraph"
defaultMessage="The connectors repository contains several {link}. Use our framework to accelerate developing connectors for custom data sources."
values={{
link: (
<EuiLink
href="https://github.com/elastic/connectors-python/tree/main/connectors"
target="_blank"
external
>
{i18n.translate(
'xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.clientExamplesLink',
{ defaultMessage: 'connector client examples' }
)}
</EuiLink>
),
}}
/>
</EuiText>
<EuiSpacer />
<EuiText size="s">
<FormattedMessage
id="xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.description.thirdParagraph"
defaultMessage="In this step, you will need to clone or fork the repository, and copy the generated API key and connector ID to the associated {link}. The connector ID will identify this connector to Search. The service type will determine which type of data source the connector is configured for."
defaultMessage="In this step, you will need to clone or fork the elastic/connectors repository, and copy the API key and connector ID values to the config.yml file. Here's an {exampleLink}."
values={{
link: (
exampleLink: (
<EuiLink
href="https://github.com/elastic/connectors-python/blob/main/config.yml"
href="https://github.com/elastic/connectors-python/blob/main/config.yml.example"
leemthompo marked this conversation as resolved.
Show resolved Hide resolved
target="_blank"
external
>
{i18n.translate(
'xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.configurationFileLink',
{ defaultMessage: 'configuration file' }
{ defaultMessage: 'example config file' }
)}
</EuiLink>
),
Expand All @@ -171,13 +152,24 @@ export const ConnectorConfiguration: React.FC = () => {
</EuiCodeBlock>
<EuiSpacer />
<EuiText size="s">
{i18n.translate(
'xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.connectorDeployedText',
{
defaultMessage:
'Once configured, deploy the connector on your infrastructure.',
}
)}
<FormattedMessage
id="xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.description.fourthParagraph"
defaultMessage="Because this connector is self-managed, you need to deploy the connector service on your own infrastructure. You can build from source or use Docker. Refer to the {link} for your deployment options."
values={{
link: (
<EuiLink
href="https://www.elastic.co/guide/en/enterprise-search/current/deploy-connector-client.html"
leemthompo marked this conversation as resolved.
Show resolved Hide resolved
target="_blank"
external
>
{i18n.translate(
'xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.deploymentModeLink',
{ defaultMessage: 'documentation' }
)}
</EuiLink>
),
}}
/>
</EuiText>
</>
),
Expand All @@ -188,7 +180,7 @@ export const ConnectorConfiguration: React.FC = () => {
title: i18n.translate(
'xpack.enterpriseSearch.content.connector_detail.configurationConnector.steps.deployConnector.title',
{
defaultMessage: 'Deploy connector',
defaultMessage: 'Set up and deploy connector',
}
),
titleSize: 'xs',
Expand Down Expand Up @@ -264,7 +256,7 @@ export const ConnectorConfiguration: React.FC = () => {
title: i18n.translate(
'xpack.enterpriseSearch.content.connector_detail.configurationConnector.steps.enhance.title',
{
defaultMessage: 'Enhance your connector client',
defaultMessage: 'Configure your connector',
}
),
titleSize: 'xs',
Expand Down
8 changes: 3 additions & 5 deletions x-pack/plugins/translations/translations/fr-FR.json
Expand Up @@ -5200,16 +5200,16 @@
"kbn-esql-validation-autocomplete.esql.definitions.trimDoc": "Supprime les espaces de début et de fin d'une chaîne.",
"kbn-esql-validation-autocomplete.esql.definitions.whereDoc": "Utilise \"predicate-expressions\" pour filtrer les résultats de recherche. Une expression predicate, lorsqu'elle est évaluée, renvoie TRUE ou FALSE. La commande where renvoie uniquement les résultats qui donnent la valeur TRUE. Par exemple, pour filtrer les résultats pour une valeur de champ spécifique",
"kbn-esql-validation-autocomplete.esql.definitions.withDoc": "Avec",
"monaco.esql.hover.policyEnrichedFields": "**Champs**",
"monaco.esql.hover.policyIndexes": "**Indexes**",
"monaco.esql.hover.policyMatchingField": "**Champ correspondant**",
"kbn-esql-validation-autocomplete.esql.quickfix.replaceWithQuote": "Remplacer les guillemets par le signe \" (double)",
"kbn-esql-validation-autocomplete.esql.validation.dropAllColumnsError": "Il est interdit de supprimer tous les champs [*]",
"kbn-esql-validation-autocomplete.esql.validation.dropTimestampWarning": "La suppression de [@timestamp] effacera tous les filtres de temps des résultats de la recherche",
"kbn-esql-validation-autocomplete.esql.validation.metadataBracketsDeprecation": "Les crochets \"[]\" doivent être supprimés de la déclaration FROM METADATA",
"kbn-esql-validation-autocomplete.esql.validation.statsNoArguments": "[STATS] doit contenir au moins une expression d'agrégation ou de regroupement",
"kbn-esql-validation-autocomplete.esql.validation.unknownColumnType": "Type inconnu",
"kbn-esql-validation-autocomplete.esql.validation.unknownInterval": "Qualificatif d'intervalle de temps inattendu : \"{value}\"",
"monaco.esql.hover.policyEnrichedFields": "**Champs**",
"monaco.esql.hover.policyIndexes": "**Indexes**",
"monaco.esql.hover.policyMatchingField": "**Champ correspondant**",
"monaco.painlessLanguage.autocomplete.docKeywordDescription": "Accéder à une valeur de champ dans un script au moyen de la syntaxe doc['field_name']",
"monaco.painlessLanguage.autocomplete.emitKeywordDescription": "Émettre une valeur sans rien renvoyer",
"monaco.painlessLanguage.autocomplete.fieldValueDescription": "Récupérer la valeur du champ \"{fieldName}\"",
Expand Down Expand Up @@ -13924,7 +13924,6 @@
"xpack.enterpriseSearch.connectorStats.incompleteBadgeLabel": "{number} incomplet(s)",
"xpack.enterpriseSearch.connectorStats.runningSyncsTextLabel": "{syncs} synchronisations en cours",
"xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.connectorConnected": "Votre connecteur {name} s'est bien connecté à Search.",
"xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.description.secondParagraph": "Le référentiel de connecteurs contient plusieurs {link}. Utilisez notre cadre pour accélérer le développement de connecteurs pour des sources de données personnalisées.",
"xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.description.thirdParagraph": "Dans cette étape, vous devez cloner ou dupliquer le référentiel, puis copier la clé d'API et l'ID de connecteur générés au {link} associé. L'ID de connecteur identifiera ce connecteur auprès de Search. Le type de service détermine pour quel type de source de données le connecteur est configuré.",
"xpack.enterpriseSearch.content.connectors.connectorsTable.columns.actions.viewIndex.caption": "Voir l'index {connectorName}",
"xpack.enterpriseSearch.content.connectors.connectorTable.column.actions.deleteIndex": "Supprimer le connecteur {connectorName}",
Expand Down Expand Up @@ -15213,7 +15212,6 @@
"xpack.enterpriseSearch.content.analytics.api.generateAnalyticsApiKeyModal.title": "Créer une clé d'API d'analyse",
"xpack.enterpriseSearch.content.cannotConnect.body": "En savoir plus.",
"xpack.enterpriseSearch.content.cannotConnect.title": "Impossible de se connecter à Enterprise Search",
"xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.clientExamplesLink": "exemples de clients connecteurs",
"xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.configurationFileLink": "fichier de configuration",
"xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.connectorDeployedText": "Une fois le connecteur configuré, déployez-le dans votre infrastructure.",
"xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.waitingForConnector.button.label": "Revérifier maintenant",
Expand Down
8 changes: 3 additions & 5 deletions x-pack/plugins/translations/translations/ja-JP.json
Expand Up @@ -5192,16 +5192,16 @@
"kbn-esql-validation-autocomplete.esql.definitions.trimDoc": "文字列から先頭と末尾の空白を削除します。",
"kbn-esql-validation-autocomplete.esql.definitions.whereDoc": "「predicate-expressions」を使用して、検索結果をフィルターします。予測式は評価時にTRUEまたはFALSEを返します。whereコマンドはTRUEに評価される結果のみを返します。たとえば、特定のフィールド値の結果をフィルターします",
"kbn-esql-validation-autocomplete.esql.definitions.withDoc": "を使用して",
"monaco.esql.hover.policyEnrichedFields": "**フィールド**",
"monaco.esql.hover.policyIndexes": "**インデックス**",
"monaco.esql.hover.policyMatchingField": "**一致するフィールド**",
"kbn-esql-validation-autocomplete.esql.quickfix.replaceWithQuote": "引用符を\"(二重引用符)に変更",
"kbn-esql-validation-autocomplete.esql.validation.dropAllColumnsError": "すべてのフィールドの削除はできません[*]",
"kbn-esql-validation-autocomplete.esql.validation.dropTimestampWarning": "[@timestamp]を破棄すると、検索結果に対するすべての時間フィルターが削除されます",
"kbn-esql-validation-autocomplete.esql.validation.metadataBracketsDeprecation": "FROM METADATA宣言から角括弧[]を削除する必要があります",
"kbn-esql-validation-autocomplete.esql.validation.statsNoArguments": "[STATS]では1つ以上の集計またはグループ式が必要です",
"kbn-esql-validation-autocomplete.esql.validation.unknownColumnType": "不明なタイプ",
"kbn-esql-validation-autocomplete.esql.validation.unknownInterval": "想定されていない時間間隔修飾子:'{value}'",
"monaco.esql.hover.policyEnrichedFields": "**フィールド**",
"monaco.esql.hover.policyIndexes": "**インデックス**",
"monaco.esql.hover.policyMatchingField": "**一致するフィールド**",
"monaco.painlessLanguage.autocomplete.docKeywordDescription": "doc['field_name'] 構文を使用して、スクリプトからフィールド値にアクセスします",
"monaco.painlessLanguage.autocomplete.emitKeywordDescription": "戻らずに値を発行します。",
"monaco.painlessLanguage.autocomplete.fieldValueDescription": "フィールド「{fieldName}」の値を取得します",
Expand Down Expand Up @@ -13903,7 +13903,6 @@
"xpack.enterpriseSearch.connectorStats.incompleteBadgeLabel": "{number}件が未完了です",
"xpack.enterpriseSearch.connectorStats.runningSyncsTextLabel": "{syncs}実行中の同期",
"xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.connectorConnected": "コネクター{name}は、正常にSearchに接続されました。",
"xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.description.secondParagraph": "コネクターリポジトリには複数の{link}が含まれています。当社のフレームワークを使用すると、カスタムデータソース用のコネクターの開発を加速できます。",
"xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.description.thirdParagraph": "このステップでは、リポジトリを複製または分割し、関連付けられた{link}に対する生成されたAPIキーとコネクターIDをコピーします。コネクターIDは、Searchに対するこのコネクターを特定します。サービスタイプは、コネクターが構成されているデータソースのタイプを決定します。",
"xpack.enterpriseSearch.content.connectors.connectorsTable.columns.actions.viewIndex.caption": "インデックス{connectorName}を表示",
"xpack.enterpriseSearch.content.connectors.connectorTable.column.actions.deleteIndex": "コネクター\"{connectorName}\"を削除",
Expand Down Expand Up @@ -15191,7 +15190,6 @@
"xpack.enterpriseSearch.content.analytics.api.generateAnalyticsApiKeyModal.title": "分析APIキーを作成",
"xpack.enterpriseSearch.content.cannotConnect.body": "詳細。",
"xpack.enterpriseSearch.content.cannotConnect.title": "エンタープライズ サーチに接続できません",
"xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.clientExamplesLink": "コネクタークライアントの例",
"xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.configurationFileLink": "構成ファイル",
"xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.connectorDeployedText": "構成したら、インフラでコネクターをデプロイします。",
"xpack.enterpriseSearch.content.connector_detail.configurationConnector.connectorPackage.waitingForConnector.button.label": "今すぐ再確認",
Expand Down