📝 Improve text

This commit is contained in:
Liang Ding 2023-04-22 18:16:31 +08:00
parent 30237e2c1b
commit 4c02f211b5
No known key found for this signature in database
GPG Key ID: 136F30F901A2231D
6 changed files with 19 additions and 3 deletions

View File

@ -432,6 +432,9 @@
"merge": "Merge", "merge": "Merge",
"wordCount": "Words", "wordCount": "Words",
"runeCount": "Characters", "runeCount": "Characters",
"linkCount": "Links",
"imgCount": "Images",
"refCount": "Refs",
"kbd": "Keyboard", "kbd": "Keyboard",
"errorStyle": "Error Style", "errorStyle": "Error Style",
"successStyle": "Success Style", "successStyle": "Success Style",

View File

@ -432,6 +432,9 @@
"merge": "Fusionar", "merge": "Fusionar",
"wordCount": "Palabras", "wordCount": "Palabras",
"runeCount": "Caracteres", "runeCount": "Caracteres",
"linkCount": "Enlaces",
"imgCount": "Imágenes",
"refCount": "Referencias",
"kbd": "Teclado", "kbd": "Teclado",
"errorStyle": "Estilo de error", "errorStyle": "Estilo de error",
"successStyle": "Estilo de éxito", "successStyle": "Estilo de éxito",

View File

@ -1,6 +1,7 @@
{ {
"onlySearchForDoc": "<code class='fn__code'>[[</code> rechercher uniquement les documents", "onlySearchForDoc": "<code class='fn__code'>[[</code> rechercher uniquement les documents",
"onlySearchForDocTip": "Après l'activation, [[ ou 【【 pour rechercher des références de bloc uniquement dans les blocs doc", "onlySearchForDocTip": "Après l'activation, [[ ou 【【 pour rechercher des références de bloc uniquement dans les blocs doc",
"ocrResult": "Texte du résultat OCR",
"reOCR": "ReOCR", "reOCR": "ReOCR",
"continueReview1": "Continuer la révision", "continueReview1": "Continuer la révision",
"continueReview2": "Il reste encore des fiches <code class='fn__code'>${count}</code> à examiner, continuer ?", "continueReview2": "Il reste encore des fiches <code class='fn__code'>${count}</code> à examiner, continuer ?",
@ -431,6 +432,9 @@
"merge": "Merge", "merge": "Merge",
"wordCount": "Mots", "wordCount": "Mots",
"runeCount": "Caractères", "runeCount": "Caractères",
"linkCount": "Liens",
"imgCount": "Images",
"refCount": "Réfs",
"kbd": "Clavier", "kbd": "Clavier",
"errorStyle": "Style d'Erreur", "errorStyle": "Style d'Erreur",
"successStyle": "Style de Réussite", "successStyle": "Style de Réussite",

View File

@ -432,6 +432,9 @@
"merge": "合併", "merge": "合併",
"wordCount": "詞數", "wordCount": "詞數",
"runeCount": "字數", "runeCount": "字數",
"linkCount": "鏈接",
"imgCount": "圖片",
"refCount": "引用",
"kbd": "鍵盤", "kbd": "鍵盤",
"errorStyle": "錯誤樣式", "errorStyle": "錯誤樣式",
"successStyle": "成功樣式", "successStyle": "成功樣式",

View File

@ -432,6 +432,9 @@
"merge": "合并", "merge": "合并",
"wordCount": "词数", "wordCount": "词数",
"runeCount": "字数", "runeCount": "字数",
"linkCount": "链接",
"imgCount": "图片",
"refCount": "引用",
"kbd": "键盘", "kbd": "键盘",
"errorStyle": "错误样式", "errorStyle": "错误样式",
"successStyle": "成功样式", "successStyle": "成功样式",

View File

@ -206,13 +206,13 @@ export const renderStatusbarCounter = (stat: {
let html = `<span class="ft__on-surface">${window.siyuan.languages.runeCount}</span>&nbsp;${stat.runeCount}<span class="fn__space"></span> let html = `<span class="ft__on-surface">${window.siyuan.languages.runeCount}</span>&nbsp;${stat.runeCount}<span class="fn__space"></span>
<span class="ft__on-surface">${window.siyuan.languages.wordCount}</span>&nbsp;${stat.wordCount}<span class="fn__space"></span>`; <span class="ft__on-surface">${window.siyuan.languages.wordCount}</span>&nbsp;${stat.wordCount}<span class="fn__space"></span>`;
if (0 < stat.linkCount) { if (0 < stat.linkCount) {
html += `<span class="ft__on-surface">${window.siyuan.languages.link}</span>&nbsp;${stat.linkCount}<span class="fn__space"></span>`; html += `<span class="ft__on-surface">${window.siyuan.languages.linkCount}</span>&nbsp;${stat.linkCount}<span class="fn__space"></span>`;
} }
if (0 < stat.imageCount) { if (0 < stat.imageCount) {
html += `<span class="ft__on-surface">${window.siyuan.languages.image}</span>&nbsp;${stat.imageCount}<span class="fn__space"></span>`; html += `<span class="ft__on-surface">${window.siyuan.languages.imgCount}</span>&nbsp;${stat.imageCount}<span class="fn__space"></span>`;
} }
if (0 < stat.refCount) { if (0 < stat.refCount) {
html += `<span class="ft__on-surface">${window.siyuan.languages.ref}</span>&nbsp;${stat.refCount}<span class="fn__space"></span>`; html += `<span class="ft__on-surface">${window.siyuan.languages.refCount}</span>&nbsp;${stat.refCount}<span class="fn__space"></span>`;
} }
document.querySelector("#status .status__counter").innerHTML = html; document.querySelector("#status .status__counter").innerHTML = html;
}; };