Skip to content

Commit f640806

Browse files
committed
changed copy uuid to copy id
1 parent 047cf98 commit f640806

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/containers/Certificates/CertificatesList/CertificateList.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -35,28 +35,28 @@ export const CertificateList = () => {
3535

3636
const columnNames = [{ name: 'label', label: t('Label') }, { label: t('Description') }, { label: t('Actions') }];
3737

38-
const dialogMessage = "You won't be able to use this certificate.";
38+
const dialogMessage = t("You won't be able to use this certificate.");
3939

4040
const columnAttributes = {
4141
columnNames,
4242
columns: getColumns,
4343
columnStyles,
4444
};
4545

46-
const copyUuid = (_id: string, item: any) => {
46+
const copyId = (_id: string, item: any) => {
4747
if (item.id) {
4848
copyToClipboardMethod(item.id);
4949
} else {
50-
setNotification('Sorry! UUID not found', 'warning');
50+
setNotification('Sorry! Id not found', 'warning');
5151
}
5252
};
5353

5454
const additionalAction = () => [
5555
{
56-
label: t('Copy UUID'),
56+
label: t('Copy Id'),
5757
icon: <CopyAllOutlined data-testid="copy-icon" />,
5858
parameter: 'id',
59-
dialog: copyUuid,
59+
dialog: copyId,
6060
},
6161
];
6262

src/i18n/en/en.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -535,5 +535,7 @@
535535
"Copy Poll": "Copy Poll",
536536
"Group Polls": "Group Polls",
537537
"Name cannot be more than 250 characters.": "Name cannot be more than 250 characters.",
538-
"Certificates": "Certificates"
538+
"Certificates": "Certificates",
539+
"Copy Id": "Copy Id",
540+
"You won't be able to use this certificate.": "You won't be able to use this certificate."
539541
}

0 commit comments

Comments
 (0)