diff --git a/content/docs/platform/inbox/localization.mdx b/content/docs/platform/inbox/localization.mdx index 1253b316f..826bcb318 100644 --- a/content/docs/platform/inbox/localization.mdx +++ b/content/docs/platform/inbox/localization.mdx @@ -13,7 +13,7 @@ Localize the UI text of the Inbox component to align with your product’s voice Override the default text in the Inbox component UI by passing a `localization` prop. This prop accepts an object of key-value pairs, where each key maps to a specific UI element and each value is your custom string. -If you omit any keys, the component will fall back to the default `en-US` values. +If you omit any keys, then the component reverts to the default `en-US` values. ![Overriding the default text in the Inbox component UI using localization prop](/images/inbox/localization.png) @@ -68,7 +68,7 @@ Here is a list of [all the keys available for localization](https://github.com/n | `notifications.newNotifications` | ``({ notificationCount }: { notificationCount: number }) => `${notificationCount} new notification(s)` `` | A function that returns the string for the new notifications indicator. | | `notification.snoozedUntil` | `Snoozed until` | Text displayed before the unsnooze time on a snoozed notification. | -### Notification actions (Tooltips) +### Notification actions (tooltips) | Key | Default Value | Description | | ---------------------------------------- | ---------------- | ---------------------------------------- | @@ -109,7 +109,6 @@ Here is a list of [all the keys available for localization](https://github.com/n To view the latest and most complete key list, check the defaultLocalization.ts file. - ## Localizing workflow names in preferences To display localized names for specific workflows in the Preferences UI, use the dynamic object within the localization prop. @@ -138,4 +137,4 @@ function NovuInbox() { } export default NovuInbox; -``` \ No newline at end of file +```