1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-26 22:46:53 -04:00

Use named tokens in frontend translate function

This commit is contained in:
Bogdan
2023-08-13 20:07:25 +03:00
parent 82de5d6f9a
commit dd614ac005
32 changed files with 85 additions and 79 deletions
@@ -217,7 +217,7 @@ class Notification extends Component {
isOpen={this.state.isDeleteNotificationModalOpen}
kind={kinds.DANGER}
title={translate('DeleteNotification')}
message={translate('DeleteNotificationMessageText', [name])}
message={translate('DeleteNotificationMessageText', { name })}
confirmLabel={translate('Delete')}
onConfirm={this.onConfirmDeleteNotification}
onCancel={this.onDeleteNotificationModalClose}