Skip to content

Commit 1cc4da2

Browse files
authored
fix: unify wordings (#894)
Signed-off-by: Yi-Ya Chen <[email protected]>
1 parent dc9cb31 commit 1cc4da2

5 files changed

+5
-5
lines changed

src/routes/volume/UpdateBulkUnmapMarkSnapChainRemovedModal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const modal = ({
4141
}
4242

4343
const modalOpts = {
44-
title: 'Allow snapshots removal during trim',
44+
title: 'Allow Snapshots Removal During Trim',
4545
visible,
4646
onCancel,
4747
width: 600,

src/routes/volume/UpdateUnmapMarkSnapChainRemovedModal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const modal = ({
4141
}
4242

4343
const modalOpts = {
44-
title: 'Allow snapshots removal during trim',
44+
title: 'Allow Snapshots Removal During Trim',
4545
visible,
4646
onCancel,
4747
width: 600,

src/routes/volume/VolumeActions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ function actions({
229229
{ key: 'updateAccessMode', name: 'Update Access Mode', disabled: (selected.kubernetesStatus && selected.kubernetesStatus.pvStatus) || !canUpdateAccessMode() },
230230
{ key: 'updateBackupTargetName', name: 'Update Backup Target' },
231231
{ key: 'updateReplicaAutoBalance', name: 'Update Replicas Auto Balance', disabled: !canUpdateReplicaAutoBalance() },
232-
{ key: 'updateUnmapMarkSnapChainRemoved', name: 'Allow snapshots removal during trim', disabled: false },
232+
{ key: 'updateUnmapMarkSnapChainRemoved', name: 'Allow Snapshots Removal During Trim', disabled: false },
233233
{ key: 'updateReplicaSoftAntiAffinity', name: 'Update Replica Soft Anti Affinity', disabled: false },
234234
{ key: 'updateReplicaZoneSoftAntiAffinity', name: 'Update Replica Zone Soft Anti Affinity', disabled: false },
235235
{ key: 'updateSnapshotMaxCount', name: 'Update Snapshot Max Count', disabled: false },

src/routes/volume/VolumeBulkActions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ function bulkActions({
208208
{ key: 'updateReplicaAutoBalance', name: 'Update Replicas Auto Balance', disabled() { return selectedRows.length === 0 || disableUpdateReplicaAutoBalance() } },
209209
{ key: 'createPVAndPVC', name: 'Create PV/PVC', disabled() { return selectedRows.length === 0 || isHasStandy() || hasVolumeRestoring() || isHasPVC() || isFaulted() || !hasAction('pvCreate') || !hasAction('pvcCreate') } },
210210
{ key: 'bulkChangeVolume', name: 'Activate Disaster Recovery Volume', disabled() { return selectedRows.length === 0 || selectedRows.some((item) => !item.standby) } },
211-
{ key: 'updateUnmapMarkSnapChainRemoved', name: 'Allow snapshots removal during trim', disabled() { return selectedRows.length === 0 } },
211+
{ key: 'updateUnmapMarkSnapChainRemoved', name: 'Allow Snapshots Removal During Trim', disabled() { return selectedRows.length === 0 } },
212212
{ key: 'updateReplicaSoftAntiAffinity', name: 'Update Replica Soft Anti Affinity', disabled() { return selectedRows.length === 0 } },
213213
{ key: 'updateReplicaZoneSoftAntiAffinity', name: 'Update Replica Zone Soft Anti Affinity', disabled() { return selectedRows.length === 0 } },
214214
{ key: 'updateReplicaDiskSoftAntiAffinity', name: 'Update Replica Disk Soft Anti Affinity', disabled() { return selectedRows.length === 0 } },

src/routes/volume/detail/VolumeInfo.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ function VolumeInfo({ selectedVolume, snapshotModalState, engineImages, hosts, c
355355
{selectedVolume.controllers ? selectedVolume.controllers.filter(item => item.instanceManagerName !== '').map(item => <div key={item.hostId} style={{ fontFamily: 'monospace', margin: '2px 0px' }}> <span style={{ backgroundColor: '#f2f4f5' }}> {item.instanceManagerName} </span></div>) : ''}
356356
</div>
357357
<div className={styles.row}>
358-
<span className={styles.label}> Allow snapshots removal during trim:</span>
358+
<span className={styles.label}> Allow Snapshots Removal During Trim:</span>
359359
{addGlobalSettingDescription(selectedVolume?.unmapMarkSnapChainRemoved)}
360360
</div>
361361
<div className={styles.row}>

0 commit comments

Comments
 (0)