fix(xo-web): missingPaths → missingPatches (#3741)
This commit is contained in:
parent
205f09a633
commit
12dd40d330
@ -388,7 +388,7 @@ export default {
|
||||
homeMigrateTo: 'Migrar a…',
|
||||
|
||||
// Original text: 'Missing patches'
|
||||
homeMissingPaths: undefined,
|
||||
homeMissingPatches: undefined,
|
||||
|
||||
// Original text: 'Master:'
|
||||
homePoolMaster: undefined,
|
||||
|
@ -393,7 +393,7 @@ export default {
|
||||
homeMigrateTo: 'Migrer vers…',
|
||||
|
||||
// Original text: "Missing patches"
|
||||
homeMissingPaths: 'Patches manquant',
|
||||
homeMissingPatches: 'Patches manquant',
|
||||
|
||||
// Original text: "Master:"
|
||||
homePoolMaster: 'Maître :',
|
||||
|
@ -333,7 +333,7 @@ export default {
|
||||
homeMigrateTo: 'העבר ל…',
|
||||
|
||||
// Original text: 'Missing patches'
|
||||
homeMissingPaths: undefined,
|
||||
homeMissingPatches: undefined,
|
||||
|
||||
// Original text: 'Master:'
|
||||
homePoolMaster: undefined,
|
||||
|
@ -374,7 +374,7 @@ export default {
|
||||
homeMigrateTo: 'Migálás ide…',
|
||||
|
||||
// Original text: "Missing patches"
|
||||
homeMissingPaths: 'Missing patches',
|
||||
homeMissingPatches: 'Missing patches',
|
||||
|
||||
// Original text: "Master:"
|
||||
homePoolMaster: 'Master:',
|
||||
|
@ -337,7 +337,7 @@ export default {
|
||||
homeMigrateTo: 'Migruj do…',
|
||||
|
||||
// Original text: "Missing patches"
|
||||
homeMissingPaths: 'Brakujące łatki',
|
||||
homeMissingPatches: 'Brakujące łatki',
|
||||
|
||||
// Original text: "Master:"
|
||||
homePoolMaster: 'Master:',
|
||||
|
@ -333,7 +333,7 @@ export default {
|
||||
homeMigrateTo: 'Migrar para…',
|
||||
|
||||
// Original text: 'Missing patches'
|
||||
homeMissingPaths: undefined,
|
||||
homeMissingPatches: undefined,
|
||||
|
||||
// Original text: 'Master:'
|
||||
homePoolMaster: undefined,
|
||||
|
@ -453,7 +453,7 @@ export default {
|
||||
homeMigrateTo: 'Taşı...',
|
||||
|
||||
// Original text: "Missing patches"
|
||||
homeMissingPaths: 'Eksik yamalar',
|
||||
homeMissingPatches: 'Eksik yamalar',
|
||||
|
||||
// Original text: "Master:"
|
||||
homePoolMaster: 'Master:',
|
||||
|
@ -288,7 +288,7 @@ export default {
|
||||
homeMigrateTo: '迁移至…',
|
||||
|
||||
// Original text: "Missing patches"
|
||||
homeMissingPaths: '缺少补丁',
|
||||
homeMissingPatches: '缺少补丁',
|
||||
|
||||
// Original text: "High Availability"
|
||||
highAvailability: '高可用',
|
||||
|
@ -177,7 +177,7 @@ const messages = {
|
||||
homeSelectedItems: '{selected, number}x {icon} selected (on {total, number})',
|
||||
homeMore: 'More',
|
||||
homeMigrateTo: 'Migrate to…',
|
||||
homeMissingPaths: 'Missing patches',
|
||||
homeMissingPatches: 'Missing patches',
|
||||
homePoolMaster: 'Master:',
|
||||
homeResourceSet: 'Resource set: {resourceSet}',
|
||||
highAvailability: 'High Availability',
|
||||
|
@ -52,7 +52,7 @@ import styles from './index.css'
|
||||
|
||||
return {
|
||||
hostMetrics: getHostMetrics,
|
||||
missingPaths: getMissingPatches,
|
||||
missingPatches: getMissingPatches,
|
||||
poolHosts: getPoolHosts,
|
||||
nSrs: getNumberOfSrs,
|
||||
nVms: getNumberOfVms,
|
||||
@ -69,7 +69,7 @@ export default class PoolItem extends Component {
|
||||
_onSelect = () => this.props.onSelect(this.props.item.id)
|
||||
|
||||
componentWillMount () {
|
||||
this.props.missingPaths.then(patches =>
|
||||
this.props.missingPatches.then(patches =>
|
||||
this.setState({ missingPatchCount: size(patches) })
|
||||
)
|
||||
}
|
||||
@ -109,7 +109,7 @@ export default class PoolItem extends Component {
|
||||
{missingPatchCount > 0 && (
|
||||
<span>
|
||||
|
||||
<Tooltip content={_('homeMissingPaths')}>
|
||||
<Tooltip content={_('homeMissingPatches')}>
|
||||
<span className='tag tag-pill tag-danger'>
|
||||
{missingPatchCount}
|
||||
</span>
|
||||
|
Loading…
Reference in New Issue
Block a user