This commit is contained in:
Liang Ding 2022-12-29 23:15:08 +08:00
parent 51b4f68035
commit 0f6915802a
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
6 changed files with 19 additions and 5 deletions

View file

@ -1040,6 +1040,7 @@
"176": "SiYuan",
"177": "Exit application",
"178": "Access Authorization - SiYuan",
"179": "The disk space may be insufficient. It is recommended to keep the free space of the disk where the workspace is located at more than twice the size of data"
"179": "The disk space may be insufficient. It is recommended to keep the free space of the disk where the workspace is located at more than twice the size of data",
"180": "Search content block does not exist"
}
}

View file

@ -1040,6 +1040,7 @@
"176": "SiYuan",
"177": "Salir de la aplicación",
"178": "Autorización de acceso - SiYuan",
"179": "El espacio en disco puede ser insuficiente. Se recomienda mantener el espacio libre del disco donde se encuentra el espacio de trabajo en más del doble del tamaño de los datos"
"179": "El espacio en disco puede ser insuficiente. Se recomienda mantener el espacio libre del disco donde se encuentra el espacio de trabajo en más del doble del tamaño de los datos",
"180": "El bloque de contenido de búsqueda no existe"
}
}

View file

@ -1040,6 +1040,7 @@
"176": "SiYuan",
"177": "Quitter l'application",
"178": "Autorisation d'accès - SiYuan",
"179": "L'espace disque peut être insuffisant. Il est recommandé de conserver l'espace libre du disque où se trouve l'espace de travail à plus de deux fois la taille des données"
"179": "L'espace disque peut être insuffisant. Il est recommandé de conserver l'espace libre du disque où se trouve l'espace de travail à plus de deux fois la taille des données",
"180": "Le bloc de contenu de recherche n'existe pas"
}
}

View file

@ -1040,6 +1040,7 @@
"176": "思源筆記",
"177": "退出應用",
"178": "訪問授權 - 思源筆記",
"179": "磁碟空間可能不足,建議保持工作空間所在磁碟可用空間為 data 大小的 2 倍以上"
"179": "磁碟空間可能不足,建議保持工作空間所在磁碟可用空間為 data 大小的 2 倍以上",
"180": "不存在符合條件的內容塊"
}
}

View file

@ -1040,6 +1040,7 @@
"176": "思源笔记",
"177": "退出应用",
"178": "访问授权 - 思源笔记",
"179": "磁盘空间可能不足,建议保持工作空间所在磁盘可用空间为 data 大小的 2 倍以上"
"179": "磁盘空间可能不足,建议保持工作空间所在磁盘可用空间为 data 大小的 2 倍以上",
"180": "不存在符合条件的内容块"
}
}

View file

@ -77,6 +77,15 @@ func GetFlashcards(deckID string, page int) (blocks []*Block, total, pageCount i
blocks = []*Block{}
return
}
for i, b := range blocks {
if nil == b {
blocks[i] = &Block{
ID: blockIDs[i],
Content: Conf.Language(180),
}
}
}
return
}