1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-21 22:05:43 -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
+2 -2
View File
@@ -35,7 +35,7 @@ function QueueDetails(props) {
<Icon
name={icons.DOWNLOAD}
kind={kinds.DANGER}
title={translate('ImportFailedInterp', [errorMessage])}
title={translate('ImportFailedInterp', { errorMessage })}
/>
);
}
@@ -76,7 +76,7 @@ function QueueDetails(props) {
<Icon
name={icons.DOWNLOADING}
kind={kinds.DANGER}
title={translate('DownloadFailedInterp', [errorMessage])}
title={translate('DownloadFailedInterp', { errorMessage })}
/>
);
}