tweaked backup translate variables and added tooltip to restore backup button
This commit is contained in:
parent
713d6574dc
commit
20b81e8c44
|
@ -116,6 +116,7 @@ class BackupRow extends Component {
|
|||
|
||||
<TableRowCell className={styles.actions}>
|
||||
<IconButton
|
||||
title={translate('RestoreBackup')}
|
||||
name={icons.RESTORE}
|
||||
onPress={this.onRestorePress}
|
||||
/>
|
||||
|
@ -139,7 +140,7 @@ class BackupRow extends Component {
|
|||
kind={kinds.DANGER}
|
||||
title={translate('DeleteBackup')}
|
||||
message={translate('DeleteBackupMessageText', {
|
||||
backupName: name
|
||||
name
|
||||
})}
|
||||
confirmLabel={translate('Delete')}
|
||||
onConfirm={this.onConfirmDeletePress}
|
||||
|
|
|
@ -147,7 +147,7 @@ class RestoreBackupModalContent extends Component {
|
|||
<ModalBody>
|
||||
{
|
||||
!!id && translate('WouldYouLikeToRestoreBackup', {
|
||||
backupName: name
|
||||
name
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
"Daily": "Daily",
|
||||
"Delete": "Delete",
|
||||
"DeleteBackup": "Delete Backup",
|
||||
"DeleteBackupMessageText": "Are you sure you want to delete the backup '{backupName}'?",
|
||||
"DeleteBackupMessageText": "Are you sure you want to delete the backup '{name}'?",
|
||||
"DeleteCondition": "Delete Condition",
|
||||
"DeleteConditionMessageText": "Are you sure you want to delete the condition '{0}'?",
|
||||
"DeleteCustomFormat": "Delete Custom Format",
|
||||
|
@ -302,7 +302,7 @@
|
|||
"Version": "Version",
|
||||
"Wanted": "Wanted",
|
||||
"Wiki": "Wiki",
|
||||
"WouldYouLikeToRestoreBackup": "Would you like to restore the backup '{backupName}'?",
|
||||
"WouldYouLikeToRestoreBackup": "Would you like to restore the backup '{name}'?",
|
||||
"Yes": "Yes",
|
||||
"YesCancel": "Yes, Cancel"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue