28 lines
817 B
Svelte
28 lines
817 B
Svelte
<!--
|
|
Copyright: Ankitects Pty Ltd and contributors
|
|
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
-->
|
|
<script lang="ts">
|
|
import * as tr from "lib/i18n";
|
|
import CheckBox from "./CheckBox.svelte";
|
|
import type { DeckOptionsState } from "./lib";
|
|
|
|
export let state: DeckOptionsState;
|
|
let config = state.currentConfig;
|
|
let defaults = state.defaults;
|
|
</script>
|
|
|
|
<h2>{tr.deckConfigBuryingTitle()}</h2>
|
|
|
|
<CheckBox
|
|
label={tr.schedulingBuryRelatedNewCardsUntilThe()}
|
|
tooltip={tr.deckConfigBuryTooltip()}
|
|
defaultValue={defaults.buryNew}
|
|
bind:value={$config.buryNew} />
|
|
|
|
<CheckBox
|
|
label={tr.schedulingBuryRelatedReviewsUntilTheNext()}
|
|
tooltip={tr.deckConfigBuryTooltip()}
|
|
defaultValue={defaults.buryReviews}
|
|
bind:value={$config.buryReviews} />
|