This commit is contained in:
Liang Ding 2022-06-15 18:19:56 +08:00
parent 716027b54f
commit 6ce97dd408
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
5 changed files with 8 additions and 12 deletions

View file

@ -1,6 +1,4 @@
{
"size": "Size",
"count": "Count",
"createSnapshot": "Create snapshot",
"dataSnapshot": "Data snapshot",
"copyKey": "Copy key string",
@ -92,6 +90,7 @@
"rectAnnotation": "Rectangular Annotation",
"fileName": "File name:",
"fileSize": "File size:",
"fileCount": "File count:",
"title1": "Title:",
"author": "Author:",
"subject": "Subject:",

View file

@ -1,6 +1,4 @@
{
"size": "Taille",
"count": "Compter",
"createSnapshot": "Créer un instantané",
"dataSnapshot": "Instantané de données",
"copyKey": "Copier la chaîne de clé",
@ -92,6 +90,7 @@
"rectAnnotation": "Annotation rectangulaire",
"fileName": "Nom du fichier :",
"fileSize": "Taille du fichier :",
"fileCount": "Nombre de fichiers :",
"title1": "Titre :",
"author": "Auteur :",
"subject": "Sujet :",

View file

@ -1,6 +1,4 @@
{
"size": "尺寸",
"count": "計數",
"createSnapshot": "創建快照",
"dataSnapshot": "數據快照",
"copyKey": "複製密鑰字符串",
@ -92,6 +90,7 @@
"rectAnnotation": "矩形標注",
"fileName": "檔案名:",
"fileSize": "文件大小:",
"fileCount": "文件數量:",
"title1": "標題:",
"author": "作者:",
"subject": "主題:",

View file

@ -1,6 +1,4 @@
{
"size": "大小",
"count": "数量",
"createSnapshot": "创建快照",
"dataSnapshot": "数据快照",
"copyKey": "复制密钥字符串",
@ -92,6 +90,7 @@
"rectAnnotation": "矩形标注",
"fileName": "文件名:",
"fileSize": "文件大小:",
"fileCount": "文件数量:",
"title1": "标题:",
"author": "作者:",
"subject": "主题:",

View file

@ -135,11 +135,11 @@ const renderRepo = (element: Element, currentPage: number) => {
</li>`;
if (index === 0) {
element.lastElementChild.lastElementChild.innerHTML = `<div class="fn__flex-center">
${window.siyuan.languages.size}<span class="fn__space"></span>
${window.siyuan.languages.fileSize}</span>
<span class="ft__on-surface">${item.hSize}</span>
<span class="fn__space"></span>
<span class="fn__space"></span>
${window.siyuan.languages.count}<span class="fn__space"></span>
${window.siyuan.languages.fileCount}</span>
<span class="ft__on-surface">${item.count}</span>
</div>
<div class="fn__hr"></div>
@ -357,11 +357,11 @@ export const openHistory = () => {
});
} else if (type === "repo") {
target.parentElement.nextElementSibling.innerHTML = `<div class="fn__flex-center">
${window.siyuan.languages.size}<span class="fn__space"></span>
${window.siyuan.languages.fileSize}
<span class="ft__on-surface">${target.getAttribute("data-hsize")}</span>
<span class="fn__space"></span>
<span class="fn__space"></span>
${window.siyuan.languages.count}<span class="fn__space"></span>
${window.siyuan.languages.fileCount}
<span class="ft__on-surface">${target.getAttribute("data-count")}</span>
</div>
<div class="fn__hr"></div>