Skip to content

Commit

Permalink
feat(cheatsheet): update order (#496)
Browse files Browse the repository at this point in the history
* feat(cheatsheet): switch send and schedule

* feat(cheatsheet): update order & reword
  • Loading branch information
dergigi committed Sep 15, 2022
1 parent 46369a5 commit ff50e25
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
30 changes: 15 additions & 15 deletions src/components/Cheatsheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,48 +72,48 @@ export default function Cheatsheet({ show = false, onHide }: CheatsheetProps) {
<rb.Stack className="mb-4" gap={4}>
<ListItem number={1}>
<h6>
<Trans i18nKey="cheatsheet.item_1.title">
<Trans i18nKey="cheatsheet.receive.title">
<Link to={routes.receive}>Fund</Link> your wallet.
</Trans>
</h6>
<div className="small text-secondary">{t('cheatsheet.item_1.description')}</div>
<div className="small text-secondary">{t('cheatsheet.receive.description')}</div>
</ListItem>
<ListItem number={2}>
<h6>
<Trans i18nKey="cheatsheet.item_2.title">
<Link to={routes.jam}>Schedule</Link> transactions.
<Trans i18nKey="cheatsheet.send.title">
<Link to={routes.send}>Send</Link> a collaborative transaction to another jar.
</Trans>
</h6>
<div className="small text-secondary">{t('cheatsheet.item_2.description')}</div>
<div className="small text-secondary">{t('cheatsheet.send.description')}</div>
</ListItem>
<ListItem number={3}>
<h6>
<Trans i18nKey="cheatsheet.item_3.title">
<Trans i18nKey="cheatsheet.bond.title">
Optional: <Link to={routes.earn}>Lock</Link> funds in a fidelity bond.
</Trans>
</h6>
<div className="small text-secondary">{t('cheatsheet.item_3.description')}</div>
<div className="small text-secondary">{t('cheatsheet.bond.description')}</div>
</ListItem>
<ListItem number={4}>
<h6>
<Trans i18nKey="cheatsheet.item_4.title">
<Link to={routes.earn}>Earn</Link> yield by providing liquidity.
<Trans i18nKey="cheatsheet.earn.title">
<Link to={routes.earn}>Earn</Link> sats by providing liquidity.
</Trans>
</h6>
<div className="small text-secondary">{t('cheatsheet.item_4.description')}</div>
<div className="small text-secondary">{t('cheatsheet.earn.description')}</div>
</ListItem>
<ListItem number={5}>
<h6>
<Trans i18nKey="cheatsheet.item_5.title">
<Link to={routes.send}>Send</Link> a collaborative transaction to yourself.
<Trans i18nKey="cheatsheet.schedule.title">
Schedule <Link to={routes.jam}>sweep</Link> transactions to empty your wallet.
</Trans>
</h6>
<div className="small text-secondary">{t('cheatsheet.item_5.description')}</div>
<div className="small text-secondary">{t('cheatsheet.schedule.description')}</div>
</ListItem>
<ListItem number={'last'}>
<h6>{t('cheatsheet.item_last.title')}</h6>
<h6>{t('cheatsheet.repeat.title')}</h6>
<div className="small text-secondary">
<Trans i18nKey="cheatsheet.item_last.description">
<Trans i18nKey="cheatsheet.repeat.description">
Still confused?{' '}
<a href="https://jamdocs.org/interface/00-cheatsheet/" target="_blank" rel="noopener noreferrer">
Dig into the documentation
Expand Down
24 changes: 12 additions & 12 deletions src/i18n/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -382,28 +382,28 @@
"cheatsheet": {
"title": "The Cheatsheet",
"description": "Follow the steps below to increase your financial privacy. It is advisable to switch from <2>earning as a maker</2> to <6>sending as a taker</6> back and forth. <10>Learn more.</10>",
"item_1": {
"receive": {
"title": "<0>Fund</0> your wallet.",
"description": "Deposit some funds yourself or receive it from others."
},
"item_2": {
"title": "<0>Schedule</0> transactions.",
"description": "Automatically plan and execute a series of collaborative transactions. You can also automatically sweep your funds to cold storage, or use them to open a lightning channel, for example."
"send": {
"title": "<0>Send</0> a collaborative transaction to another jar.",
"description": "Collaborative transactions increase the privacy of yourself and others."
},
"item_3": {
"bond": {
"title": "Optional: <1>Lock</1> funds in a fidelity bond.",
"description": "A fidelity bond increases your chances of selling liquidity substantially."
"description": "A fidelity bond increases your chances of earning sats substantially."
},
"item_4": {
"earn": {
"title": "<0>Earn</0> sats by providing liquidity.",
"description": "Offer liquidity to the marketplace for a fee. No trust or custody required—you are always in full control of your funds."
},
"item_5": {
"title": "<0>Send</0> a collaborative transaction to yourself.",
"description": "Collaborative transactions increase the privacy of yourself and others."
"schedule": {
"title": "Schedule <1>sweep</1> transactions to empty your wallet.",
"description": "Automatically execute a series of collaborative transactions. You can sweep your funds to cold storage or use them to open lightning channels."
},
"item_last": {
"title": "Go to step one and repeat.",
"repeat": {
"title": "Rinse and repeat!",
"description": "Still confused? Dig into the <2>documentation</2>."
}
},
Expand Down

0 comments on commit ff50e25

Please sign in to comment.