diff --git a/packages/sanity/src/core/i18n/bundles/studio.ts b/packages/sanity/src/core/i18n/bundles/studio.ts index c7ae8d702ef..eb5bcd610cb 100644 --- a/packages/sanity/src/core/i18n/bundles/studio.ts +++ b/packages/sanity/src/core/i18n/bundles/studio.ts @@ -1523,7 +1523,11 @@ export const studioLocaleStrings = defineLocalesResources('studio', { 'timeline.since': 'Since: {{timestamp, datetime}}', /** Label for missing change version for timeline menu dropdown are showing */ 'timeline.since-version-missing': 'Since: unknown version', - + /** Label for the button showed after trial ended */ + 'user-menu.action.free-trial-finished': 'Upgrade from free', + /** Label for button showing the free trial days left */ + 'user-menu.action.free-trial_one': '{{count}} day left in trial', + 'user-menu.action.free-trial_other': '{{count}} days left in trial', /** Label for action to invite members to the current sanity project */ 'user-menu.action.invite-members': 'Invite members', /** Accessibility label for action to invite members to the current sanity project */ diff --git a/packages/sanity/src/core/studio/components/navbar/NavDrawer.tsx b/packages/sanity/src/core/studio/components/navbar/NavDrawer.tsx index d1590c782a7..89ab515e367 100644 --- a/packages/sanity/src/core/studio/components/navbar/NavDrawer.tsx +++ b/packages/sanity/src/core/studio/components/navbar/NavDrawer.tsx @@ -14,6 +14,7 @@ import {StudioThemeColorSchemeKey} from '../../../theme' import {userHasRole} from '../../../util/userHasRole' import {useTranslation} from '../../../i18n' import {WorkspaceMenuButton} from './workspace' +import {FreeTrial} from './free-trial' const ANIMATION_TRANSITION: Transition = { duration: 0.2, @@ -203,6 +204,7 @@ export const NavDrawer = memo(function NavDrawer(props: NavDrawerProps) { {setScheme && } +