Skip to content

Commit

Permalink
Now fix translate
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-shelkovnikov authored Jan 10, 2025
1 parent fcfa044 commit 0b53993
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/kbn-search-connectors/types/native_connectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4380,15 +4380,15 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
default_value: null,
depends_on: [],
display: DisplayType.DROPDOWN,
label: translate(
label: i18n.translate(
'searchConnectors.nativeConnectors.sharepoint_online.configuration.authMethodLabel',
{
defaultMessage: 'Authentication Method',
}
),
options: [
{
label: translate(
label: i18n.translate(
'searchConnectors.nativeConnectors.sharepoint_online.configuration.authMethod.clientSecretLabel',
{
defaultMessage: 'Client Secret',
Expand All @@ -4397,7 +4397,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
value: 'secret',
},
{
label: translate(
label: i18n.translate(
'searchConnectors.nativeConnectors.sharepoint_online.configuration.authMethod.certificateLabel',
{
defaultMessage: 'Certificate',
Expand Down Expand Up @@ -4444,7 +4444,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
},
],
display: DisplayType.TEXTAREA,
label: translate(
label: i18n.translate(
'searchConnectors.nativeConnectors.sharepoint_online.configuration.certificateLabel',
{
defaultMessage: 'Content of certificate file',
Expand All @@ -4469,7 +4469,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
},
],
display: DisplayType.TEXTAREA,
label: translate(
label: i18n.translate(
'searchConnectors.nativeConnectors.sharepoint_online.configuration.privateKeyLabel',
{
defaultMessage: 'Content of private key file',
Expand Down

0 comments on commit 0b53993

Please sign in to comment.