Skip to content

Commit

Permalink
fixing i18n issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Samiul-TheSoccerFan committed Nov 21, 2024
1 parent 83da4ab commit 4361cb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
4 changes: 0 additions & 4 deletions x-pack/plugins/search_inference_endpoints/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@
* 2.0.
*/

import { SearchInferenceEndpointsId } from '@kbn/deeplinks-search/deep_links';

export const PLUGIN_ID = 'searchInferenceEndpoints';
export const PLUGIN_NAME = 'Inference Endpoints';

export const INFERENCE_ENDPOINTS_QUERY_KEY = 'inferenceEndpointsQueryKey';
export const TRAINED_MODEL_STATS_QUERY_KEY = 'trainedModelStats';

export const SEARCH_INFERENCE_ENDPOINTS: SearchInferenceEndpointsId = 'searchInferenceEndpoints';
9 changes: 3 additions & 6 deletions x-pack/plugins/search_inference_endpoints/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,9 @@ export class SearchInferenceEndpointsPlugin
{
id: 'inferenceEndpoints',
path: `/${INFERENCE_ENDPOINTS_PATH}`,
title: i18n.translate(
'xpack.enterpriseSearch.navigation.relevanceInferenceEndpointsLinkLabel',
{
defaultMessage: 'Inference Endpoints',
}
),
title: i18n.translate('xpack.searchInferenceEndpoints.InferenceEndpointsLinkLabel', {
defaultMessage: 'Inference Endpoints',
}),
},
],
title: PLUGIN_NAME,
Expand Down

0 comments on commit 4361cb7

Please sign in to comment.