Skip to content

Commit cb6c3d5

Browse files
authored
Merge pull request #4 from wecode-ai/human/mule-20260417-025404
feat: 修复授权无法实时更新的问题
2 parents 0faf7cb + d6d1632 commit cb6c3d5

6 files changed

Lines changed: 258 additions & 218 deletions

File tree

src/locales/en-US.json

Lines changed: 58 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@
150150
"open_source_address": "Open Source Address",
151151
"preference": "Preference",
152152
"relaunch": "Relaunch",
153+
"screenshot": "Screenshot",
153154
"start_listening": "Start Listening",
154155
"stop_listening": "Stop listening",
155-
"version": "Version",
156-
"screenshot": "Screenshot"
156+
"version": "Version"
157157
}
158158
}
159159
},
@@ -173,6 +173,10 @@
173173
"authorize": "Authorize",
174174
"authorized": "Authorized",
175175
"full_disk_access": {
176+
"cancel": "Cancel",
177+
"confirm": "Go to System Settings",
178+
"confirm_message": "Full Disk Access permission needs to be enabled manually in System Settings. Clicking \"Go to System Settings\" will open System Preferences.",
179+
"confirm_title": "Full Disk Access Required",
176180
"description": "Used for reading files in protected directories",
177181
"title": "Full Disk Access"
178182
},
@@ -457,9 +461,9 @@
457461
"general": "General",
458462
"history": "History",
459463
"privacy": "Privacy",
464+
"screenshot": "Screenshot",
460465
"shortcut": "Shortcuts",
461-
"tag": "Tags",
462-
"screenshot": "Screenshot"
466+
"tag": "Tags"
463467
}
464468
},
465469
"privacy": {
@@ -482,6 +486,50 @@
482486
"title": "Privacy Consideration"
483487
}
484488
},
489+
"screenshot": {
490+
"editor": {
491+
"action": {
492+
"cancel": "Cancel",
493+
"copy": "Copy",
494+
"redo": "Redo",
495+
"save": "Save",
496+
"send": "Send to Wegent",
497+
"undo": "Undo"
498+
},
499+
"hint": {
500+
"copy_success": "Copied to clipboard",
501+
"permission_denied": "Screenshot permission denied. Please authorize Screen Recording in System Settings.",
502+
"save_success": "Screenshot saved",
503+
"send_title": "Send Screenshot"
504+
},
505+
"tool": {
506+
"arrow": "Arrow",
507+
"ellipse": "Ellipse",
508+
"mosaic": "Mosaic",
509+
"pen": "Pen",
510+
"rect": "Rectangle",
511+
"text": "Text"
512+
}
513+
},
514+
"settings": {
515+
"default_action": {
516+
"copy": "Copy Directly",
517+
"menu": "Show Action Menu",
518+
"save": "Save Directly"
519+
},
520+
"hints": {
521+
"default_action": "Default action after taking a screenshot",
522+
"save_format": "Image format when saving screenshots",
523+
"save_to_history": "Automatically save screenshot to clipboard history"
524+
},
525+
"label": {
526+
"default_action": "Default Action After Screenshot",
527+
"save_format": "Save Format",
528+
"save_to_history": "Auto Save to History"
529+
},
530+
"title": "Screenshot Settings"
531+
}
532+
},
485533
"settings": {
486534
"app_settings": {
487535
"hints": {
@@ -554,17 +602,17 @@
554602
"copy_file_path": "Copy the file path of the selected item to clipboard when the window is activated",
555603
"paste_as_plain": "Paste selections as plain text or paths when the window is activated",
556604
"quick_paste": "Use number key combos to quickly paste top 9 items when window is hidden",
557-
"send": "Send the selected item to AI API when the window is activated",
558-
"screenshot": "Global shortcut key for taking screenshots"
605+
"screenshot": "Global shortcut key for taking screenshots",
606+
"send": "Send the selected item to AI API when the window is activated"
559607
},
560608
"label": {
561609
"copy_file_path": "Copy File Path",
562610
"open_clipboard": "Open Clipboard Window",
563611
"open_settings": "Open Preferences Window",
564612
"paste_as_plain": "Paste as Plain Text",
565613
"quick_paste": "Quick Paste",
566-
"send": "Send to AI",
567-
"screenshot": "Screenshot"
614+
"screenshot": "Screenshot",
615+
"send": "Send to AI"
568616
},
569617
"title": "Shortcuts"
570618
}
@@ -590,51 +638,7 @@
590638
"trigger_word_placeholder": "e.g., u123",
591639
"trigger_word_required": "Please enter a trigger word"
592640
},
593-
"title": "Preferences",
594-
"screenshot": {
595-
"settings": {
596-
"title": "Screenshot Settings",
597-
"label": {
598-
"save_to_history": "Auto Save to History",
599-
"default_action": "Default Action After Screenshot",
600-
"save_format": "Save Format"
601-
},
602-
"hints": {
603-
"save_to_history": "Automatically save screenshot to clipboard history",
604-
"default_action": "Default action after taking a screenshot",
605-
"save_format": "Image format when saving screenshots"
606-
},
607-
"default_action": {
608-
"menu": "Show Action Menu",
609-
"copy": "Copy Directly",
610-
"save": "Save Directly"
611-
}
612-
},
613-
"editor": {
614-
"tool": {
615-
"rect": "Rectangle",
616-
"ellipse": "Ellipse",
617-
"arrow": "Arrow",
618-
"text": "Text",
619-
"pen": "Pen",
620-
"mosaic": "Mosaic"
621-
},
622-
"action": {
623-
"cancel": "Cancel",
624-
"copy": "Copy",
625-
"save": "Save",
626-
"send": "Send to Wegent",
627-
"undo": "Undo",
628-
"redo": "Redo"
629-
},
630-
"hint": {
631-
"copy_success": "Copied to clipboard",
632-
"save_success": "Screenshot saved",
633-
"send_title": "Send Screenshot",
634-
"permission_denied": "Screenshot permission denied. Please authorize Screen Recording in System Settings."
635-
}
636-
}
637-
}
641+
"title": "Preferences"
638642
},
639643
"tag": {
640644
"color_label": "Tag Color",
@@ -651,4 +655,4 @@
651655
"name_label": "Tag Name",
652656
"name_placeholder": "Enter tag name"
653657
}
654-
}
658+
}

src/locales/ja-JP.json

Lines changed: 58 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@
9393
"open_source_address": "ギットハブ",
9494
"preference": "プリファレンス",
9595
"relaunch": "再開",
96+
"screenshot": "スクリーンショット",
9697
"start_listening": "使用を停止",
9798
"stop_listening": "使用を再開",
98-
"version": "バージョン",
99-
"screenshot": "スクリーンショット"
99+
"version": "バージョン"
100100
}
101101
}
102102
},
@@ -113,6 +113,10 @@
113113
"authorize": "承認する",
114114
"authorized": "承認済み",
115115
"full_disk_access": {
116+
"cancel": "キャンセル",
117+
"confirm": "システム設定へ",
118+
"confirm_message": "フルディスクアクセス権限はシステム設定で手動で有効にする必要があります。「システム設定へ」をクリックするとシステム環境設定が開きます。",
119+
"confirm_title": "フルディスクアクセスが必要です",
116120
"description": "保護されたパスのファイル読み取りに使用",
117121
"title": "フルディスクアクセス"
118122
},
@@ -341,8 +345,8 @@
341345
"general": "共通設定",
342346
"history": "履歴",
343347
"privacy": "プライバシー",
344-
"shortcut": "ショートカットキー",
345-
"screenshot": "スクリーンショット"
348+
"screenshot": "スクリーンショット",
349+
"shortcut": "ショートカットキー"
346350
}
347351
},
348352
"privacy": {
@@ -365,6 +369,50 @@
365369
"title": "プライバシー考慮"
366370
}
367371
},
372+
"screenshot": {
373+
"editor": {
374+
"action": {
375+
"cancel": "キャンセル",
376+
"copy": "コピー",
377+
"redo": "やり直す",
378+
"save": "保存",
379+
"send": "Wegentに送信",
380+
"undo": "元に戻す"
381+
},
382+
"hint": {
383+
"copy_success": "クリップボードにコピーしました",
384+
"permission_denied": "スクリーンショット権限が拒否されました。システム設定で画面録画を許可してください。",
385+
"save_success": "スクリーンショットを保存しました",
386+
"send_title": "スクリーンショットを送信"
387+
},
388+
"tool": {
389+
"arrow": "Arrow",
390+
"ellipse": "Ellipse",
391+
"mosaic": "Mosaic",
392+
"pen": "Pen",
393+
"rect": "Rectangle",
394+
"text": "Text"
395+
}
396+
},
397+
"settings": {
398+
"default_action": {
399+
"copy": "直接コピー",
400+
"menu": "アクションメニューを表示",
401+
"save": "直接保存"
402+
},
403+
"hints": {
404+
"default_action": "スクリーンショット後のデフォルト操作",
405+
"save_format": "スクリーンショット保存時の画像形式",
406+
"save_to_history": "スクリーンショットをクリップボード履歴に自動保存"
407+
},
408+
"label": {
409+
"default_action": "デフォルトアクション",
410+
"save_format": "保存形式",
411+
"save_to_history": "履歴に自動保存"
412+
},
413+
"title": "スクリーンショット設定"
414+
}
415+
},
368416
"settings": {
369417
"app_settings": {
370418
"hints": {
@@ -437,66 +485,22 @@
437485
"copy_file_path": "ウィンドウがアクティブな時、選択した項目のファイルパスをクリップボードにコピー",
438486
"paste_as_plain": "選択範囲をプレーンテキスト、パスとして貼り付けます。",
439487
"quick_paste": "ウィンドウを隠す際、数字キーの組み合わせで最初の9項目を素早く貼り付ける",
440-
"send": "ウィンドウがアクティブな時、選択した内容をAI APIに送信",
441-
"screenshot": "スクリーンショットのグローバルショートカットキー"
488+
"screenshot": "スクリーンショットのグローバルショートカットキー",
489+
"send": "ウィンドウがアクティブな時、選択した内容をAI APIに送信"
442490
},
443491
"label": {
444492
"copy_file_path": "ファイルパスをコピー",
445493
"open_clipboard": "クリップボードを開く",
446494
"open_settings": "クリップボード設定を開く",
447495
"paste_as_plain": "プレーンテキストとして貼り付け",
448496
"quick_paste": "クイックペースト",
449-
"send": "AIに送信",
450-
"screenshot": "スクリーンショット"
497+
"screenshot": "スクリーンショット",
498+
"send": "AIに送信"
451499
},
452500
"title": "ショートカットキー"
453501
}
454502
},
455-
"title": "環境設定",
456-
"screenshot": {
457-
"settings": {
458-
"title": "スクリーンショット設定",
459-
"label": {
460-
"save_to_history": "履歴に自動保存",
461-
"default_action": "デフォルトアクション",
462-
"save_format": "保存形式"
463-
},
464-
"hints": {
465-
"save_to_history": "スクリーンショットをクリップボード履歴に自動保存",
466-
"default_action": "スクリーンショット後のデフォルト操作",
467-
"save_format": "スクリーンショット保存時の画像形式"
468-
},
469-
"default_action": {
470-
"menu": "アクションメニューを表示",
471-
"copy": "直接コピー",
472-
"save": "直接保存"
473-
}
474-
},
475-
"editor": {
476-
"tool": {
477-
"rect": "Rectangle",
478-
"ellipse": "Ellipse",
479-
"arrow": "Arrow",
480-
"text": "Text",
481-
"pen": "Pen",
482-
"mosaic": "Mosaic"
483-
},
484-
"action": {
485-
"cancel": "キャンセル",
486-
"copy": "コピー",
487-
"save": "保存",
488-
"send": "Wegentに送信",
489-
"undo": "元に戻す",
490-
"redo": "やり直す"
491-
},
492-
"hint": {
493-
"copy_success": "クリップボードにコピーしました",
494-
"save_success": "スクリーンショットを保存しました",
495-
"send_title": "スクリーンショットを送信",
496-
"permission_denied": "スクリーンショット権限が拒否されました。システム設定で画面録画を許可してください。"
497-
}
498-
}
499-
}
503+
"title": "環境設定"
500504
},
501505
"tag": {
502506
"color_label": "タグの色",
@@ -513,4 +517,4 @@
513517
"name_label": "タグ名",
514518
"name_placeholder": "タグ名を入力してください"
515519
}
516-
}
520+
}

0 commit comments

Comments
 (0)