mirror of
https://github.com/toeverything/AFFiNE.git
synced 2025-01-02 13:23:09 +03:00
parent
8c650f7b43
commit
e7732d0e18
@ -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}>
|
||||
|
@ -227,6 +227,7 @@
|
||||
"com.affine.auth.open.affine": "Open AFFiNE",
|
||||
"com.affine.auth.open.affine.download-app": "Download app",
|
||||
"com.affine.auth.open.affine.prompt": "Opening <1>AFFiNE</1> app now",
|
||||
"com.affine.auth.open.affine.open-doc-prompt": "This doc is now opened in <1>AFFiNE</1> app",
|
||||
"com.affine.auth.open.affine.try-again": "Try again",
|
||||
"com.affine.auth.open.affine.doc.open-here": "Open here instead",
|
||||
"com.affine.auth.open.affine.doc.edit-settings": "Edit settings",
|
||||
|
Loading…
Reference in New Issue
Block a user