Skip to content

Commit

Permalink
Update changelog (#664)
Browse files Browse the repository at this point in the history
This should be automated lol.
  • Loading branch information
st3v3nmw authored Apr 9, 2023
1 parent 3ce6b23 commit 454a662
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 11 deletions.
12 changes: 12 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project (sorta) adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- Update Russian translation ([mikkovedru](https://github.com/mikkovedru))

### Fixed

- Show MAX_INTERVAL unit in title ([runchard](https://github.com/runchard))
- Fix issue requiring collapseIcon to be clicked twice to expand/collapsed deck tree ([adam-jw-casey](https://github.com/adam-jw-casey))
- Consume keyboard event in flashcard modal ([polyipseity](https://github.com/polyipseity))

## [1.10.0] - 2023-02-06

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/flashcard-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export class FlashcardModal extends Modal {
// TODO: Please fix this. It's ugly.
// Checks if the input textbox is in focus before processing keyboard shortcuts.
if (
document.activeElement.nodeName != "TEXTAREA" &&
document.activeElement.nodeName !== "TEXTAREA" &&
this.mode !== FlashcardModalMode.DecksList
) {
const consume = () => {
Expand Down
2 changes: 1 addition & 1 deletion src/lang/locale/ar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export default {
EASY_BONUS_DESC:
"تتيح لك المكافأة السهلة ضبط الفرق في الفواصل الزمنية بين الرد الجيد والسهل على بطاقة/ملاحظة (الحد الأدنى = 100 ٪).",
EASY_BONUS_MIN_WARNING: "يجب أن تكون المكافأة السهلة 100 على الأقل.",
MAX_INTERVAL: "الحد الأقصى للفاصل",
MAX_INTERVAL: "Maximum interval in days",
MAX_INTERVAL_DESC: "يتيح لك وضع حد أعلى للفاصل الزمني (افتراضي = 100 عام).",
MAX_INTERVAL_MIN_WARNING: "يجب أن يكون الحد الأقصى للفاصل الزمني لمدة يوم واحد على الأقل.",
MAX_LINK_CONTRIB: "أقصى مساهمة ارتباط",
Expand Down
2 changes: 1 addition & 1 deletion src/lang/locale/cz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default {
EASY_BONUS_DESC:
"Tento bonus umožňuje nastavit rozdíl intervalu mezi jednoduchými a dobrými kartičkami/poznámkami (minimum = 100%).",
EASY_BONUS_MIN_WARNING: "Bonus pro jednoduchost musí být minimálně 100.",
MAX_INTERVAL: "Maximální interval",
MAX_INTERVAL: "Maximum interval in days",
MAX_INTERVAL_DESC: "Umožňuje nastavit horní limit pro interval (defaultně = 100 let).",
MAX_INTERVAL_MIN_WARNING: "Maximální interval musí být alespoň 1 den.",
MAX_LINK_CONTRIB: "Maximální příspěvěk prolinkování",
Expand Down
2 changes: 1 addition & 1 deletion src/lang/locale/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export default {
EASY_BONUS_DESC:
"Der Einfachheit-Bonus gibt an um welchen Faktor (in Prozent) das Intervall länger sein soll, wenn eine Notiz / Karte 'Einfach' statt 'Gut' abgeschlossen wird. Minimum ist 100%.",
EASY_BONUS_MIN_WARNING: "Der Einfachheit-Bonus muss mindestens 100 sein.",
MAX_INTERVAL: "Maximales Intervall",
MAX_INTERVAL: "Maximum interval in days",
MAX_INTERVAL_DESC:
"Das maximale Intervall (in Tagen) für Wiederholungen. Standard sind 100 Jahre.",
MAX_INTERVAL_MIN_WARNING: "Das maximale Interall muss mindestens ein Tag sein.",
Expand Down
2 changes: 1 addition & 1 deletion src/lang/locale/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default {
EASY_BONUS_DESC:
"The easy bonus allows you to set the difference in intervals between answering Good and Easy on a flashcard/note (minimum = 100%).",
EASY_BONUS_MIN_WARNING: "The easy bonus must be at least 100.",
MAX_INTERVAL: "Maximum Interval Days",
MAX_INTERVAL: "Maximum interval in days",
MAX_INTERVAL_DESC: "Allows you to place an upper limit on the interval (default = 100 years).",
MAX_INTERVAL_MIN_WARNING: "The maximum interval must be at least 1 day.",
MAX_LINK_CONTRIB: "Maximum link contribution",
Expand Down
2 changes: 1 addition & 1 deletion src/lang/locale/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export default {
EASY_BONUS_DESC:
"Easyボーナスによってフラッシュカード/ノートにおける間隔の差分を設定できます(最小値 = 100%)。",
EASY_BONUS_MIN_WARNING: "Easyボーナスには100以上の数字を指定してください。",
MAX_INTERVAL: "間隔の最大値",
MAX_INTERVAL: "Maximum interval in days",
MAX_INTERVAL_DESC: "間隔に上限値を設定することができます(デフォルト値 = 100年)。",
MAX_INTERVAL_MIN_WARNING: "間隔の最大値には1以上の数字を指定してください。",
MAX_LINK_CONTRIB: "リンクコントリビューションの最大値",
Expand Down
2 changes: 1 addition & 1 deletion src/lang/locale/ko.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export default {
EASY_BONUS_DESC:
"쉬움(Easy) 보너스는 플래시카드/노트에서 좋음(Good)과 쉬움(Easy) 사이의 간격 차이를 설정할 수 있습니다. (최소 = 100%)",
EASY_BONUS_MIN_WARNING: "쉬움(Easy) 보너스는 적어도 100이어야 합니다.",
MAX_INTERVAL: "최대 간격",
MAX_INTERVAL: "Maximum interval in days",
MAX_INTERVAL_DESC: "간격의 상한선을 둘 수 있습니다. (기본값 = 100년)",
MAX_INTERVAL_MIN_WARNING: "최대 간격은 적어도 1일이어야 합니다.",
MAX_LINK_CONTRIB: "최대 연결 기여도",
Expand Down
2 changes: 1 addition & 1 deletion src/lang/locale/pt-br.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default {
EASY_BONUS_DESC:
"O bônus de fácil te permite mudar a diferência entre intervalos de responder OK e Fácil em um(a) flashcard/nota (mínimo = 100%).",
EASY_BONUS_MIN_WARNING: "O bônus de fácil deve ser pelo menos 100.",
MAX_INTERVAL: "Intervalo Máximo",
MAX_INTERVAL: "Maximum interval in days",
MAX_INTERVAL_DESC:
"Te permite colocar um limite máximo no intervalo (pré-definição = 100 anos).",
MAX_INTERVAL_MIN_WARNING: "O intervalo máximo deve ser pelo menos 1 dia.",
Expand Down
2 changes: 1 addition & 1 deletion src/lang/locale/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export default {
EASY_BONUS_DESC:
"Бонус за Легко позволяет вам установить разницу в промежутках между ответами Хорошо и Легко на карточке/заметке (мин. = 100%).",
EASY_BONUS_MIN_WARNING: "Бонус за Легко должен быть не меньше 100.",
MAX_INTERVAL: "Максимальный промежуток (откладывания карточки)",
MAX_INTERVAL: "Maximum interval in days",
MAX_INTERVAL_DESC:
"Позволяет вам устанавливать верхнюю границу на промежуток (по умолчанию = 100 лет).",
MAX_INTERVAL_MIN_WARNING: "Максимальный промежуток должен быть не меньше 1.",
Expand Down
2 changes: 1 addition & 1 deletion src/lang/locale/zh-cn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default {
EASY_BONUS: "简单奖励",
EASY_BONUS_DESC: "简单奖励设定“记得”和“简单”卡片或笔记的复习间隔差距(最小值100%)。",
EASY_BONUS_MIN_WARNING: "简单奖励至少为100。",
MAX_INTERVAL: "最大间隔",
MAX_INTERVAL: "Maximum interval in days",
MAX_INTERVAL_DESC: "设定复习的最大间隔时间(默认值100年)。",
MAX_INTERVAL_MIN_WARNING: "最大间隔至少为1天",
MAX_LINK_CONTRIB: "最大链接收益",
Expand Down
2 changes: 1 addition & 1 deletion src/lang/locale/zh-tw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export default {
EASY_BONUS: "簡單獎勵",
EASY_BONUS_DESC: "簡單獎勵設定「記得」和「簡單」卡片或筆記的復習間隔差距(最小值100%)。",
EASY_BONUS_MIN_WARNING: "簡單獎勵至少為100。",
MAX_INTERVAL: "最大間隔",
MAX_INTERVAL: "Maximum interval in days",
MAX_INTERVAL_DESC: "設定復習的最大間隔時間(預設值100年)。",
MAX_INTERVAL_MIN_WARNING: "最大間隔至少為1天",
MAX_LINK_CONTRIB: "最大鏈接貢獻",
Expand Down

0 comments on commit 454a662

Please sign in to comment.