fix(core): update prompt texts for opening new doc (#8696)

fix AF-1590
This commit is contained in:
pengx17 committed 2024-11-05 07:31:00 +00:00
1 parent 8c650f7b43
commit e7732d0e18
2 files changed
+10 -3

No files matched your search

@@ -116,9 +116,15 @@ export const OpenInAppPage = ({ urlToOpen, openHereClicked }: OpenAppProps) => {
<img src={appIcon} alt={appName} width={120} height={120} />
<div className={styles.prompt}>
<Trans i18nKey="com.affine.auth.open.affine.prompt">
Open {appName} app now
</Trans>
{openHereClicked ? (
<Trans i18nKey="com.affine.auth.open.affine.open-doc-prompt">
This doc is now opened in {appName}
</Trans>
) : (
<Trans i18nKey="com.affine.auth.open.affine.prompt">
Open {appName} app now
</Trans>
)}
</div>
<div className={styles.promptLinks}>