Skip to content

Commit

Permalink
refactor: reword 屈折变化 to 词形变换
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon406 committed May 16, 2024
1 parent f6121ff commit 1ff4b65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/content_script.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function renderBubble() {
</div>`
}
if (result.infs && result.infs.length) {
inf_html = `<div class="inflection"><span>屈折变化</span>${result.infs.map((c) => `${c}&nbsp;&nbsp;`).join('')}</div>`
inf_html = `<div class="inflection"><span>词形变换</span>${result.infs.map((c) => `${c}&nbsp;&nbsp;`).join('')}</div>`
}
wdnTranslateBingDom.innerHTML = phonetic_html + `<div>${result.cdef.map((c) => `<span>${c.pos}</span>${c.def}`).join('<br />')}</div>` + inf_html
}
Expand Down
2 changes: 1 addition & 1 deletion test2.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<span>v.</span>把(船)开进港;掩护<br>
<span>网络</span>港湾;港口;避风港
</div>
<div class="inflection"><span>屈折变化</span>havens&nbsp;&nbsp;</div>
<div class="inflection"><span>词形变换</span>havens&nbsp;&nbsp;</div>
</div>
</div>
idiomatic
Expand Down

0 comments on commit 1ff4b65

Please sign in to comment.