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