Skip to content

Commit

Permalink
chore: change grandfathered modal text (#33291)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchoeler committed Sep 18, 2024
1 parent 3edd654 commit 6fe47db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ type UninstallGrandfatheredAppModalProps = {
const UninstallGrandfatheredAppModal = ({ context, limit, appName, handleUninstall, handleClose }: UninstallGrandfatheredAppModalProps) => {
const { t } = useTranslation();

const modalContent =
context === 'private' ? t('App_will_lose_grandfathered_status_private') : t('App_will_lose_grandfathered_status', { limit });

return (
<Modal>
<Modal.Header>
Expand All @@ -25,7 +28,7 @@ const UninstallGrandfatheredAppModal = ({ context, limit, appName, handleUninsta
<Modal.Close onClick={handleClose} />
</Modal.Header>
<Modal.Content>
<MarkdownText content={t('App_will_lose_grandfathered_status', { limit, context: context === 'private' ? context : '' })} />
<MarkdownText content={modalContent} />
</Modal.Content>
<Modal.Footer>
<Modal.FooterControllers>
Expand Down
3 changes: 2 additions & 1 deletion packages/i18n/src/locales/en.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -6407,7 +6407,8 @@
"cloud.RegisterWorkspace_Setup_Terms_Privacy": "I agree with <1>Terms and Conditions</1> and <3>Privacy Policy</3>",
"Larger_amounts_of_active_connections": "For larger amounts of active connections you can consider our <1>multiple instance solutions</1>.",
"Uninstall_grandfathered_app": "Uninstall {{appName}}?",
"App_will_lose_grandfathered_status": "**This {{context}} app will lose its grandfathered status.** \n \nWorkspaces on Community can have up to {{limit}} {{context}} apps enabled. Grandfathered apps count towards the limit but the limit is not applied to them.",
"App_will_lose_grandfathered_status": "**This app will lose its grandfathered status.** \n \nWorkspaces on Community can have up to {{limit}} apps enabled. Grandfathered apps count towards the limit but the limit is not applied to them.",
"App_will_lose_grandfathered_status_private": "**This app will lose its grandfathered status.** \n \nBecause Community workspaces cannot enable private apps, this workspace will require a premium plan in order to enable this app again in future.",
"All_rooms": "All rooms",
"All_visible": "All visible",
"all": "all",
Expand Down

0 comments on commit 6fe47db

Please sign in to comment.