add note about display order using current deck

This commit is contained in:
Damien Elmes 2021-07-13 15:58:06 +10:00
parent c9ad563f93
commit f458add147
2 changed files with 10 additions and 5 deletions

View File

@ -132,6 +132,9 @@ deck-config-sort-order-due-date-then-deck = Due date, then deck
deck-config-sort-order-deck-then-due-date = Deck, then due date deck-config-sort-order-deck-then-due-date = Deck, then due date
deck-config-sort-order-ascending-intervals = Ascending intervals deck-config-sort-order-ascending-intervals = Ascending intervals
deck-config-sort-order-descending-intervals = Descending intervals deck-config-sort-order-descending-intervals = Descending intervals
deck-config-display-order-will-use-current-deck =
Anki will use the display order from the deck you
select to study, and not any subdecks it may have.
## Timer section ## Timer section

View File

@ -17,6 +17,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
let config = state.currentConfig; let config = state.currentConfig;
let defaults = state.defaults; let defaults = state.defaults;
let currentDeck = "\n\n" + tr.deckConfigDisplayOrderWillUseCurrentDeck();
const newGatherPriorityChoices = [ const newGatherPriorityChoices = [
tr.deckConfigNewGatherPriorityDeck(), tr.deckConfigNewGatherPriorityDeck(),
tr.deckConfigNewGatherPriorityPositionLowestFirst(), tr.deckConfigNewGatherPriorityPositionLowestFirst(),
@ -45,7 +47,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
bind:value={$config.newCardGatherPriority} bind:value={$config.newCardGatherPriority}
defaultValue={defaults.newCardGatherPriority} defaultValue={defaults.newCardGatherPriority}
choices={newGatherPriorityChoices} choices={newGatherPriorityChoices}
markdownTooltip={tr.deckConfigNewGatherPriorityTooltip()} markdownTooltip={tr.deckConfigNewGatherPriorityTooltip() + currentDeck}
> >
{tr.deckConfigNewGatherPriority()} {tr.deckConfigNewGatherPriority()}
</EnumSelectorRow> </EnumSelectorRow>
@ -56,7 +58,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
bind:value={$config.newCardSortOrder} bind:value={$config.newCardSortOrder}
defaultValue={defaults.newCardSortOrder} defaultValue={defaults.newCardSortOrder}
choices={newSortOrderChoices} choices={newSortOrderChoices}
markdownTooltip={tr.deckConfigNewCardSortOrderTooltip()} markdownTooltip={tr.deckConfigNewCardSortOrderTooltip() + currentDeck}
> >
{tr.deckConfigNewCardSortOrder()} {tr.deckConfigNewCardSortOrder()}
</EnumSelectorRow> </EnumSelectorRow>
@ -67,7 +69,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
bind:value={$config.newMix} bind:value={$config.newMix}
defaultValue={defaults.newMix} defaultValue={defaults.newMix}
choices={reviewMixChoices()} choices={reviewMixChoices()}
markdownTooltip={tr.deckConfigNewReviewPriorityTooltip()} markdownTooltip={tr.deckConfigNewReviewPriorityTooltip() + currentDeck}
> >
{tr.deckConfigNewReviewPriority()} {tr.deckConfigNewReviewPriority()}
</EnumSelectorRow> </EnumSelectorRow>
@ -78,7 +80,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
bind:value={$config.interdayLearningMix} bind:value={$config.interdayLearningMix}
defaultValue={defaults.interdayLearningMix} defaultValue={defaults.interdayLearningMix}
choices={reviewMixChoices()} choices={reviewMixChoices()}
markdownTooltip={tr.deckConfigInterdayStepPriorityTooltip()} markdownTooltip={tr.deckConfigInterdayStepPriorityTooltip() + currentDeck}
> >
{tr.deckConfigInterdayStepPriority()} {tr.deckConfigInterdayStepPriority()}
</EnumSelectorRow> </EnumSelectorRow>
@ -89,7 +91,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
bind:value={$config.reviewOrder} bind:value={$config.reviewOrder}
defaultValue={defaults.reviewOrder} defaultValue={defaults.reviewOrder}
choices={reviewOrderChoices} choices={reviewOrderChoices}
markdownTooltip={tr.deckConfigReviewSortOrderTooltip()} markdownTooltip={tr.deckConfigReviewSortOrderTooltip() + currentDeck}
> >
{tr.deckConfigReviewSortOrder()} {tr.deckConfigReviewSortOrder()}
</EnumSelectorRow> </EnumSelectorRow>