fix: correct article usage for acronyms (an MFA, an SMS, an OTP)#42915
Conversation
Fix incorrect indefinite article before acronyms that start with vowel sounds: - "a MFA" -> "an MFA" (pronounced "em-eff-ay") - "a SMS" -> "an SMS" (pronounced "ess-em-ess") - "a OTP" -> "an OTP" (pronounced "oh-tee-pee")
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@yogeshwaran-c is attempting to deploy a commit to the Supabase Team on Vercel. A member of the Team first needs to authorize it. |
|
Thanks for contributing to Supabase! ❤️ Our team will review your PR. A few tips for a smoother review process:
|
|
No actionable comments were generated in the recent review. 🎉 Summary by CodeRabbit
WalkthroughThis pull request contains minor documentation and comment corrections across four files. Documentation files in Comment |
ChrisChinchilla
left a comment
There was a problem hiding this comment.
Thanks @yogeshwaran-c
Braintrust eval report
|
What kind of change does this PR introduce?
Documentation / text fix (grammar)
What is the current behavior?
Several places in the codebase use "a" before acronyms that start with vowel sounds, which is grammatically incorrect:
What is the new behavior?
Corrected to use "an" before acronyms with vowel sounds:
Files changed
apps/studio/data/profile/mfa-challenge-and-verify-mutation.ts- comment fixapps/docs/content/guides/platform/multi-factor-authentication.mdx- user-facing docsapps/docs/docs/ref/javascript/v1/upgrade-guide.mdx- code comment in exampleapps/docs/docs/ref/dart/v0/upgrade-guide.mdx- code comment in exampleAdditional context
The rule: use "an" before acronyms pronounced with an initial vowel sound, regardless of the first letter. "MFA" starts with "em" (vowel sound), "SMS" starts with "ess" (vowel sound), "OTP" starts with "oh" (vowel sound).