mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-03 05:40:10 +08:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
19c05d9473
@ -4,6 +4,8 @@
|
||||
"flashcardNewCardLimitTip": "If there are many new cards, you can set the number of new cards to review through this item",
|
||||
"flashcardReviewCardLimit": "Review Card Limit",
|
||||
"flashcardReviewCardLimitTip": "If there are many review cards, you can set the number of review through this item",
|
||||
"flashcardMark": "Mark Carding",
|
||||
"flashcardMarkTip": "After enabling, the mark is recognized as fill in the blank",
|
||||
"flashcardList": "List Carding",
|
||||
"flashcardListTip": "After enabling, the first list item of a list is recognized as a question, and the rest of the lite items are recognized as answers",
|
||||
"flashcardSuperBlock": "Super Block Carding",
|
||||
|
@ -4,6 +4,8 @@
|
||||
"flashcardNewCardLimitTip": "Si hay muchas tarjetas nuevas, puede establecer la cantidad de tarjetas nuevas para revisar a través de este elemento",
|
||||
"flashcardReviewCardLimit": "Revisar límite de tarjeta",
|
||||
"flashcardReviewCardLimitTip": "Si hay muchas tarjetas de revisión, puede establecer el número de revisión a través de este elemento",
|
||||
"flashcardMark": "Marcar cardado",
|
||||
"flashcardMarkTip": "Después de habilitar, la marca se reconoce como un espacio en blanco",
|
||||
"flashcardList": "Lista de tarjetas",
|
||||
"flashcardListTip": "Después de habilitar, el primer elemento de una lista se reconoce como una pregunta, y el resto de los elementos básicos se reconocen como respuestas",
|
||||
"flashcardSuperBlock": "Carda de súper bloque",
|
||||
|
@ -4,6 +4,8 @@
|
||||
"flashcardNewCardLimitTip": "S'il y a beaucoup de nouvelles cartes, vous pouvez définir le nombre de nouvelles cartes à examiner via cet élément",
|
||||
"flashcardReviewCardLimit": "Revoir la limite de la carte",
|
||||
"flashcardReviewCardLimitTip": "S'il y a plusieurs cartes d'avis, vous pouvez définir le nombre d'avis via cet élément",
|
||||
"flashcardMark": "Carte de marque",
|
||||
"flashcardMarkTip": "Après l'activation, la marque est reconnue comme remplissant le blanc",
|
||||
"flashcardList": "Fiche de liste",
|
||||
"flashcardListTip": "Après l'activation, le premier élément d'une liste est reconnu comme une question, et le reste des éléments légers sont reconnus comme des réponses",
|
||||
"flashcardSuperBlock": "Carte Super Block",
|
||||
|
@ -4,6 +4,8 @@
|
||||
"flashcardNewCardLimitTip": "如果新卡較多,可以通過該項設置新卡複習的數量",
|
||||
"flashcardReviewCardLimit": "復習卡上限",
|
||||
"flashcardReviewCardLimitTip": "如果復習卡較多,可以通過該項設置復習的數量",
|
||||
"flashcardMark": "標記制卡",
|
||||
"flashcardMarkTip": "啟用後支持標記制卡,標記的文本被識別為挖空填空",
|
||||
"flashcardList": "列表塊制卡",
|
||||
"flashcardListTip": "啟用後支持列表塊制卡,列表的第一個列表項被識別為問題,子列表識別為答案",
|
||||
"flashcardSuperBlock": "超級塊制卡",
|
||||
|
@ -4,6 +4,8 @@
|
||||
"flashcardNewCardLimitTip": "如果新卡较多,可以通过该项设置新卡复习的数量",
|
||||
"flashcardReviewCardLimit": "复习卡上限",
|
||||
"flashcardReviewCardLimitTip": "如果复习卡较多,可以通过该项设置复习的数量",
|
||||
"flashcardMark": "标记制卡",
|
||||
"flashcardMarkTip": "启用后支持标记制卡,标记的文本被识别为挖空填空",
|
||||
"flashcardList": "列表块制卡",
|
||||
"flashcardListTip": "启用后支持列表块制卡,列表的第一个列表项被识别为问题,子列表识别为答案",
|
||||
"flashcardSuperBlock": "超级块制卡",
|
||||
|
@ -5,7 +5,7 @@
|
||||
"Properties": {
|
||||
"id": "20221223221636-ms2b4w9",
|
||||
"title": "Flashcards",
|
||||
"updated": "20230324111319"
|
||||
"updated": "20230328100306"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
@ -196,12 +196,12 @@
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20230324110955-eznqs9u",
|
||||
"updated": "20230324111043"
|
||||
"updated": "20230328100306"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Among them, if you don’t need the super block card and list or list item card, you can turn it off in "
|
||||
"Data": "The above rules can be adjusted in "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
|
@ -5,7 +5,7 @@
|
||||
"Properties": {
|
||||
"id": "20221223215557-o6gfsoy",
|
||||
"title": "闪卡",
|
||||
"updated": "20230324110708"
|
||||
"updated": "20230328100253"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
@ -204,12 +204,12 @@
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20230324105957-puvmnur",
|
||||
"updated": "20230324110110"
|
||||
"updated": "20230328100253"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "其中超级块制卡和列表或者列表项制卡如果不需要的话可以在 "
|
||||
"Data": "以上规则可以在 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
@ -227,7 +227,7 @@
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 中关闭。"
|
||||
"Data": " 中调整。"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -5,7 +5,7 @@
|
||||
"Properties": {
|
||||
"id": "20221223221501-mops33i",
|
||||
"title": "閃卡",
|
||||
"updated": "20230324110901"
|
||||
"updated": "20230328100340"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
@ -200,12 +200,12 @@
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20230324110806-8rbbppa",
|
||||
"updated": "20230324110821"
|
||||
"updated": "20230328100340"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "其中超級塊制卡和列表或者列表項製卡如果不需要的話可以在 "
|
||||
"Data": "以上規則可以在 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
@ -223,7 +223,7 @@
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 中關閉。"
|
||||
"Data": " 中調整。"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -36,6 +36,14 @@ export const flashcard = {
|
||||
</label>`;
|
||||
/// #endif
|
||||
return `${responsiveHTML}
|
||||
<label class="fn__flex b3-label">
|
||||
<div class="fn__flex-1">
|
||||
${window.siyuan.languages.flashcardMark}
|
||||
<div class="b3-label__text">${window.siyuan.languages.flashcardMarkTip}</div>
|
||||
</div>
|
||||
<span class="fn__space"></span>
|
||||
<input class="b3-switch fn__flex-center" id="mark" type="checkbox"${window.siyuan.config.flashcard.mark ? " checked" : ""}/>
|
||||
</label>
|
||||
<label class="fn__flex b3-label">
|
||||
<div class="fn__flex-1">
|
||||
${window.siyuan.languages.flashcardList}
|
||||
|
1
app/src/types/index.d.ts
vendored
1
app/src/types/index.d.ts
vendored
@ -397,6 +397,7 @@ declare interface IConfig {
|
||||
flashcard: {
|
||||
newCardLimit: number
|
||||
reviewCardLimit: number
|
||||
mark: boolean
|
||||
list: boolean
|
||||
superBlock: boolean
|
||||
deck: boolean
|
||||
|
@ -19,6 +19,7 @@ package conf
|
||||
type Flashcard struct {
|
||||
NewCardLimit int `json:"newCardLimit"` // 新卡上限 https://github.com/siyuan-note/siyuan/issues/7695
|
||||
ReviewCardLimit int `json:"reviewCardLimit"` // 复习卡上限 https://github.com/siyuan-note/siyuan/issues/7703
|
||||
Mark bool `json:"mark"` // 是否启用标记制卡 https://github.com/siyuan-note/siyuan/issues/7794
|
||||
List bool `json:"list"` // 是否启用列表块制卡 https://github.com/siyuan-note/siyuan/issues/7701
|
||||
SuperBlock bool `json:"superBlock"` // 是否启用超级块制卡 https://github.com/siyuan-note/siyuan/issues/7702
|
||||
Deck bool `json:"deck"` // 是否启用卡包制卡 https://github.com/siyuan-note/siyuan/issues/7724
|
||||
@ -28,6 +29,7 @@ func NewFlashcard() *Flashcard {
|
||||
return &Flashcard{
|
||||
NewCardLimit: 20,
|
||||
ReviewCardLimit: 200,
|
||||
Mark: true,
|
||||
List: true,
|
||||
SuperBlock: true,
|
||||
Deck: false,
|
||||
|
Loading…
Reference in New Issue
Block a user