diff --git a/wails-frontend/src/i18n/en_US.json b/wails-frontend/src/i18n/en_US.json index 4c51fe824..8741f5c73 100644 --- a/wails-frontend/src/i18n/en_US.json +++ b/wails-frontend/src/i18n/en_US.json @@ -46,6 +46,7 @@ "operation-type": "Operation type", "operation-const": "Operation cost", "description": "Description", + "description-tooltip": "Description provided by a dApp", "message": "Message", "view-details": "View details", "message-format": "Message format: ", diff --git a/wails-frontend/src/pages/PasswordPromptHandler/SignComponentUtils/Description.tsx b/wails-frontend/src/pages/PasswordPromptHandler/SignComponentUtils/Description.tsx index 0f8d25aaa..203f9d21d 100644 --- a/wails-frontend/src/pages/PasswordPromptHandler/SignComponentUtils/Description.tsx +++ b/wails-frontend/src/pages/PasswordPromptHandler/SignComponentUtils/Description.tsx @@ -1,4 +1,8 @@ -import { AccordionCategory, AccordionContent } from '@massalabs/react-ui-kit'; +import { + AccordionCategory, + AccordionContent, + Tooltip, +} from '@massalabs/react-ui-kit'; import { FiChevronDown, FiChevronUp, FiInfo } from 'react-icons/fi'; import Intl from '@/i18n/i18n'; @@ -22,8 +26,12 @@ export function Description(props: DescriptionProps) { iconClose={} customClass="px-0 py-0" categoryTitle={ -
- +
+ } + className="mas-caption pl-0 pr-2" + content={Intl.t('password-prompt.sign.description-tooltip')} + />

{Intl.t(label)}

}