mirror of
https://github.com/Jonnyan404/memos-bber.git
synced 2026-04-25 03:58:37 +09:00
Add Memos API adapter and settings UI
Introduce a Memos API adapter to unify compatibility across API flavors (v020-v021, v023, modern) and probe/detect server flavor. Add js/compat/memosApi.adapter.js and rename existing compat modules (memosApi.v024.js -> memosApi.modern.js, memosApi.v1.js -> memosApi.v020-v021.js) and trim probe from v023. Add settings UI support: new i18n keys in en/ja/ko/zh_CN, settings panel styles in css/main.css, new settings input binding and save flow in js (attachment-only default text persisted). Refactor oper.js to use the adapter for uploads, deletes, tag listing, search and image preview auth handling; add helper functions for attachment-only default text and settings payload. Update i18n bindings, popup, manifest and README changelog accordingly. closed #5
This commit is contained in:
@@ -23,6 +23,18 @@
|
||||
"supportedMemosVersion": {
|
||||
"message": "Memos v0.15.0 - 0.27.x 호환"
|
||||
},
|
||||
"settingsConnectionTitle": {
|
||||
"message": "연결 설정"
|
||||
},
|
||||
"settingsConnectionDesc": {
|
||||
"message": "Memos 사이트 URL과 액세스 토큰을 설정합니다."
|
||||
},
|
||||
"settingsPostingTitle": {
|
||||
"message": "전송 설정"
|
||||
},
|
||||
"settingsPostingDesc": {
|
||||
"message": "첨부만 전송할 때의 기본 텍스트"
|
||||
},
|
||||
"placeApiUrl": {
|
||||
"message": "Memos 사이트 URL"
|
||||
},
|
||||
@@ -50,6 +62,9 @@
|
||||
"placeShowInput": {
|
||||
"message": "기본 '모두 공개' 태그 이름"
|
||||
},
|
||||
"placeAttachmentOnlyDefaultText": {
|
||||
"message": "첨부만 전송할 때의 기본 텍스트(비워두면 내장 문구 사용)"
|
||||
},
|
||||
"uploadedListTitle": {
|
||||
"message": "업로드된 파일(드래그로 순서 변경)"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user