mirror of
https://github.com/Jonnyan404/memos-bber.git
synced 2026-04-25 03:58:37 +09:00
Display supported Memos version in popup
Add a localized notice for supported Memos versions and render it in the extension popup. Introduce the "supportedMemosVersion" message in en and zh_CN (shows compatibility: v0.24.0+ and tested versions), add a corresponding div to popup.html, and wire it up in js/i18n.js so the text is populated via i18n.
This commit is contained in:
@@ -20,6 +20,8 @@ function setTitle(id, messageKey) {
|
||||
setText("saveKey", "saveBtn")
|
||||
setText("saveTag", "saveBtn")
|
||||
|
||||
setText("supportedMemosVersion", "supportedMemosVersion")
|
||||
|
||||
setPlaceholder("apiUrl", "placeApiUrl")
|
||||
setPlaceholder("apiTokens", "placeApiTokens")
|
||||
setPlaceholder("content", "placeContent")
|
||||
|
||||
Reference in New Issue
Block a user