From 087f957a36b9496d48f28c797087919eca13878f Mon Sep 17 00:00:00 2001 From: sorata <136738526+brishtibheja@users.noreply.github.com> Date: Sun, 21 Jul 2024 15:14:37 +0530 Subject: [PATCH] Update Tooltip (#3288) * Update Tooltip updated the tooltips as described here: https://forums.ankiweb.net/t/update-tooltips/46849 * Update CONTRIBUTORS * Update deck-config.ftl * fixed punctuation, stylistic incoherence, etc. * Update deck-config.ftl https://github.com/open-spaced-repetition/fsrs4anki/pull/667 * Changed string requires new key (dae) * Minor tweaks to tense for clarity (dae) https://github.com/ankitects/anki/pull/3288#issuecomment-2223384500 --- CONTRIBUTORS | 1 + ftl/core/deck-config.ftl | 31 ++++++++++++++--------- ts/routes/deck-options/AutoAdvance.svelte | 2 +- 3 files changed, 21 insertions(+), 13 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 77ecf23d1..3c466f081 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -148,6 +148,7 @@ user1823 <92206575+user1823@users.noreply.github.com> Gustaf Carefall virinci snowtimeglass +brishtibheja Ben Olson Akash Reddy Lucio Sauer diff --git a/ftl/core/deck-config.ftl b/ftl/core/deck-config.ftl index e346c9d77..11ca78569 100644 --- a/ftl/core/deck-config.ftl +++ b/ftl/core/deck-config.ftl @@ -61,7 +61,7 @@ deck-config-today-only = Today only deck-config-learning-steps = Learning steps # Please don't translate `1m`, `2d` --deck-config-delay-hint = Delays are typically minutes (eg `1m`) or days (eg `2d`), but hours (eg `1h`) and seconds (eg `30s`) are also supported. +-deck-config-delay-hint = Delays are typically minutes (e.g. `1m`) or days (e.g. `2d`), but hours (e.g. `1h`) and seconds (e.g. `30s`) are also supported. deck-config-learning-steps-tooltip = One or more delays, separated by spaces. The first delay will be used when you press the `Again` button on a new card, and is 1 minute by default. @@ -100,7 +100,7 @@ deck-config-leech-threshold-tooltip = think of a mnemonic to help you remember it. # See actions-suspend-card and scheduling-tag-only for the wording deck-config-leech-action-tooltip = - `Tag Only`: Add a "leech" tag to the note, and display a pop-up. + `Tag Only`: Add a 'leech' tag to the note, and display a pop-up. `Suspend Card`: In addition to tagging the note, hide the card until it is manually unsuspended. @@ -148,8 +148,8 @@ deck-config-new-gather-priority-tooltip-2 = the latest-added first. `Random notes`: gathers cards of randomly selected notes. When sibling burying is - disabled, this allows all cards of a note to be seen in a session (eg. both a front->back - and back->front card) + disabled, this allows all cards of a note to be seen in a session (e.g. both a front→back + and back→front card). `Random cards`: gathers cards completely randomly. deck-config-new-gather-priority-deck = Deck @@ -234,7 +234,7 @@ deck-config-stop-timer-on-answer-tooltip = ## Auto Advance section deck-config-seconds-to-show-question = Seconds to show question for -deck-config-seconds-to-show-question-tooltip-2 = When auto advance is activated, the number of seconds to wait before revealing the answer. Set to 0 to disable. +deck-config-seconds-to-show-question-tooltip-3 = When auto advance is activated, the number of seconds to wait before applying the question action. Set to 0 to disable. deck-config-seconds-to-show-answer = Seconds to show answer for deck-config-seconds-to-show-answer-tooltip-2 = When auto advance is activated, the number of seconds to wait before applying the answer action. Set to 0 to disable. deck-config-question-action-show-answer = Show Answer @@ -242,8 +242,8 @@ deck-config-question-action-show-reminder = Show Reminder deck-config-question-action = Question action deck-config-question-action-tool-tip = The action to perform after the question is shown, and time has elapsed. deck-config-answer-action = Answer action -deck-config-answer-action-tooltip = The action to perform on the current card before automatically advancing to the next one. -deck-config-wait-for-audio-tooltip = Wait for audio to finish before automatically revealing answer or next question. +deck-config-answer-action-tooltip-2 = The action to perform after the answer is shown, and time has elapsed. +deck-config-wait-for-audio-tooltip-2 = Wait for audio to finish before automatically applying the question action or answer action. ## Audio section @@ -251,7 +251,7 @@ deck-config-audio-title = Audio deck-config-disable-autoplay = Don't play audio automatically deck-config-disable-autoplay-tooltip = When enabled, Anki will not play audio automatically. - It can be played manually by clicking/tapping on an audio icon, or by using the replay audio action. + It can be played manually by clicking/tapping on an audio icon, or by using the Replay action. deck-config-skip-question-when-replaying = Skip question when replaying answer deck-config-always-include-question-audio-tooltip = Whether the question audio should be included when the Replay action is @@ -388,11 +388,11 @@ deck-config-historical-retention-tooltip = the missing reviews. Your review history may be incomplete for two reasons: - 1. Because you've used the 'ignore reviews before' option. + 1. Because you're using the 'ignore reviews before' option. 2. Because you previously deleted review logs to free up space, or imported material from a different SRS program. - The latter is quite rare, so unless you've used the former option, you probably don't need to adjust + The latter is quite rare, so unless you're using the former option, you probably don't need to adjust this setting. deck-config-weights-tooltip2 = FSRS parameters affect how cards are scheduled. Anki will start with default parameters. You can use @@ -410,8 +410,8 @@ deck-config-reschedule-cards-warning = Use this option sparingly, as it will add a review entry to each of your cards, and increase the size of your collection. -deck-config-ignore-before-tooltip = - If set, reviews before the provided date will be ignored when optimizing & evaluating FSRS parameters. +deck-config-ignore-before-tooltip-2 = + If set, cards introduced before the provided date will be ignored when optimizing FSRS parameters. This can be useful if you imported someone else's scheduling data, or have changed the way you use the answer buttons. deck-config-compute-optimal-weights-tooltip2 = When you click the Optimize button, FSRS will analyze your review history, and generate parameters that are @@ -469,6 +469,12 @@ deck-config-bury-tooltip = When using the V3 scheduler, interday learning cards can also be buried. Interday learning cards are cards with a current learning step of one or more days. +deck-config-seconds-to-show-question-tooltip = When auto advance is activated, the number of seconds to wait before revealing the answer. Set to 0 to disable. +deck-config-answer-action-tooltip = The action to perform on the current card before automatically advancing to the next one. +deck-config-wait-for-audio-tooltip = Wait for audio to finish before automatically revealing answer or next question. +deck-config-ignore-before-tooltip = + If set, reviews before the provided date will be ignored when optimizing & evaluating FSRS parameters. + This can be useful if you imported someone else's scheduling data, or have changed the way you use the answer buttons. deck-config-compute-optimal-retention-tooltip = This tool assumes you're starting with 0 cards, and will attempt to calculate the amount of material you'll be able to retain in the given time frame. The estimated retention will greatly depend on your inputs, and @@ -505,3 +511,4 @@ deck-config-compute-optimal-retention-tooltip3 = set your desired retention to. You may wish to choose a higher desired retention, if you’re willing to trade more study time for a greater recall rate. Setting your desired retention lower than the minimum is not recommended, as it will lead to a higher workload, because of the high forgetting rate. +deck-config-seconds-to-show-question-tooltip-2 = When auto advance is activated, the number of seconds to wait before revealing the answer. Set to 0 to disable. diff --git a/ts/routes/deck-options/AutoAdvance.svelte b/ts/routes/deck-options/AutoAdvance.svelte index fcad12f3f..d7b719773 100644 --- a/ts/routes/deck-options/AutoAdvance.svelte +++ b/ts/routes/deck-options/AutoAdvance.svelte @@ -30,7 +30,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html const settings = { secondsToShowQuestion: { title: tr.deckConfigSecondsToShowQuestion(), - help: tr.deckConfigSecondsToShowQuestionTooltip2(), + help: tr.deckConfigSecondsToShowQuestionTooltip3(), }, secondsToShowAnswer: { title: tr.deckConfigSecondsToShowAnswer(),