UserTable: Fix translations in tooltip (#96909)

pull/97039/head
Alex Khomenko 8 months ago committed by GitHub
parent 03b323cb61
commit d981c67a69
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 10
      public/app/features/admin/Users/UsersTable.tsx
  2. 2
      public/locales/en-US/grafana.json
  3. 2
      public/locales/pseudo-LOCALE/grafana.json

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

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

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

Loading…
Cancel
Save