name: t()

in src/app/devices/deviceIdentity/components/deviceIdentityCommandBar.tsx [46:80]


            name: t(ResourceKeys.deviceIdentity.commands.manageKeys.label),
            subMenuProps: {
                items: [
                    {
                        ariaLabel: t(ResourceKeys.deviceIdentity.commands.regeneratePrimary.ariaLabel),
                        disabled: !onRegeneratePrimaryKey,
                        iconProps: {
                            iconName: 'AzureKeyVault'
                        },
                        key: 'regeneratePrimary',
                        name: t(ResourceKeys.deviceIdentity.commands.regeneratePrimary.label),
                        onClick: onRegeneratePrimaryKey
                    },
                    {
                        ariaLabel: t(ResourceKeys.deviceIdentity.commands.regenerateSecondary.ariaLabel),
                        disabled: !onRegenerateSecondaryKey,
                        iconProps: {
                            iconName: 'AzureKeyVault'
                        },
                        key: 'regenerateSecondary',
                        name: t(ResourceKeys.deviceIdentity.commands.regenerateSecondary.label),
                        onClick: onRegenerateSecondaryKey
                    },
                    {
                        ariaLabel: t(ResourceKeys.deviceIdentity.commands.swapKeys.ariaLabel),
                        disabled: !onSwapKeys,
                        iconProps: {
                            iconName: 'SwitcherStartEnd'
                        },
                        key: 'swapKeys',
                        name: t(ResourceKeys.deviceIdentity.commands.swapKeys.label),
                        onClick: onSwapKeys
                    }
                ]
            }