chore(core): wrap 'get access token' for connecting readwise (#11147)

This commit is contained in:
CatsJuice
2025-04-01 14:33:00 +00:00
parent 2d304adf15
commit d8997576a5
3 changed files with 4 additions and 2 deletions
@@ -106,6 +106,7 @@ const ConnectDialog = ({
className={getTokenLink}
/>
),
br: <br />,
}}
/>
</div>
+2 -1
View File
@@ -8708,9 +8708,10 @@ export const TypedTrans: {
["3"]: JSX.Element;
}>>;
/**
* `Import your Readwise highlights to AFFiNE. Please visit Readwise, click <a>"Get Access Token"</a>, and paste the token below.`
* `Import your Readwise highlights to AFFiNE. Please visit Readwise, <br />click <a>"Get Access Token"</a>, and paste the token below.`
*/
["com.affine.integration.readwise.connect.desc"]: ComponentType<TypedTransProps<Readonly<{}>, {
br: JSX.Element;
a: JSX.Element;
}>>;
/**
+1 -1
View File
@@ -1842,7 +1842,7 @@
"com.affine.integration.readwise.desc": "Manually import your content to AFFiNE from Readwise",
"com.affine.integration.readwise.connect": "Connect",
"com.affine.integration.readwise.connect.title": "Connect to Readwise",
"com.affine.integration.readwise.connect.desc": "Import your Readwise highlights to AFFiNE. Please visit Readwise, click <a>\"Get Access Token\"</a>, and paste the token below.",
"com.affine.integration.readwise.connect.desc": "Import your Readwise highlights to AFFiNE. Please visit Readwise, <br />click <a>\"Get Access Token\"</a>, and paste the token below.",
"com.affine.integration.readwise.connect.placeholder": "Paste your access token here",
"com.affine.integration.readwise.connect.input-error": "Please enter a valid access token.",
"com.affine.integration.readwise.connect.error-notify-title": "Access Token failed validation",