UserTable: Fix translations in tooltip (#96909)

This commit is contained in:
Alex Khomenko 2024-11-22 14:03:47 +02:00 committed by GitHub
parent 03b323cb61
commit d981c67a69
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 8 deletions

View File

@ -102,12 +102,10 @@ export const UsersTable = ({
cell: ({ cell: { value } }: Cell<'licensedRole'>) => { cell: ({ cell: { value } }: Cell<'licensedRole'>) => {
return value === 'None' ? ( return value === 'None' ? (
<Text color={'disabled'}> <Text color={'disabled'}>
<Trans i18nKey="admin.users-table.no-licensed-role"> <Trans i18nKey="admin.users-table.no-licensed-roles">Not assigned</Trans>
Not assigned{' '} <Tooltip placement="top" content="A licensed role will be assigned when this user signs in">
<Tooltip placement="top" content="A licensed role will be assigned when this user signs in"> <Icon name="question-circle" style={{ margin: '0 0 4 4' }} />
<Icon name="question-circle" /> </Tooltip>
</Tooltip>
</Trans>
</Text> </Text>
) : ( ) : (
value value

View File

@ -162,7 +162,7 @@
}, },
"users-table": { "users-table": {
"last-seen-never": "Never", "last-seen-never": "Never",
"no-licensed-role": "Not assigned <2><0></0></2>" "no-licensed-roles": "Not assigned"
} }
}, },
"alert-labels": { "alert-labels": {

View File

@ -162,7 +162,7 @@
}, },
"users-table": { "users-table": {
"last-seen-never": "Ńęvęř", "last-seen-never": "Ńęvęř",
"no-licensed-role": "Ńőŧ äşşįģʼnęđ <2><0></0></2>" "no-licensed-roles": "Ńőŧ äşşįģʼnęđ"
} }
}, },
"alert-labels": { "alert-labels": {