mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 05:52:22 -04:00
Compare commits
2 commits
3d038506ac
...
bdddc52a72
Author | SHA1 | Date | |
---|---|---|---|
![]() |
bdddc52a72 | ||
![]() |
0b2d70a522 |
4 changed files with 6 additions and 6 deletions
|
@ -243,6 +243,7 @@ Lee Doughty <32392044+leedoughty@users.noreply.github.com>
|
|||
memchr <memchr@proton.me>
|
||||
Max Romanowski <maxr777@proton.me>
|
||||
Aldlss <ayaldlss@gmail.com>
|
||||
Hannanilsenn <hanni614@student.liu.se>
|
||||
|
||||
********************
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
|
||||
export let title: string;
|
||||
export let url: string;
|
||||
export let linkLabel: string | undefined = undefined;
|
||||
export let startIndex = 0;
|
||||
export let helpSections: HelpItem[];
|
||||
export let fsrs = false;
|
||||
|
@ -106,11 +107,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<div class="chapter-redirect">
|
||||
{@html renderMarkdown(
|
||||
tr.helpForMoreInfo({
|
||||
link: `<a href="${url}" title="${tr.helpOpenManualChapter(
|
||||
{
|
||||
name: title,
|
||||
},
|
||||
)}">${title}</a>`,
|
||||
link: `<a href="${url}" title="${tr.helpOpenManualChapter({ name: linkLabel ?? title })}">${linkLabel ?? title}</a>`,
|
||||
}),
|
||||
)}
|
||||
</div>
|
||||
|
|
|
@ -28,6 +28,7 @@ export const HelpPage = {
|
|||
dailyLimits: "https://docs.ankiweb.net/deck-options.html#daily-limits",
|
||||
audio: "https://docs.ankiweb.net/deck-options.html#audio",
|
||||
fsrs: "http://docs.ankiweb.net/deck-options.html#fsrs",
|
||||
desiredRetention: "http://docs.ankiweb.net/deck-options.html#desired-retention",
|
||||
},
|
||||
Leeches: {
|
||||
leeches: "https://docs.ankiweb.net/leeches.html#leeches",
|
||||
|
|
|
@ -72,7 +72,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
>
|
||||
<HelpModal
|
||||
title={tr.statisticsTrueRetentionTitle()}
|
||||
url={HelpPage.DeckOptions.fsrs}
|
||||
url={HelpPage.DeckOptions.desiredRetention}
|
||||
linkLabel="Desired retention"
|
||||
{helpSections}
|
||||
on:mount={(e) => {
|
||||
modal = e.detail.modal;
|
||||
|
|
Loading…
Reference in a new issue