From 09bf1500d6d1d1104343c16050c4caddad21c373 Mon Sep 17 00:00:00 2001 From: Stevie Robinson Date: Tue, 10 Oct 2023 05:40:00 +0200 Subject: [PATCH] New: Additional tooltips for icon buttons (cherry picked from commit 8c07f0d3d19a48ed96d1ded54399c66bf2977b2a) --- frontend/src/Components/Modal/ModalContent.js | 2 ++ frontend/src/Components/Page/Header/PageHeader.js | 1 + frontend/src/Components/Page/Header/PageHeaderActionsMenu.js | 1 + 3 files changed, 4 insertions(+) diff --git a/frontend/src/Components/Modal/ModalContent.js b/frontend/src/Components/Modal/ModalContent.js index 8883bf2b9..1d3862a13 100644 --- a/frontend/src/Components/Modal/ModalContent.js +++ b/frontend/src/Components/Modal/ModalContent.js @@ -3,6 +3,7 @@ import React from 'react'; import Icon from 'Components/Icon'; import Link from 'Components/Link/Link'; import { icons } from 'Helpers/Props'; +import translate from 'Utilities/String/translate'; import styles from './ModalContent.css'; function ModalContent(props) { @@ -28,6 +29,7 @@ function ModalContent(props) { } diff --git a/frontend/src/Components/Page/Header/PageHeader.js b/frontend/src/Components/Page/Header/PageHeader.js index 1d8b0cc55..dac20563a 100644 --- a/frontend/src/Components/Page/Header/PageHeader.js +++ b/frontend/src/Components/Page/Header/PageHeader.js @@ -78,6 +78,7 @@ class PageHeader extends Component { aria-label="Donate" to="https://prowlarr.com/donate" size={14} + title={translate('Donate')} />