Alerting: Fix incorrect field description (#75947)

This commit is contained in:
Gilles De Mey 2023-10-04 13:36:53 +02:00 committed by GitHub
parent 61fbcce683
commit d0592fce2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,8 +29,7 @@ export const AlertRuleNameInput = () => {
title={`Enter ${entityName} name`}
description={
<Text variant="bodySmall" color="secondary">
{/* sigh language rules we should use translations ideally but for now we deal with "a" and "an" */}
Enter {entityName === 'alert rule' ? 'an' : 'a'} {entityName} name to identify your alert.
Enter a name to identify your {entityName}.
</Text>
}
>