diff --git a/src/legacy/core_plugins/input_control_vis/public/components/editor/__snapshots__/options_tab.test.js.snap b/src/legacy/core_plugins/input_control_vis/public/components/editor/__snapshots__/options_tab.test.js.snap index 522ea00ffd194..0a33e6e171549 100644 --- a/src/legacy/core_plugins/input_control_vis/public/components/editor/__snapshots__/options_tab.test.js.snap +++ b/src/legacy/core_plugins/input_control_vis/public/components/editor/__snapshots__/options_tab.test.js.snap @@ -50,7 +50,7 @@ exports[`renders OptionsTab 1`] = ` data-test-subj="inputControlEditorPinFiltersCheckbox" label={ diff --git a/src/legacy/core_plugins/input_control_vis/public/components/editor/options_tab.js b/src/legacy/core_plugins/input_control_vis/public/components/editor/options_tab.js index 46b0eae158d25..d63ef66117854 100644 --- a/src/legacy/core_plugins/input_control_vis/public/components/editor/options_tab.js +++ b/src/legacy/core_plugins/input_control_vis/public/components/editor/options_tab.js @@ -86,7 +86,7 @@ export class OptionsTab extends Component { } checked={this.props.editorState.params.pinFilters} onChange={this.handlePinFilters} diff --git a/src/legacy/core_plugins/kibana/index.js b/src/legacy/core_plugins/kibana/index.js index 853cf35c8cf86..a6c7262368ff4 100644 --- a/src/legacy/core_plugins/kibana/index.js +++ b/src/legacy/core_plugins/kibana/index.js @@ -69,9 +69,6 @@ export default function (kibana) { id: 'kibana', title: 'Kibana', listed: false, - description: i18n.translate('kbn.kibanaDescription', { - defaultMessage: 'the kibana you know and love' - }), main: 'plugins/kibana/kibana', }, styleSheetPaths: resolve(__dirname, 'public/index.scss'), @@ -83,9 +80,6 @@ export default function (kibana) { }), order: -1003, url: `${kbnBaseUrl}#/discover`, - description: i18n.translate('kbn.discoverDescription', { - defaultMessage: 'interactively explore your data' - }), icon: 'plugins/kibana/assets/discover.svg', euiIconType: 'discoverApp', }, { @@ -95,9 +89,6 @@ export default function (kibana) { }), order: -1002, url: `${kbnBaseUrl}#/visualize`, - description: i18n.translate('kbn.visualizeDescription', { - defaultMessage: 'design data visualizations' - }), icon: 'plugins/kibana/assets/visualize.svg', euiIconType: 'visualizeApp', }, { @@ -113,9 +104,6 @@ export default function (kibana) { // the url above in order to preserve the original url for BWC. The subUrlBase helps the Chrome api nav // to determine what url to use for the app link. subUrlBase: `${kbnBaseUrl}#/dashboard`, - description: i18n.translate('kbn.dashboardDescription', { - defaultMessage: 'compose visualizations for much win' - }), icon: 'plugins/kibana/assets/dashboard.svg', euiIconType: 'dashboardApp', }, { @@ -125,9 +113,6 @@ export default function (kibana) { }), order: 9001, url: '/app/kibana#/dev_tools', - description: i18n.translate('kbn.devToolsDescription', { - defaultMessage: 'development tools' - }), icon: 'plugins/kibana/assets/wrench.svg', euiIconType: 'devToolsApp', }, { @@ -137,9 +122,6 @@ export default function (kibana) { }), order: 9003, url: `${kbnBaseUrl}#/management`, - description: i18n.translate('kbn.managementDescription', { - defaultMessage: 'define index patterns, change config, and more' - }), icon: 'plugins/kibana/assets/settings.svg', euiIconType: 'managementApp', linkToLastSubUrl: false diff --git a/src/legacy/core_plugins/kibana/public/dashboard/panel/dashboard_panel.tsx b/src/legacy/core_plugins/kibana/public/dashboard/panel/dashboard_panel.tsx index 9ac8b3c49780a..ceb37dee0da19 100644 --- a/src/legacy/core_plugins/kibana/public/dashboard/panel/dashboard_panel.tsx +++ b/src/legacy/core_plugins/kibana/public/dashboard/panel/dashboard_panel.tsx @@ -71,7 +71,7 @@ class DashboardPanelUi extends React.Component { ? null : props.intl.formatMessage({ id: 'kbn.dashboard.panel.noEmbeddableFactoryErrorMessage', - defaultMessage: 'No factory found for embeddable', + defaultMessage: 'The feature to render this panel is missing.', }), }; diff --git a/src/legacy/core_plugins/region_map/public/region_map_vis_params.html b/src/legacy/core_plugins/region_map/public/region_map_vis_params.html index 6de8c8565f07d..2480648eb654f 100644 --- a/src/legacy/core_plugins/region_map/public/region_map_vis_params.html +++ b/src/legacy/core_plugins/region_map/public/region_map_vis_params.html @@ -136,6 +136,7 @@ for="outlineWeight" i18n-id="regionMap.visParams.outlineWeightLabel" i18n-default-message="Outline weight" + i18n-description="Describes the width of a line surrounding a country on a map." >
@@ -13,6 +14,7 @@ id="visEditorDateRangeTo{{agg.id}}" i18n-id="common.ui.aggTypes.dateRanges.toColumnLabel" i18n-default-message="To" + i18n-description="Describes the end of a date range, e.g. From 2018-02-26 *To* 2018-02-28" > diff --git a/src/legacy/ui/public/field_editor/components/scripting_call_outs/__snapshots__/disabled_call_out.test.js.snap b/src/legacy/ui/public/field_editor/components/scripting_call_outs/__snapshots__/disabled_call_out.test.js.snap index 7aeade16748ee..fa48075fe1d59 100644 --- a/src/legacy/ui/public/field_editor/components/scripting_call_outs/__snapshots__/disabled_call_out.test.js.snap +++ b/src/legacy/ui/public/field_editor/components/scripting_call_outs/__snapshots__/disabled_call_out.test.js.snap @@ -9,6 +9,7 @@ exports[`ScriptingDisabledCallOut should render normally 1`] = ` title={ diff --git a/src/legacy/ui/public/field_editor/components/scripting_call_outs/disabled_call_out.js b/src/legacy/ui/public/field_editor/components/scripting_call_outs/disabled_call_out.js index 4c3a2a68a84b0..b169dd5fe71af 100644 --- a/src/legacy/ui/public/field_editor/components/scripting_call_outs/disabled_call_out.js +++ b/src/legacy/ui/public/field_editor/components/scripting_call_outs/disabled_call_out.js @@ -32,7 +32,13 @@ export const ScriptingDisabledCallOut = ({ return isVisible ? ( } + title={ + + } color="danger" iconType="alert" > diff --git a/src/legacy/ui/public/field_editor/field_editor.js b/src/legacy/ui/public/field_editor/field_editor.js index 69ef86b11eedf..aa9b0d61dba83 100644 --- a/src/legacy/ui/public/field_editor/field_editor.js +++ b/src/legacy/ui/public/field_editor/field_editor.js @@ -387,7 +387,14 @@ export class FieldEditorComponent extends PureComponent { const { intl } = this.props; return ( - + { expect(JSON.parse(JSON.stringify(app))).to.eql({ id: spec.id, title: spec.title, - description: spec.description, icon: spec.icon, main: spec.main, linkToLastSubUrl: spec.linkToLastSubUrl, @@ -149,7 +147,6 @@ describe('ui apps / UiApp', () => { order: 9000, url: '/app/uiapp-test', subUrlBase: '/app/uiapp-test', - description: 'Test of UI App Constructor', icon: 'ui_app_test.svg', linkToLastSubUrl: true, hidden: false, diff --git a/src/legacy/ui/ui_apps/ui_app.js b/src/legacy/ui/ui_apps/ui_app.js index 1174f9da7f91b..da9c88888b420 100644 --- a/src/legacy/ui/ui_apps/ui_app.js +++ b/src/legacy/ui/ui_apps/ui_app.js @@ -27,7 +27,6 @@ export class UiApp { main, title, order = 0, - description, icon, euiIconType, hidden, @@ -44,7 +43,6 @@ export class UiApp { this._main = main; this._title = title; this._order = order; - this._description = description; this._icon = icon; this._euiIconType = euiIconType; this._linkToLastSubUrl = linkToLastSubUrl; @@ -66,7 +64,6 @@ export class UiApp { id: this._id, title: this._title, order: this._order, - description: this._description, icon: this._icon, euiIconType: this._euiIconType, url: this._url, @@ -118,7 +115,6 @@ export class UiApp { return { id: this._id, title: this._title, - description: this._description, icon: this._icon, euiIconType: this._euiIconType, main: this._main, diff --git a/src/legacy/ui/ui_nav_links/__tests__/ui_nav_link.js b/src/legacy/ui/ui_nav_links/__tests__/ui_nav_link.js index a7c7c005ec72b..be20ac0bded72 100644 --- a/src/legacy/ui/ui_nav_links/__tests__/ui_nav_link.js +++ b/src/legacy/ui/ui_nav_links/__tests__/ui_nav_link.js @@ -29,7 +29,6 @@ describe('UiNavLink', () => { title: 'Discover', order: -1003, url: '/app/kibana#/discover', - description: 'interactively explore your data', icon: 'plugins/kibana/assets/discover.svg', euiIconType: 'discoverApp', hidden: true, @@ -43,7 +42,6 @@ describe('UiNavLink', () => { order: spec.order, url: spec.url, subUrlBase: spec.url, - description: spec.description, icon: spec.icon, euiIconType: spec.euiIconType, hidden: spec.hidden, @@ -60,7 +58,6 @@ describe('UiNavLink', () => { id: 'kibana:discover', title: 'Discover', url: '/app/kibana#/discover', - description: 'interactively explore your data', icon: 'plugins/kibana/assets/discover.svg', }; const link = new UiNavLink(spec); @@ -74,7 +71,6 @@ describe('UiNavLink', () => { title: 'Discover', order: -1003, url: '/app/kibana#/discover', - description: 'interactively explore your data', icon: 'plugins/kibana/assets/discover.svg', linkToLastSubUrl: false }; @@ -89,7 +85,6 @@ describe('UiNavLink', () => { title: 'Discover', order: -1003, url: '/app/kibana#/discover', - description: 'interactively explore your data', icon: 'plugins/kibana/assets/discover.svg', }; const link = new UiNavLink(spec); @@ -103,7 +98,6 @@ describe('UiNavLink', () => { title: 'Discover', order: -1003, url: '/app/kibana#/discover', - description: 'interactively explore your data', icon: 'plugins/kibana/assets/discover.svg', }; const link = new UiNavLink(spec); @@ -117,7 +111,6 @@ describe('UiNavLink', () => { title: 'Discover', order: -1003, url: '/app/kibana#/discover', - description: 'interactively explore your data', icon: 'plugins/kibana/assets/discover.svg', }; const link = new UiNavLink(spec); @@ -131,7 +124,6 @@ describe('UiNavLink', () => { title: 'Discover', order: -1003, url: '/app/kibana#/discover', - description: 'interactively explore your data', icon: 'plugins/kibana/assets/discover.svg', }; const link = new UiNavLink(spec); diff --git a/src/legacy/ui/ui_nav_links/ui_nav_link.js b/src/legacy/ui/ui_nav_links/ui_nav_link.js index 25f7221b7b4be..7537a60adbcf2 100644 --- a/src/legacy/ui/ui_nav_links/ui_nav_link.js +++ b/src/legacy/ui/ui_nav_links/ui_nav_link.js @@ -25,7 +25,6 @@ export class UiNavLink { order = 0, url, subUrlBase, - description, icon, euiIconType, linkToLastSubUrl = true, @@ -39,7 +38,6 @@ export class UiNavLink { this._order = order; this._url = url; this._subUrlBase = subUrlBase || url; - this._description = description; this._icon = icon; this._euiIconType = euiIconType; this._linkToLastSubUrl = linkToLastSubUrl; @@ -59,7 +57,6 @@ export class UiNavLink { order: this._order, url: this._url, subUrlBase: this._subUrlBase, - description: this._description, icon: this._icon, euiIconType: this._euiIconType, linkToLastSubUrl: this._linkToLastSubUrl, diff --git a/x-pack/plugins/graph/index.js b/x-pack/plugins/graph/index.js index 626142eaf212f..aa11b433475c6 100644 --- a/x-pack/plugins/graph/index.js +++ b/x-pack/plugins/graph/index.js @@ -23,7 +23,6 @@ export function graph(kibana) { order: 9000, icon: 'plugins/graph/icon.png', euiIconType: 'graphApp', - description: 'Graph exploration', main: 'plugins/graph/app', }, styleSheetPaths: resolve(__dirname, 'public/index.scss'), diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index e0a0f7b5c0268..2e694d856a54f 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -109,7 +109,6 @@ "common.ui.aggTypes.buckets.significantTermsLabel": "{fieldName} 中排名前 {size} 的罕见词", "common.ui.aggTypes.buckets.significantTermsTitle": "重要词", "common.ui.aggTypes.buckets.terms.missingBucketLabel": "缺失", - "common.ui.aggTypes.buckets.terms.orderAggTitle": "顺序聚合", "common.ui.aggTypes.buckets.terms.orderAscendingTitle": "升序", "common.ui.aggTypes.buckets.terms.orderDescendingTitle": "降序", "common.ui.aggTypes.buckets.terms.otherBucketLabel": "其他", @@ -763,7 +762,6 @@ "inputControl.editor.listControl.parentLabel": "父控件", "inputControl.editor.listControl.sizeDescription": "选项数目", "inputControl.editor.listControl.sizeLabel": "大小", - "inputControl.editor.optionsTab.pinFiltersLabel": "将筛选固定在全局状态", "inputControl.editor.optionsTab.updateFilterLabel": "每次更改时更新 Kibana 筛选", "inputControl.editor.optionsTab.useTimeFilterLabel": "使用时间筛选", "inputControl.editor.rangeControl.decimalPlacesLabel": "小数位数", @@ -1205,7 +1203,6 @@ "kbn.dashboard.panel.editPanel.displayName": "编辑可视化", "kbn.dashboard.panel.inspectorPanel.displayName": "检查", "kbn.dashboard.panel.invalidVersionErrorMessage": "版本 {version} 无效,应为 {semver}", - "kbn.dashboard.panel.noEmbeddableFactoryErrorMessage": "未找到 Embeddable 的工厂", "kbn.dashboard.panel.noFoundEmbeddableFactoryErrorMessage": "未找到面板类型 {panelType} 的 Embeddable 工厂", "kbn.dashboard.panel.optionsMenu.optionsContextMenuTitle": "选项", "kbn.dashboard.panel.optionsMenu.panelOptionsButtonAriaLabel": "面板选项", @@ -1260,11 +1257,9 @@ "kbn.dashboard.topNave.viewConfigDescription": "取消编辑并切换到仅查看模式", "kbn.dashboard.urlWasRemovedInSixZeroWarningMessage": "6.0 中未移除 url“dashboard/create”。请更新您的书签。", "kbn.dashboard.visitVisualizeAppLinkText": "访问 Visualize 应用", - "kbn.dashboardDescription": "创作吸引注意力的可视化", "kbn.dashboardTitle": "仪表板", "kbn.devTools.consoleDescription": "跳过 cURL 并使用此 JSON 接口来直接处理您的数据。", "kbn.devTools.consoleTitle": "Console", - "kbn.devToolsDescription": "开发工具", "kbn.devToolsTitle": "开发工具", "kbn.discover.backToTopLinkText": "返至顶部。", "kbn.discover.bucketIntervalTooltip": "此时间间隔将创建{bucketsDescription}而无法在选定时间范围内显示 ,因此其已缩放至 {bucketIntervalDescription}", @@ -1350,7 +1345,6 @@ "kbn.discover.topNav.openSearchPanel.noSearchesFoundDescription": "未找到匹配的搜索。", "kbn.discover.topNav.openSearchPanel.openSearchTitle": "打开搜索", "kbn.discover.valueIsNotConfiguredIndexPatternIDWarningTitle": "{stateVal} 不是配置的索引模式 ID", - "kbn.discoverDescription": "以交互方式浏览您的数据", "kbn.discoverTitle": "Discover", "kbn.doc.couldNotFindDocumentsDescription": "抱歉,我无法在该索引中找到任何匹配该 ID 且为该类型的文档。我已进行非常努力的尝试。我希望它存在。有时候,我觉得文件一定长了腿,自行逃离了索引。有点诡异。我希望能够提供一些建议让您会感觉好一点", "kbn.doc.failedToExecuteQueryDescription": "无法执行查询", @@ -1441,7 +1435,6 @@ "kbn.home.tutorial.unhandledInstructionTypeErrorDescription": "未处理的指令类型 {visibleInstructions}", "kbn.home.welcomeDescription": "您了解 Elastic Stack 的窗口", "kbn.home.welcomeTitle": "欢迎使用 Kibana", - "kbn.kibanaDescription": "您了解并喜爱的 kibana", "kbn.management.createIndexPattern.betaLabel": "公测版", "kbn.management.createIndexPattern.emptyState.checkDataButton": "检查新数据", "kbn.management.createIndexPattern.emptyStateHeader": "找不到任何 Elasticsearch 数据", @@ -1732,7 +1725,6 @@ "kbn.management.settings.searchBar.unableToParseQueryErrorMessage": "无法解析查询", "kbn.management.settings.searchBarAriaLabel": "搜索高级设置", "kbn.management.settings.sectionLabel": "高级设置", - "kbn.managementDescription": "定义索引模式、更改配置等等", "kbn.managementTitle": "管理", "kbn.server.tutorials.aerospikeMetrics.artifacts.application.label": "Discover", "kbn.server.tutorials.aerospikeMetrics.longDescription": "Metricbeat 模块 `aerospike` 从 Aerospike 提取内部指标。[了解详情]({learnMoreLink})。", @@ -2059,7 +2051,6 @@ "kbn.visualize.topNavMenu.shareVisualizationButtonAriaLabel": "共享可视化", "kbn.visualize.visualizeDescription": "创建可视化并聚合存储在 Elasticsearch 索引中的数据。", "kbn.visualize.visualizeListingBreadcrumbsTitle": "可视化", - "kbn.visualizeDescription": "设计数据可视化", "kbn.visualizeTitle": "可视化", "kbnDocViews.table.fieldNamesBeginningWithUnderscoreUnsupportedTooltip": "不支持以 {underscoreSign} 开头的字段名称", "kbnDocViews.table.filterForFieldPresentButtonAriaLabel": "筛留存在的字段", @@ -2418,7 +2409,6 @@ "tileMap.wmsOptions.wmsStylesLabel": "WMS 样式*", "tileMap.wmsOptions.wmsUrlLabel": "WMS url*", "tileMap.wmsOptions.wmsVersionLabel": "WMS 版本*", - "timelion.appDescription": "适用于所有内容的时序表达式", "timelion.cells.actions.fullscreenAriaLabel": "全屏图表", "timelion.cells.actions.fullscreenTooltip": "全屏", "timelion.cells.actions.removeAriaLabel": "删除图表", @@ -8219,4 +8209,4 @@ "xpack.watcher.watchActionsTitle": "满足后将执行 {watchActionsCount, plural, one{# 个操作} other {# 个操作}}", "xpack.watcher.watcherDescription": "通过创建、管理和监测警报来检测数据中的更改。" } -} +} \ No newline at end of file