Skip to content

Commit

Permalink
Remove duplicate refresh button from vis editor menu (elastic#63633) (e…
Browse files Browse the repository at this point in the history
…lastic#63719)

* Remove the refresh button from vis editor

* Remove unused translations
  • Loading branch information
Tim Roes authored Apr 16, 2020
1 parent 650a3ac commit fe7dc5b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,17 +280,6 @@ function VisualizeAppController($scope, $route, $injector, $timeout, kbnUrlState
}
},
},
{
id: 'refresh',
label: i18n.translate('kbn.topNavMenu.refreshButtonLabel', { defaultMessage: 'refresh' }),
description: i18n.translate('kbn.visualize.topNavMenu.refreshButtonAriaLabel', {
defaultMessage: 'Refresh',
}),
run: function() {
embeddableHandler.reload();
},
testId: 'visualizeRefreshButton',
},
];

if (savedVis.id) {
Expand Down
2 changes: 0 additions & 2 deletions x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -2309,7 +2309,6 @@
"kbn.management.landing.text": "すべてのツールの一覧は、左のメニューにあります。",
"kbn.managementTitle": "管理",
"kbn.topNavMenu.openInspectorButtonLabel": "検査",
"kbn.topNavMenu.refreshButtonLabel": "更新",
"kbn.topNavMenu.saveVisualizationButtonLabel": "保存",
"kbn.topNavMenu.shareVisualizationButtonLabel": "共有",
"kbn.visualize.badge.readOnly.text": "読み込み専用",
Expand Down Expand Up @@ -2337,7 +2336,6 @@
"kbn.visualize.saveDialog.saveAndAddToDashboardButtonLabel": "保存してダッシュボードに追加",
"kbn.visualize.topNavMenu.openInspectorButtonAriaLabel": "ビジュアライゼーションのインスペクターを開く",
"kbn.visualize.topNavMenu.openInspectorDisabledButtonTooltip": "このビジュアライゼーションはインスペクターをサポートしていません。",
"kbn.visualize.topNavMenu.refreshButtonAriaLabel": "更新",
"kbn.visualize.topNavMenu.saveVisualization.failureNotificationText": "「{visTitle}」の保存中にエラーが発生しました",
"kbn.visualize.topNavMenu.saveVisualization.successNotificationText": "「{visTitle}」が保存されました",
"kbn.visualize.topNavMenu.saveVisualizationButtonAriaLabel": "ビジュアライゼーションを保存",
Expand Down
2 changes: 0 additions & 2 deletions x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -2310,7 +2310,6 @@
"kbn.management.landing.text": "应用的完整列表位于左侧菜单中。",
"kbn.managementTitle": "管理",
"kbn.topNavMenu.openInspectorButtonLabel": "检查",
"kbn.topNavMenu.refreshButtonLabel": "刷新",
"kbn.topNavMenu.saveVisualizationButtonLabel": "保存",
"kbn.topNavMenu.shareVisualizationButtonLabel": "共享",
"kbn.visualize.badge.readOnly.text": "只读",
Expand Down Expand Up @@ -2338,7 +2337,6 @@
"kbn.visualize.saveDialog.saveAndAddToDashboardButtonLabel": "保存并添加到仪表板",
"kbn.visualize.topNavMenu.openInspectorButtonAriaLabel": "打开检查器查看可视化",
"kbn.visualize.topNavMenu.openInspectorDisabledButtonTooltip": "此可视化不支持任何检查器。",
"kbn.visualize.topNavMenu.refreshButtonAriaLabel": "刷新",
"kbn.visualize.topNavMenu.saveVisualization.failureNotificationText": "保存 “{visTitle}” 时出错",
"kbn.visualize.topNavMenu.saveVisualization.successNotificationText": "已保存“{visTitle}”",
"kbn.visualize.topNavMenu.saveVisualizationButtonAriaLabel": "保存可视化",
Expand Down

0 comments on commit fe7dc5b

Please sign in to comment.