diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/auto_follow_pattern_table/auto_follow_pattern_table.js b/x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/auto_follow_pattern_table/auto_follow_pattern_table.js index a26a9cd544983..66f4bd7a05793 100644 --- a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/auto_follow_pattern_table/auto_follow_pattern_table.js +++ b/x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/auto_follow_pattern_table/auto_follow_pattern_table.js @@ -61,59 +61,52 @@ export class AutoFollowPatternTableUI extends PureComponent { return [{ field: 'name', - name: ( - - ), + name: intl.formatMessage({ + id: 'xpack.crossClusterReplication.autoFollowPatternList.table.nameColumnTitle', + defaultMessage: 'Name', + }), sortable: true, truncateText: false, }, { field: 'remoteCluster', - name: ( - - ), + name: intl.formatMessage({ + id: 'xpack.crossClusterReplication.autoFollowPatternList.table.clusterColumnTitle', + defaultMessage: 'Cluster', + }), truncateText: true, sortable: true, }, { field: 'leaderIndexPatterns', - name: ( - - ), + name: intl.formatMessage({ + id: 'xpack.crossClusterReplication.autoFollowPatternList.table.leaderPatternsColumnTitle', + defaultMessage: 'Leader patterns', + }), render: (leaderPatterns) => leaderPatterns.join(', '), }, { field: 'followIndexPattern', - name: ( - - ), + name: intl.formatMessage({ + id: 'xpack.crossClusterReplication.autoFollowPatternList.table.prefixColumnTitle', + defaultMessage: 'Follower pattern prefix', + }), render: (followIndexPattern) => { const { followIndexPatternPrefix } = getPrefixSuffixFromFollowPattern(followIndexPattern); return followIndexPatternPrefix; } }, { field: 'followIndexPattern', - name: ( - - ), + name: intl.formatMessage({ + id: 'xpack.crossClusterReplication.autoFollowPatternList.table.suffixColumnTitle', + defaultMessage: 'Follower pattern suffix', + }), render: (followIndexPattern) => { const { followIndexPatternSuffix } = getPrefixSuffixFromFollowPattern(followIndexPattern); return followIndexPatternSuffix; } }, { - name: '', + name: intl.formatMessage({ + id: 'xpack.crossClusterReplication.autoFollowPatternList.table.actionsColumnTitle', + defaultMessage: 'Actions', + }), actions: [ { render: ({ name }) => { @@ -152,7 +145,7 @@ export class AutoFollowPatternTableUI extends PureComponent { type: 'icon', }, ], - width: '40px', + width: '100px', }]; } diff --git a/x-pack/plugins/remote_clusters/public/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.js b/x-pack/plugins/remote_clusters/public/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.js index f67efba1475e7..8ee616f17e482 100644 --- a/x-pack/plugins/remote_clusters/public/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.js +++ b/x-pack/plugins/remote_clusters/public/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.js @@ -71,6 +71,7 @@ export class RemoteClusterTableUi extends Component { render() { const { openDetailPanel, + intl, } = this.props; const { @@ -79,12 +80,10 @@ export class RemoteClusterTableUi extends Component { const columns = [{ field: 'name', - name: ( - - ), + name: intl.formatMessage({ + id: 'xpack.remoteClusters.remoteClusterList.table.nameColumnTitle', + defaultMessage: 'Name', + }), sortable: true, truncateText: false, render: (name, { isConfiguredByNode }) => { @@ -121,42 +120,34 @@ export class RemoteClusterTableUi extends Component { } }, { field: 'seeds', - name: ( - - ), + name: intl.formatMessage({ + id: 'xpack.remoteClusters.remoteClusterList.table.seedsColumnTitle', + defaultMessage: 'Seeds', + }), truncateText: true, render: (seeds) => seeds.join(', '), }, { field: 'isConnected', - name: ( - - ), + name: intl.formatMessage({ + id: 'xpack.remoteClusters.remoteClusterList.table.connectedColumnTitle', + defaultMessage: 'Connection', + }), sortable: true, render: (isConnected) => , width: '160px', }, { field: 'connectedNodesCount', - name: ( - - ), + name: intl.formatMessage({ + id: 'xpack.remoteClusters.remoteClusterList.table.connectedNodesColumnTitle', + defaultMessage: 'Connected nodes', + }), sortable: true, width: '160px', }, { - name: ( - - ), + name: intl.formatMessage({ + id: 'xpack.remoteClusters.remoteClusterList.table.actionsColumnTitle', + defaultMessage: 'Actions', + }), width: '100px', actions: [{ render: ({ name, isConfiguredByNode }) => {