mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
20 lines
588 B
Svelte
20 lines
588 B
Svelte
<script lang="typescript">
|
|
import type { I18n } from "anki/i18n";
|
|
import { CardCountMethod } from "./graph-helpers";
|
|
|
|
export let i18n: I18n;
|
|
export let cardCountMethod: CardCountMethod;
|
|
|
|
const byType = "By card type";
|
|
const byQueue = "By scheduling queue";
|
|
const all = i18n.tr(i18n.TR.STATISTICS_RANGE_ALL_TIME);
|
|
</script>
|
|
|
|
<label>
|
|
<input type="radio" bind:group={cardCountMethod} value={CardCountMethod.ByType} />
|
|
{byType}
|
|
</label>
|
|
<label>
|
|
<input type="radio" bind:group={cardCountMethod} value={CardCountMethod.ByQueue} />
|
|
{byQueue}
|
|
</label>
|