mirror of
https://github.com/Jonnyan404/memos-bber.git
synced 2026-04-25 03:58:37 +09:00
adfd797e84
Introduce a fullscreen editor mode and a proportional resize handle for the memo editor. Updates include: - UI: add fullscreen button and resize handle to popup.html and related i18n keys for en/ja/ko/zh_CN. - CSS: styles for .memo-editor, fullscreen state, and #editor-resize-handle, plus layout tweaks for fullscreen. - Background: enhance context menu handler to retrieve selection text from the active tab using chrome.scripting.executeScript, support opening the extension popup programmatically (tryOpenActionPopup), and factor appendContent logic. - Oper: implement isFullscreenMode(), openFullscreenTab(), proportional editor resize logic with pointer events (initProportionalEditorResize), focus handling adjustments, and init call. Added helper focusTextareaToEnd(). - Manifest: request scripting and windows permissions required for selection injection and window focus. These changes enable sending accurate selection text from web pages, allow users to open a fullscreen editor tab, and provide a draggable, proportional resize experience in the popup editor.
176 lines
3.5 KiB
JSON
176 lines
3.5 KiB
JSON
{
|
|
"extName": {
|
|
"message": "Memos"
|
|
},
|
|
"actionTitle": {
|
|
"message": "Send Memos"
|
|
},
|
|
"extDescription": {
|
|
"message": "memos: A lightweight, self-hosted memo hub."
|
|
},
|
|
"sendTo": {
|
|
"message": "SendTo Memos \"%s\""
|
|
},
|
|
"sendLinkTo": {
|
|
"message": "Send link to Memos"
|
|
},
|
|
"sendImageTo": {
|
|
"message": "Send image to Memos"
|
|
},
|
|
"saveBtn":{
|
|
"message": "Save"
|
|
},
|
|
"supportedMemosVersion": {
|
|
"message": "Compatible with Memos v0.18.0 - 0.26.x"
|
|
},
|
|
"placeApiUrl":{
|
|
"message": "Memos site URL"
|
|
},
|
|
"placeApiTokens":{
|
|
"message": "Memos Access Tokens"
|
|
},
|
|
"placeContent":{
|
|
"message": "What's on your mind..."
|
|
},
|
|
"lockPrivate":{
|
|
"message": "Private"
|
|
},
|
|
"lockProtected":{
|
|
"message": "Protected"
|
|
},
|
|
"lockPublic":{
|
|
"message": "Public"
|
|
},
|
|
"submitBtn":{
|
|
"message": "Save"
|
|
},
|
|
"placeHideInput":{
|
|
"message": "Default 'Private' tag name"
|
|
},
|
|
"placeShowInput":{
|
|
"message": "Default 'Everyone can see' Tag name"
|
|
},
|
|
"uploadedListTitle": {
|
|
"message": "Uploaded files, Drag to reorder"
|
|
},
|
|
"uploadedListEmpty": {
|
|
"message": "No uploaded files"
|
|
},
|
|
"tipReorder": {
|
|
"message": "Drag to reorder"
|
|
},
|
|
"tipDeleteAttachment": {
|
|
"message": "Delete"
|
|
},
|
|
"attachmentDeleteSuccess": {
|
|
"message": "Deleted"
|
|
},
|
|
"attachmentDeleteFailed": {
|
|
"message": "Delete failed 😭"
|
|
},
|
|
"picDrag":{
|
|
"message": "Drag upload the image"
|
|
},
|
|
"picCancelDrag":{
|
|
"message": "Cancel upload"
|
|
},
|
|
"picUploading":{
|
|
"message": "Upload the picture..."
|
|
},
|
|
"picSuccess":{
|
|
"message": "Upload completed"
|
|
},
|
|
"picFailed":{
|
|
"message": "Uploading failed"
|
|
},
|
|
"picPending":{
|
|
"message": "Image uploading is in progress"
|
|
},
|
|
"saveSuccess":{
|
|
"message": "Save Info Success!"
|
|
},
|
|
"searchNow":{
|
|
"message": "What are you looking for?"
|
|
},
|
|
"searchNone":{
|
|
"message": "Try another word!"
|
|
},
|
|
"archiveSuccess":{
|
|
"message": "Archive Success 😊"
|
|
},
|
|
"archiveFailed":{
|
|
"message": "Archive Failed 😭"
|
|
},
|
|
"getTabFailed":{
|
|
"message": "Get Tab Failed 😭"
|
|
},
|
|
"memoUploading":{
|
|
"message": "Sending"
|
|
},
|
|
"memoSuccess":{
|
|
"message": "Success! 😊"
|
|
},
|
|
"memoFailed":{
|
|
"message": "Failed! 😭"
|
|
},
|
|
"invalidToken":{
|
|
"message": "Invalid token or url 😭"
|
|
},
|
|
"tipOpenSite": {
|
|
"message": "Open Memos"
|
|
},
|
|
"tipSettings": {
|
|
"message": "Settings"
|
|
},
|
|
"tipTags": {
|
|
"message": "Insert tag"
|
|
},
|
|
"tipTodo": {
|
|
"message": "Insert todo"
|
|
},
|
|
"tipUpload": {
|
|
"message": "Upload file"
|
|
},
|
|
"tipLink": {
|
|
"message": "Insert current tab link"
|
|
},
|
|
"tipRandom": {
|
|
"message": "Random memo"
|
|
},
|
|
"tipSearch": {
|
|
"message": "Search"
|
|
},
|
|
"tipVisibility": {
|
|
"message": "Visibility"
|
|
},
|
|
"tipSend": {
|
|
"message": "Send (Ctrl/⌘+Enter)"
|
|
},
|
|
"tipLanguage": {
|
|
"message": "Language"
|
|
},
|
|
"langAuto": {
|
|
"message": "Auto"
|
|
},
|
|
"langEnglish": {
|
|
"message": "English"
|
|
},
|
|
"langChineseSimplified": {
|
|
"message": "简体中文"
|
|
},
|
|
"langJapanese": {
|
|
"message": "日本語"
|
|
},
|
|
"langKorean": {
|
|
"message": "한국어"
|
|
},
|
|
"fullscreenBtn": {
|
|
"message": "Fullscreen"
|
|
},
|
|
"tipFullscreen": {
|
|
"message": "Open fullscreen editor"
|
|
},
|
|
"tipResize": {
|
|
"message": "Drag to resize (min: default size)"
|
|
}
|
|
} |