chore(core): wrap 'get access token' for connecting readwise (#11147)
This commit is contained in:
@@ -106,6 +106,7 @@ const ConnectDialog = ({
|
|||||||
className={getTokenLink}
|
className={getTokenLink}
|
||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
|
br: <br />,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -8708,9 +8708,10 @@ export const TypedTrans: {
|
|||||||
["3"]: JSX.Element;
|
["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<{}>, {
|
["com.affine.integration.readwise.connect.desc"]: ComponentType<TypedTransProps<Readonly<{}>, {
|
||||||
|
br: JSX.Element;
|
||||||
a: JSX.Element;
|
a: JSX.Element;
|
||||||
}>>;
|
}>>;
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1842,7 +1842,7 @@
|
|||||||
"com.affine.integration.readwise.desc": "Manually import your content to AFFiNE from Readwise",
|
"com.affine.integration.readwise.desc": "Manually import your content to AFFiNE from Readwise",
|
||||||
"com.affine.integration.readwise.connect": "Connect",
|
"com.affine.integration.readwise.connect": "Connect",
|
||||||
"com.affine.integration.readwise.connect.title": "Connect to Readwise",
|
"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.placeholder": "Paste your access token here",
|
||||||
"com.affine.integration.readwise.connect.input-error": "Please enter a valid access token.",
|
"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",
|
"com.affine.integration.readwise.connect.error-notify-title": "Access Token failed validation",
|
||||||
|
|||||||
Reference in New Issue
Block a user