Skip to content

Commit b73a88a

Browse files
Copilothotlong
andcommitted
fix: add ICU MessageFormat note to bundle-level notification body description
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 083bf4f commit b73a88a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/spec/src/system/translation.zod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ export const AppTranslationBundleSchema = z.object({
406406
/** Global notification translations not bound to a specific object */
407407
notifications: z.record(z.string(), z.object({
408408
title: z.string().optional().describe('Translated notification title'),
409-
body: z.string().optional().describe('Translated notification body'),
409+
body: z.string().optional().describe('Translated notification body (supports ICU MessageFormat when enabled)'),
410410
})).optional().describe('Global notification translations keyed by notification name'),
411411

412412
/** Global error message translations not bound to a specific object */

0 commit comments

Comments
 (0)