From 26e771d0756dcd15f9498031e7aad862b691e751 Mon Sep 17 00:00:00 2001 From: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Sun, 31 May 2026 22:09:34 -0700 Subject: [PATCH] docs(common): fix grammar in Unicode and platform comments Use "a Unicode" instead of "an Unicode" on IUnicodeService.register, and "user's platform" instead of "users platform" above the platform detection exports. Co-authored-by: Cursor --- src/common/Platform.ts | 2 +- src/common/services/Services.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/Platform.ts b/src/common/Platform.ts index 9ccf8bda8..a034ca69c 100644 --- a/src/common/Platform.ts +++ b/src/common/Platform.ts @@ -44,7 +44,7 @@ export function getSafariVersion(): number { return parseInt(majorVersion[1], 10); } -// Find the users platform. We use this to interpret the meta key +// Find the user's platform. We use this to interpret the meta key // and ISO third level shifts. // http://stackoverflow.com/q/19877924/577598 export const isMac = ['Macintosh', 'MacIntel', 'MacPPC', 'Mac68K'].includes(platform); diff --git a/src/common/services/Services.ts b/src/common/services/Services.ts index 32e67f181..8f0aeeed1 100644 --- a/src/common/services/Services.ts +++ b/src/common/services/Services.ts @@ -344,7 +344,7 @@ export type UnicodeCharWidth = 0 | 1 | 2; export const IUnicodeService = createDecorator('UnicodeService'); export interface IUnicodeService { serviceBrand: undefined; - /** Register an Unicode version provider. */ + /** Register a Unicode version provider. */ register(provider: IUnicodeVersionProvider): void; /** Registered Unicode versions. */ readonly versions: string[];