-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
87 additions
and
58 deletions.
There are no files selected for viewing
58 changes: 58 additions & 0 deletions
58
...k/plugins/enterprise_search/public/applications/app_search/components/engine/constants.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License; | ||
* you may not use this file except in compliance with the Elastic License. | ||
*/ | ||
|
||
import { i18n } from '@kbn/i18n'; | ||
|
||
// TODO: It's very likely that we'll move these i18n constants to their respective component | ||
// folders once those are migrated over. This is a temporary way of DRYing them out for now. | ||
|
||
export const ENGINES_TITLE = i18n.translate('xpack.enterpriseSearch.appSearch.engines.title', { | ||
defaultMessage: 'Engines', | ||
}); | ||
|
||
export const OVERVIEW_TITLE = i18n.translate( | ||
'xpack.enterpriseSearch.appSearch.engine.overview.title', | ||
{ defaultMessage: 'Overview' } | ||
); | ||
export const ANALYTICS_TITLE = i18n.translate( | ||
'xpack.enterpriseSearch.appSearch.engine.analytics.title', | ||
{ defaultMessage: 'Analytics' } | ||
); | ||
export const DOCUMENTS_TITLE = i18n.translate( | ||
'xpack.enterpriseSearch.appSearch.engine.documents.title', | ||
{ defaultMessage: 'Documents' } | ||
); | ||
export const SCHEMA_TITLE = i18n.translate('xpack.enterpriseSearch.appSearch.engine.schema.title', { | ||
defaultMessage: 'Schema', | ||
}); | ||
export const CRAWLER_TITLE = i18n.translate( | ||
'xpack.enterpriseSearch.appSearch.engine.crawler.title', | ||
{ defaultMessage: 'Crawler' } | ||
); | ||
export const RELEVANCE_TUNING_TITLE = i18n.translate( | ||
'xpack.enterpriseSearch.appSearch.engine.relevanceTuning.title', | ||
{ defaultMessage: 'Relevance Tuning' } | ||
); | ||
export const SYNONYMS_TITLE = i18n.translate( | ||
'xpack.enterpriseSearch.appSearch.engine.synonyms.title', | ||
{ defaultMessage: 'Synonyms' } | ||
); | ||
export const CURATIONS_TITLE = i18n.translate( | ||
'xpack.enterpriseSearch.appSearch.engine.curations.title', | ||
{ defaultMessage: 'Curations' } | ||
); | ||
export const RESULT_SETTINGS_TITLE = i18n.translate( | ||
'xpack.enterpriseSearch.appSearch.engine.resultSettings.title', | ||
{ defaultMessage: 'Result Settings' } | ||
); | ||
export const SEARCH_UI_TITLE = i18n.translate( | ||
'xpack.enterpriseSearch.appSearch.engine.searchUI.title', | ||
{ defaultMessage: 'Search UI' } | ||
); | ||
export const API_LOGS_TITLE = i18n.translate( | ||
'xpack.enterpriseSearch.appSearch.engine.apiLogs.title', | ||
{ defaultMessage: 'API Logs' } | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters