@qwen-code/qwen-code 0.13.0 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/locales/de.js CHANGED
@@ -594,6 +594,121 @@ export default {
594
594
  'List all configured hooks': 'Alle konfigurierten Hooks auflisten',
595
595
  'Enable a disabled hook': 'Einen deaktivierten Hook aktivieren',
596
596
  'Disable an active hook': 'Einen aktiven Hook deaktivieren',
597
+ // Hooks - Dialog
598
+ Hooks: 'Hooks',
599
+ 'Loading hooks...': 'Hooks werden geladen...',
600
+ 'Error loading hooks:': 'Fehler beim Laden der Hooks:',
601
+ 'Press Escape to close': 'Escape zum Schließen drücken',
602
+ 'No hook selected': 'Kein Hook ausgewählt',
603
+ // Hooks - List Step
604
+ 'No hook events found.': 'Keine Hook-Ereignisse gefunden.',
605
+ '{{count}} hook configured': '{{count}} Hook konfiguriert',
606
+ '{{count}} hooks configured': '{{count}} Hooks konfiguriert',
607
+ 'This menu is read-only. To add or modify hooks, edit settings.json directly or ask Qwen Code.':
608
+ 'Dieses Menü ist schreibgeschützt. Um Hooks hinzuzufügen oder zu ändern, bearbeiten Sie settings.json direkt oder fragen Sie Qwen Code.',
609
+ 'Enter to select · Esc to cancel': 'Enter zum Auswählen · Esc zum Abbrechen',
610
+ // Hooks - Detail Step
611
+ 'Exit codes:': 'Exit-Codes:',
612
+ 'Configured hooks:': 'Konfigurierte Hooks:',
613
+ 'No hooks configured for this event.':
614
+ 'Für dieses Ereignis sind keine Hooks konfiguriert.',
615
+ 'To add hooks, edit settings.json directly or ask Qwen.':
616
+ 'Um Hooks hinzuzufügen, bearbeiten Sie settings.json direkt oder fragen Sie Qwen.',
617
+ 'Enter to select · Esc to go back': 'Enter zum Auswählen · Esc zum Zurück',
618
+ // Hooks - Config Detail Step
619
+ 'Hook details': 'Hook-Details',
620
+ 'Event:': 'Ereignis:',
621
+ 'Extension:': 'Erweiterung:',
622
+ 'Desc:': 'Beschreibung:',
623
+ 'No hook config selected': 'Keine Hook-Konfiguration ausgewählt',
624
+ 'To modify or remove this hook, edit settings.json directly or ask Qwen to help.':
625
+ 'Um diesen Hook zu ändern oder zu entfernen, bearbeiten Sie settings.json direkt oder fragen Sie Qwen.',
626
+ // Hooks - Source
627
+ Project: 'Projekt',
628
+ User: 'Benutzer',
629
+ System: 'System',
630
+ Extension: 'Erweiterung',
631
+ 'Local Settings': 'Lokale Einstellungen',
632
+ 'User Settings': 'Benutzereinstellungen',
633
+ 'System Settings': 'Systemeinstellungen',
634
+ Extensions: 'Erweiterungen',
635
+ // Hooks - Status
636
+ '✓ Enabled': '✓ Aktiviert',
637
+ '✗ Disabled': '✗ Deaktiviert',
638
+ // Hooks - Event Descriptions (short)
639
+ 'Before tool execution': 'Vor der Tool-Ausführung',
640
+ 'After tool execution': 'Nach der Tool-Ausführung',
641
+ 'After tool execution fails': 'Wenn die Tool-Ausführung fehlschlägt',
642
+ 'When notifications are sent': 'Wenn Benachrichtigungen gesendet werden',
643
+ 'When the user submits a prompt': 'Wenn der Benutzer einen Prompt absendet',
644
+ 'When a new session is started': 'Wenn eine neue Sitzung gestartet wird',
645
+ 'Right before Qwen Code concludes its response':
646
+ 'Direkt bevor Qwen Code seine Antwort abschließt',
647
+ 'When a subagent (Agent tool call) is started':
648
+ 'Wenn ein Subagent (Agent-Tool-Aufruf) gestartet wird',
649
+ 'Right before a subagent concludes its response':
650
+ 'Direkt bevor ein Subagent seine Antwort abschließt',
651
+ 'Before conversation compaction': 'Vor der Gesprächskomprimierung',
652
+ 'When a session is ending': 'Wenn eine Sitzung endet',
653
+ 'When a permission dialog is displayed':
654
+ 'Wenn ein Berechtigungsdialog angezeigt wird',
655
+ // Hooks - Event Descriptions (detailed)
656
+ 'Input to command is JSON of tool call arguments.':
657
+ 'Die Eingabe an den Befehl ist JSON der Tool-Aufruf-Argumente.',
658
+ 'Input to command is JSON with fields "inputs" (tool call arguments) and "response" (tool call response).':
659
+ 'Die Eingabe an den Befehl ist JSON mit den Feldern "inputs" (Tool-Aufruf-Argumente) und "response" (Tool-Aufruf-Antwort).',
660
+ 'Input to command is JSON with tool_name, tool_input, tool_use_id, error, error_type, is_interrupt, and is_timeout.':
661
+ 'Die Eingabe an den Befehl ist JSON mit tool_name, tool_input, tool_use_id, error, error_type, is_interrupt und is_timeout.',
662
+ 'Input to command is JSON with notification message and type.':
663
+ 'Die Eingabe an den Befehl ist JSON mit Benachrichtigungsnachricht und -typ.',
664
+ 'Input to command is JSON with original user prompt text.':
665
+ 'Die Eingabe an den Befehl ist JSON mit dem ursprünglichen Benutzer-Prompt-Text.',
666
+ 'Input to command is JSON with session start source.':
667
+ 'Die Eingabe an den Befehl ist JSON mit der Sitzungsstart-Quelle.',
668
+ 'Input to command is JSON with session end reason.':
669
+ 'Die Eingabe an den Befehl ist JSON mit dem Sitzungsende-Grund.',
670
+ 'Input to command is JSON with agent_id and agent_type.':
671
+ 'Die Eingabe an den Befehl ist JSON mit agent_id und agent_type.',
672
+ 'Input to command is JSON with agent_id, agent_type, and agent_transcript_path.':
673
+ 'Die Eingabe an den Befehl ist JSON mit agent_id, agent_type und agent_transcript_path.',
674
+ 'Input to command is JSON with compaction details.':
675
+ 'Die Eingabe an den Befehl ist JSON mit Komprimierungsdetails.',
676
+ 'Input to command is JSON with tool_name, tool_input, and tool_use_id. Output JSON with hookSpecificOutput containing decision to allow or deny.':
677
+ 'Die Eingabe an den Befehl ist JSON mit tool_name, tool_input und tool_use_id. Ausgabe ist JSON mit hookSpecificOutput, das die Entscheidung zum Zulassen oder Ablehnen enthält.',
678
+ // Hooks - Exit Code Descriptions
679
+ 'stdout/stderr not shown': 'stdout/stderr nicht angezeigt',
680
+ 'show stderr to model and continue conversation':
681
+ 'stderr dem Modell anzeigen und Konversation fortsetzen',
682
+ 'show stderr to user only': 'stderr nur dem Benutzer anzeigen',
683
+ 'stdout shown in transcript mode (ctrl+o)':
684
+ 'stdout im Transkriptmodus angezeigt (ctrl+o)',
685
+ 'show stderr to model immediately': 'stderr sofort dem Modell anzeigen',
686
+ 'show stderr to user only but continue with tool call':
687
+ 'stderr nur dem Benutzer anzeigen, aber mit Tool-Aufruf fortfahren',
688
+ 'block processing, erase original prompt, and show stderr to user only':
689
+ 'Verarbeitung blockieren, ursprünglichen Prompt löschen und stderr nur dem Benutzer anzeigen',
690
+ 'stdout shown to Qwen': 'stdout dem Qwen anzeigen',
691
+ 'show stderr to user only (blocking errors ignored)':
692
+ 'stderr nur dem Benutzer anzeigen (Blockierungsfehler ignoriert)',
693
+ 'command completes successfully': 'Befehl erfolgreich abgeschlossen',
694
+ 'stdout shown to subagent': 'stdout dem Subagenten anzeigen',
695
+ 'show stderr to subagent and continue having it run':
696
+ 'stderr dem Subagenten anzeigen und ihn weiterlaufen lassen',
697
+ 'stdout appended as custom compact instructions':
698
+ 'stdout als benutzerdefinierte Komprimierungsanweisungen angehängt',
699
+ 'block compaction': 'Komprimierung blockieren',
700
+ 'show stderr to user only but continue with compaction':
701
+ 'stderr nur dem Benutzer anzeigen, aber mit Komprimierung fortfahren',
702
+ 'use hook decision if provided':
703
+ 'Hook-Entscheidung verwenden, falls bereitgestellt',
704
+ // Hooks - Messages
705
+ 'Config not loaded.': 'Konfiguration nicht geladen.',
706
+ 'Hooks are not enabled. Enable hooks in settings to use this feature.':
707
+ 'Hooks sind nicht aktiviert. Aktivieren Sie Hooks in den Einstellungen, um diese Funktion zu nutzen.',
708
+ 'No hooks configured. Add hooks in your settings.json file.':
709
+ 'Keine Hooks konfiguriert. Fügen Sie Hooks in Ihrer settings.json-Datei hinzu.',
710
+ 'Configured Hooks ({{count}} total)':
711
+ 'Konfigurierte Hooks ({{count}} insgesamt)',
597
712
 
598
713
  // ============================================================================
599
714
  // Commands - Session Export
@@ -708,7 +823,6 @@ export default {
708
823
  'Workspace approval mode exists and takes priority. User-level change will have no effect.':
709
824
  'Arbeitsbereich-Genehmigungsmodus existiert und hat Vorrang. Benutzerebene-Änderung hat keine Wirkung.',
710
825
  'Apply To': 'Anwenden auf',
711
- 'User Settings': 'Benutzereinstellungen',
712
826
  'Workspace Settings': 'Arbeitsbereich-Einstellungen',
713
827
 
714
828
  // ============================================================================
@@ -763,7 +877,6 @@ export default {
763
877
  'List configured MCP servers and tools':
764
878
  'Konfigurierte MCP-Server und Werkzeuge auflisten',
765
879
  'Restarts MCP servers.': 'MCP-Server neu starten.',
766
- 'Config not loaded.': 'Konfiguration nicht geladen.',
767
880
  'Could not retrieve tool registry.':
768
881
  'Werkzeugregister konnte nicht abgerufen werden.',
769
882
  'No MCP servers configured with OAuth authentication.':
@@ -972,7 +1085,6 @@ export default {
972
1085
  'No server selected': 'Kein Server ausgewählt',
973
1086
  '(disabled)': '(deaktiviert)',
974
1087
  'Error:': 'Fehler:',
975
- Extension: 'Erweiterung',
976
1088
  tool: 'Werkzeug',
977
1089
  tools: 'Werkzeuge',
978
1090
  connected: 'verbunden',
@@ -1047,7 +1159,11 @@ export default {
1047
1159
  "Ausführung erlauben von: '{{command}}'?",
1048
1160
  'Yes, allow always ...': 'Ja, immer erlauben ...',
1049
1161
  'Always allow in this project': 'In diesem Projekt immer erlauben',
1162
+ 'Always allow {{action}} in this project':
1163
+ '{{action}} in diesem Projekt immer erlauben',
1050
1164
  'Always allow for this user': 'Für diesen Benutzer immer erlauben',
1165
+ 'Always allow {{action}} for this user':
1166
+ '{{action}} für diesen Benutzer immer erlauben',
1051
1167
  'Yes, and auto-accept edits': 'Ja, und Änderungen automatisch akzeptieren',
1052
1168
  'Yes, and manually approve edits': 'Ja, und Änderungen manuell genehmigen',
1053
1169
  'No, keep planning (esc)': 'Nein, weiter planen (Esc)',
package/locales/en.js CHANGED
@@ -668,6 +668,118 @@ export default {
668
668
  'List all configured hooks': 'List all configured hooks',
669
669
  'Enable a disabled hook': 'Enable a disabled hook',
670
670
  'Disable an active hook': 'Disable an active hook',
671
+ // Hooks - Dialog
672
+ Hooks: 'Hooks',
673
+ 'Loading hooks...': 'Loading hooks...',
674
+ 'Error loading hooks:': 'Error loading hooks:',
675
+ 'Press Escape to close': 'Press Escape to close',
676
+ 'No hook selected': 'No hook selected',
677
+ // Hooks - List Step
678
+ 'No hook events found.': 'No hook events found.',
679
+ '{{count}} hook configured': '{{count}} hook configured',
680
+ '{{count}} hooks configured': '{{count}} hooks configured',
681
+ 'This menu is read-only. To add or modify hooks, edit settings.json directly or ask Qwen Code.':
682
+ 'This menu is read-only. To add or modify hooks, edit settings.json directly or ask Qwen Code.',
683
+ 'Enter to select · Esc to cancel': 'Enter to select · Esc to cancel',
684
+ // Hooks - Detail Step
685
+ 'Exit codes:': 'Exit codes:',
686
+ 'Configured hooks:': 'Configured hooks:',
687
+ 'No hooks configured for this event.': 'No hooks configured for this event.',
688
+ 'To add hooks, edit settings.json directly or ask Qwen.':
689
+ 'To add hooks, edit settings.json directly or ask Qwen.',
690
+ 'Enter to select · Esc to go back': 'Enter to select · Esc to go back',
691
+ // Hooks - Config Detail Step
692
+ 'Hook details': 'Hook details',
693
+ 'Event:': 'Event:',
694
+ 'Extension:': 'Extension:',
695
+ 'Desc:': 'Desc:',
696
+ 'No hook config selected': 'No hook config selected',
697
+ 'To modify or remove this hook, edit settings.json directly or ask Qwen to help.':
698
+ 'To modify or remove this hook, edit settings.json directly or ask Qwen to help.',
699
+ // Hooks - Source
700
+ Project: 'Project',
701
+ User: 'User',
702
+ System: 'System',
703
+ Extension: 'Extension',
704
+ 'Local Settings': 'Local Settings',
705
+ 'User Settings': 'User Settings',
706
+ 'System Settings': 'System Settings',
707
+ Extensions: 'Extensions',
708
+ // Hooks - Status
709
+ '✓ Enabled': '✓ Enabled',
710
+ '✗ Disabled': '✗ Disabled',
711
+ // Hooks - Event Descriptions (short)
712
+ 'Before tool execution': 'Before tool execution',
713
+ 'After tool execution': 'After tool execution',
714
+ 'After tool execution fails': 'After tool execution fails',
715
+ 'When notifications are sent': 'When notifications are sent',
716
+ 'When the user submits a prompt': 'When the user submits a prompt',
717
+ 'When a new session is started': 'When a new session is started',
718
+ 'Right before Qwen Code concludes its response':
719
+ 'Right before Qwen Code concludes its response',
720
+ 'When a subagent (Agent tool call) is started':
721
+ 'When a subagent (Agent tool call) is started',
722
+ 'Right before a subagent concludes its response':
723
+ 'Right before a subagent concludes its response',
724
+ 'Before conversation compaction': 'Before conversation compaction',
725
+ 'When a session is ending': 'When a session is ending',
726
+ 'When a permission dialog is displayed':
727
+ 'When a permission dialog is displayed',
728
+ // Hooks - Event Descriptions (detailed)
729
+ 'Input to command is JSON of tool call arguments.':
730
+ 'Input to command is JSON of tool call arguments.',
731
+ 'Input to command is JSON with fields "inputs" (tool call arguments) and "response" (tool call response).':
732
+ 'Input to command is JSON with fields "inputs" (tool call arguments) and "response" (tool call response).',
733
+ 'Input to command is JSON with tool_name, tool_input, tool_use_id, error, error_type, is_interrupt, and is_timeout.':
734
+ 'Input to command is JSON with tool_name, tool_input, tool_use_id, error, error_type, is_interrupt, and is_timeout.',
735
+ 'Input to command is JSON with notification message and type.':
736
+ 'Input to command is JSON with notification message and type.',
737
+ 'Input to command is JSON with original user prompt text.':
738
+ 'Input to command is JSON with original user prompt text.',
739
+ 'Input to command is JSON with session start source.':
740
+ 'Input to command is JSON with session start source.',
741
+ 'Input to command is JSON with session end reason.':
742
+ 'Input to command is JSON with session end reason.',
743
+ 'Input to command is JSON with agent_id and agent_type.':
744
+ 'Input to command is JSON with agent_id and agent_type.',
745
+ 'Input to command is JSON with agent_id, agent_type, and agent_transcript_path.':
746
+ 'Input to command is JSON with agent_id, agent_type, and agent_transcript_path.',
747
+ 'Input to command is JSON with compaction details.':
748
+ 'Input to command is JSON with compaction details.',
749
+ 'Input to command is JSON with tool_name, tool_input, and tool_use_id. Output JSON with hookSpecificOutput containing decision to allow or deny.':
750
+ 'Input to command is JSON with tool_name, tool_input, and tool_use_id. Output JSON with hookSpecificOutput containing decision to allow or deny.',
751
+ // Hooks - Exit Code Descriptions
752
+ 'stdout/stderr not shown': 'stdout/stderr not shown',
753
+ 'show stderr to model and continue conversation':
754
+ 'show stderr to model and continue conversation',
755
+ 'show stderr to user only': 'show stderr to user only',
756
+ 'stdout shown in transcript mode (ctrl+o)':
757
+ 'stdout shown in transcript mode (ctrl+o)',
758
+ 'show stderr to model immediately': 'show stderr to model immediately',
759
+ 'show stderr to user only but continue with tool call':
760
+ 'show stderr to user only but continue with tool call',
761
+ 'block processing, erase original prompt, and show stderr to user only':
762
+ 'block processing, erase original prompt, and show stderr to user only',
763
+ 'stdout shown to Qwen': 'stdout shown to Qwen',
764
+ 'show stderr to user only (blocking errors ignored)':
765
+ 'show stderr to user only (blocking errors ignored)',
766
+ 'command completes successfully': 'command completes successfully',
767
+ 'stdout shown to subagent': 'stdout shown to subagent',
768
+ 'show stderr to subagent and continue having it run':
769
+ 'show stderr to subagent and continue having it run',
770
+ 'stdout appended as custom compact instructions':
771
+ 'stdout appended as custom compact instructions',
772
+ 'block compaction': 'block compaction',
773
+ 'show stderr to user only but continue with compaction':
774
+ 'show stderr to user only but continue with compaction',
775
+ 'use hook decision if provided': 'use hook decision if provided',
776
+ // Hooks - Messages
777
+ 'Config not loaded.': 'Config not loaded.',
778
+ 'Hooks are not enabled. Enable hooks in settings to use this feature.':
779
+ 'Hooks are not enabled. Enable hooks in settings to use this feature.',
780
+ 'No hooks configured. Add hooks in your settings.json file.':
781
+ 'No hooks configured. Add hooks in your settings.json file.',
782
+ 'Configured Hooks ({{count}} total)': 'Configured Hooks ({{count}} total)',
671
783
 
672
784
  // ============================================================================
673
785
  // Commands - Session Export
@@ -775,7 +887,6 @@ export default {
775
887
  'Workspace approval mode exists and takes priority. User-level change will have no effect.':
776
888
  'Workspace approval mode exists and takes priority. User-level change will have no effect.',
777
889
  'Apply To': 'Apply To',
778
- 'User Settings': 'User Settings',
779
890
  'Workspace Settings': 'Workspace Settings',
780
891
 
781
892
  // ============================================================================
@@ -829,7 +940,6 @@ export default {
829
940
  'List configured MCP servers and tools',
830
941
  'Restarts MCP servers.': 'Restarts MCP servers.',
831
942
  'Open MCP management dialog': 'Open MCP management dialog',
832
- 'Config not loaded.': 'Config not loaded.',
833
943
  'Could not retrieve tool registry.': 'Could not retrieve tool registry.',
834
944
  'No MCP servers configured with OAuth authentication.':
835
945
  'No MCP servers configured with OAuth authentication.',
@@ -895,7 +1005,6 @@ export default {
895
1005
  prompts: 'prompts',
896
1006
  '(disabled)': '(disabled)',
897
1007
  'Error:': 'Error:',
898
- Extension: 'Extension',
899
1008
  tool: 'tool',
900
1009
  tools: 'tools',
901
1010
  connected: 'connected',
@@ -1103,7 +1212,11 @@ export default {
1103
1212
  "Allow execution of: '{{command}}'?": "Allow execution of: '{{command}}'?",
1104
1213
  'Yes, allow always ...': 'Yes, allow always ...',
1105
1214
  'Always allow in this project': 'Always allow in this project',
1215
+ 'Always allow {{action}} in this project':
1216
+ 'Always allow {{action}} in this project',
1106
1217
  'Always allow for this user': 'Always allow for this user',
1218
+ 'Always allow {{action}} for this user':
1219
+ 'Always allow {{action}} for this user',
1107
1220
  'Yes, and auto-accept edits': 'Yes, and auto-accept edits',
1108
1221
  'Yes, and manually approve edits': 'Yes, and manually approve edits',
1109
1222
  'No, keep planning (esc)': 'No, keep planning (esc)',
package/locales/ja.js CHANGED
@@ -380,6 +380,118 @@ export default {
380
380
  'List all configured hooks': '設定済みのフックをすべて表示する',
381
381
  'Enable a disabled hook': '無効なフックを有効にする',
382
382
  'Disable an active hook': '有効なフックを無効にする',
383
+ // Hooks - Dialog
384
+ Hooks: 'フック',
385
+ 'Loading hooks...': 'フックを読み込んでいます...',
386
+ 'Error loading hooks:': 'フックの読み込みエラー:',
387
+ 'Press Escape to close': 'Escape キーで閉じる',
388
+ 'No hook selected': 'フックが選択されていません',
389
+ // Hooks - List Step
390
+ 'No hook events found.': 'フックイベントが見つかりません。',
391
+ '{{count}} hook configured': '{{count}} 件のフックが設定されています',
392
+ '{{count}} hooks configured': '{{count}} 件のフックが設定されています',
393
+ 'This menu is read-only. To add or modify hooks, edit settings.json directly or ask Qwen Code.':
394
+ 'このメニューは読み取り専用です。フックを追加または変更するには、settings.json を直接編集するか、Qwen Code に尋ねてください。',
395
+ 'Enter to select · Esc to cancel': 'Enter で選択 · Esc でキャンセル',
396
+ // Hooks - Detail Step
397
+ 'Exit codes:': '終了コード:',
398
+ 'Configured hooks:': '設定済みのフック:',
399
+ 'No hooks configured for this event.':
400
+ 'このイベントにはフックが設定されていません。',
401
+ 'To add hooks, edit settings.json directly or ask Qwen.':
402
+ 'フックを追加するには、settings.json を直接編集するか、Qwen に尋ねてください。',
403
+ 'Enter to select · Esc to go back': 'Enter で選択 · Esc で戻る',
404
+ // Hooks - Config Detail Step
405
+ 'Hook details': 'フック詳細',
406
+ 'Event:': 'イベント:',
407
+ 'Extension:': '拡張機能:',
408
+ 'Desc:': '説明:',
409
+ 'No hook config selected': 'フック設定が選択されていません',
410
+ 'To modify or remove this hook, edit settings.json directly or ask Qwen to help.':
411
+ 'このフックを変更または削除するには、settings.json を直接編集するか、Qwen に尋ねてください。',
412
+ // Hooks - Source
413
+ Project: 'プロジェクト',
414
+ User: 'ユーザー',
415
+ System: 'システム',
416
+ Extension: '拡張機能',
417
+ 'Local Settings': 'ローカル設定',
418
+ 'User Settings': 'ユーザー設定',
419
+ 'System Settings': 'システム設定',
420
+ Extensions: '拡張機能',
421
+ // Hooks - Status
422
+ '✓ Enabled': '✓ 有効',
423
+ '✗ Disabled': '✗ 無効',
424
+ // Hooks - Event Descriptions (short)
425
+ 'Before tool execution': 'ツール実行前',
426
+ 'After tool execution': 'ツール実行後',
427
+ 'After tool execution fails': 'ツール実行失敗時',
428
+ 'When notifications are sent': '通知送信時',
429
+ 'When the user submits a prompt': 'ユーザーがプロンプトを送信した時',
430
+ 'When a new session is started': '新しいセッションが開始された時',
431
+ 'Right before Qwen Code concludes its response':
432
+ 'Qwen Code が応答を終了する直前',
433
+ 'When a subagent (Agent tool call) is started':
434
+ 'サブエージェント(Agent ツール呼び出し)が開始された時',
435
+ 'Right before a subagent concludes its response':
436
+ 'サブエージェントが応答を終了する直前',
437
+ 'Before conversation compaction': '会話圧縮前',
438
+ 'When a session is ending': 'セッション終了時',
439
+ 'When a permission dialog is displayed': '権限ダイアログ表示時',
440
+ // Hooks - Event Descriptions (detailed)
441
+ 'Input to command is JSON of tool call arguments.':
442
+ 'コマンドへの入力はツール呼び出し引数の JSON です。',
443
+ 'Input to command is JSON with fields "inputs" (tool call arguments) and "response" (tool call response).':
444
+ 'コマンドへの入力は "inputs"(ツール呼び出し引数)と "response"(ツール呼び出し応答)フィールドを持つ JSON です。',
445
+ 'Input to command is JSON with tool_name, tool_input, tool_use_id, error, error_type, is_interrupt, and is_timeout.':
446
+ 'コマンドへの入力は tool_name、tool_input、tool_use_id、error、error_type、is_interrupt、is_timeout を持つ JSON です。',
447
+ 'Input to command is JSON with notification message and type.':
448
+ 'コマンドへの入力は通知メッセージとタイプを持つ JSON です。',
449
+ 'Input to command is JSON with original user prompt text.':
450
+ 'コマンドへの入力は元のユーザープロンプトテキストを持つ JSON です。',
451
+ 'Input to command is JSON with session start source.':
452
+ 'コマンドへの入力はセッション開始ソースを持つ JSON です。',
453
+ 'Input to command is JSON with session end reason.':
454
+ 'コマンドへの入力はセッション終了理由を持つ JSON です。',
455
+ 'Input to command is JSON with agent_id and agent_type.':
456
+ 'コマンドへの入力は agent_id と agent_type を持つ JSON です。',
457
+ 'Input to command is JSON with agent_id, agent_type, and agent_transcript_path.':
458
+ 'コマンドへの入力は agent_id、agent_type、agent_transcript_path を持つ JSON です。',
459
+ 'Input to command is JSON with compaction details.':
460
+ 'コマンドへの入力は圧縮詳細を持つ JSON です。',
461
+ 'Input to command is JSON with tool_name, tool_input, and tool_use_id. Output JSON with hookSpecificOutput containing decision to allow or deny.':
462
+ 'コマンドへの入力は tool_name、tool_input、tool_use_id を持つ JSON です。許可または拒否の決定を含む hookSpecificOutput を持つ JSON を出力します。',
463
+ // Hooks - Exit Code Descriptions
464
+ 'stdout/stderr not shown': 'stdout/stderr は表示されません',
465
+ 'show stderr to model and continue conversation':
466
+ 'stderr をモデルに表示し、会話を続ける',
467
+ 'show stderr to user only': 'stderr をユーザーのみに表示',
468
+ 'stdout shown in transcript mode (ctrl+o)':
469
+ 'stdout はトランスクリプトモードで表示 (ctrl+o)',
470
+ 'show stderr to model immediately': 'stderr をモデルに即座に表示',
471
+ 'show stderr to user only but continue with tool call':
472
+ 'stderr をユーザーのみに表示し、ツール呼び出しを続ける',
473
+ 'block processing, erase original prompt, and show stderr to user only':
474
+ '処理をブロックし、元のプロンプトを消去し、stderr をユーザーのみに表示',
475
+ 'stdout shown to Qwen': 'stdout をモデルに表示',
476
+ 'show stderr to user only (blocking errors ignored)':
477
+ 'stderr をユーザーのみに表示(ブロッキングエラーは無視)',
478
+ 'command completes successfully': 'コマンドが正常に完了',
479
+ 'stdout shown to subagent': 'stdout をサブエージェントに表示',
480
+ 'show stderr to subagent and continue having it run':
481
+ 'stderr をサブエージェントに表示し、実行を続ける',
482
+ 'stdout appended as custom compact instructions':
483
+ 'stdout をカスタム圧縮指示として追加',
484
+ 'block compaction': '圧縮をブロック',
485
+ 'show stderr to user only but continue with compaction':
486
+ 'stderr をユーザーのみに表示し、圧縮を続ける',
487
+ 'use hook decision if provided': '提供されている場合はフックの決定を使用',
488
+ // Hooks - Messages
489
+ 'Config not loaded.': '設定が読み込まれていません。',
490
+ 'Hooks are not enabled. Enable hooks in settings to use this feature.':
491
+ 'フックが有効になっていません。この機能を使用するには設定でフックを有効にしてください。',
492
+ 'No hooks configured. Add hooks in your settings.json file.':
493
+ 'フックが設定されていません。settings.json ファイルにフックを追加してください。',
494
+ 'Configured Hooks ({{count}} total)': '設定済みのフック(合計 {{count}} 件)',
383
495
 
384
496
  // ============================================================================
385
497
  // Commands - Session Export
@@ -480,7 +592,6 @@ export default {
480
592
  '(Use Enter to select, Tab to change focus)':
481
593
  '(Enter で選択、Tab でフォーカス変更)',
482
594
  'Apply To': '適用先',
483
- 'User Settings': 'ユーザー設定',
484
595
  'Workspace Settings': 'ワークスペース設定',
485
596
  // Memory
486
597
  'Commands for interacting with memory.': 'メモリ操作のコマンド',
@@ -527,7 +638,6 @@ export default {
527
638
  '設定済みのMCPサーバーとツールを一覧表示',
528
639
  'No MCP servers configured.': 'MCPサーバーが設定されていません',
529
640
  'Restarts MCP servers.': 'MCPサーバーを再起動します',
530
- 'Config not loaded.': '設定が読み込まれていません',
531
641
  'Could not retrieve tool registry.': 'ツールレジストリを取得できませんでした',
532
642
  'No MCP servers configured with OAuth authentication.':
533
643
  'OAuth認証が設定されたMCPサーバーはありません',
@@ -712,7 +822,6 @@ export default {
712
822
  'No server selected': 'サーバーが選択されていません',
713
823
  '(disabled)': '(無効)',
714
824
  'Error:': 'エラー:',
715
- Extension: '拡張機能',
716
825
  tool: 'ツール',
717
826
  tools: 'ツール',
718
827
  connected: '接続済み',
@@ -786,7 +895,10 @@ export default {
786
895
  "Allow execution of: '{{command}}'?": "'{{command}}' の実行を許可しますか?",
787
896
  'Yes, allow always ...': 'はい、常に許可...',
788
897
  'Always allow in this project': 'このプロジェクトで常に許可',
898
+ 'Always allow {{action}} in this project':
899
+ 'このプロジェクトで{{action}}を常に許可',
789
900
  'Always allow for this user': 'このユーザーに常に許可',
901
+ 'Always allow {{action}} for this user': 'このユーザーに{{action}}を常に許可',
790
902
  'Yes, and auto-accept edits': 'はい、編集を自動承認',
791
903
  'Yes, and manually approve edits': 'はい、編集を手動承認',
792
904
  'No, keep planning (esc)': 'いいえ、計画を続ける (Esc)',
package/locales/pt.js CHANGED
@@ -599,6 +599,120 @@ export default {
599
599
  'List all configured hooks': 'Listar todos os hooks configurados',
600
600
  'Enable a disabled hook': 'Ativar um hook desativado',
601
601
  'Disable an active hook': 'Desativar um hook ativo',
602
+ // Hooks - Dialog
603
+ Hooks: 'Hooks',
604
+ 'Loading hooks...': 'Carregando hooks...',
605
+ 'Error loading hooks:': 'Erro ao carregar hooks:',
606
+ 'Press Escape to close': 'Pressione Escape para fechar',
607
+ 'No hook selected': 'Nenhum hook selecionado',
608
+ // Hooks - List Step
609
+ 'No hook events found.': 'Nenhum evento de hook encontrado.',
610
+ '{{count}} hook configured': '{{count}} hook configurado',
611
+ '{{count}} hooks configured': '{{count}} hooks configurados',
612
+ 'This menu is read-only. To add or modify hooks, edit settings.json directly or ask Qwen Code.':
613
+ 'Este menu é somente leitura. Para adicionar ou modificar hooks, edite settings.json diretamente ou pergunte ao Qwen Code.',
614
+ 'Enter to select · Esc to cancel':
615
+ 'Enter para selecionar · Esc para cancelar',
616
+ // Hooks - Detail Step
617
+ 'Exit codes:': 'Códigos de saída:',
618
+ 'Configured hooks:': 'Hooks configurados:',
619
+ 'No hooks configured for this event.':
620
+ 'Nenhum hook configurado para este evento.',
621
+ 'To add hooks, edit settings.json directly or ask Qwen.':
622
+ 'Para adicionar hooks, edite settings.json diretamente ou pergunte ao Qwen.',
623
+ 'Enter to select · Esc to go back': 'Enter para selecionar · Esc para voltar',
624
+ // Hooks - Config Detail Step
625
+ 'Hook details': 'Detalhes do Hook',
626
+ 'Event:': 'Evento:',
627
+ 'Extension:': 'Extensão:',
628
+ 'Desc:': 'Descrição:',
629
+ 'No hook config selected': 'Nenhuma configuração de hook selecionada',
630
+ 'To modify or remove this hook, edit settings.json directly or ask Qwen to help.':
631
+ 'Para modificar ou remover este hook, edite settings.json diretamente ou pergunte ao Qwen.',
632
+ // Hooks - Source
633
+ Project: 'Projeto',
634
+ User: 'Usuário',
635
+ System: 'Sistema',
636
+ Extension: 'Extensão',
637
+ 'Local Settings': 'Configurações Locais',
638
+ 'User Settings': 'Configurações do Usuário',
639
+ 'System Settings': 'Configurações do Sistema',
640
+ Extensions: 'Extensões',
641
+ // Hooks - Status
642
+ '✓ Enabled': '✓ Ativado',
643
+ '✗ Disabled': '✗ Desativado',
644
+ // Hooks - Event Descriptions (short)
645
+ 'Before tool execution': 'Antes da execução da ferramenta',
646
+ 'After tool execution': 'Após a execução da ferramenta',
647
+ 'After tool execution fails': 'Após a falha da execução da ferramenta',
648
+ 'When notifications are sent': 'Quando notificações são enviadas',
649
+ 'When the user submits a prompt': 'Quando o usuário envia um prompt',
650
+ 'When a new session is started': 'Quando uma nova sessão é iniciada',
651
+ 'Right before Qwen Code concludes its response':
652
+ 'Logo antes do Qwen Code concluir sua resposta',
653
+ 'When a subagent (Agent tool call) is started':
654
+ 'Quando um subagente (chamada de ferramenta Agent) é iniciado',
655
+ 'Right before a subagent concludes its response':
656
+ 'Logo antes de um subagente concluir sua resposta',
657
+ 'Before conversation compaction': 'Antes da compactação da conversa',
658
+ 'When a session is ending': 'Quando uma sessão está terminando',
659
+ 'When a permission dialog is displayed':
660
+ 'Quando um diálogo de permissão é exibido',
661
+ // Hooks - Event Descriptions (detailed)
662
+ 'Input to command is JSON of tool call arguments.':
663
+ 'A entrada para o comando é JSON dos argumentos da chamada da ferramenta.',
664
+ 'Input to command is JSON with fields "inputs" (tool call arguments) and "response" (tool call response).':
665
+ 'A entrada para o comando é JSON com campos "inputs" (argumentos da chamada da ferramenta) e "response" (resposta da chamada da ferramenta).',
666
+ 'Input to command is JSON with tool_name, tool_input, tool_use_id, error, error_type, is_interrupt, and is_timeout.':
667
+ 'A entrada para o comando é JSON com tool_name, tool_input, tool_use_id, error, error_type, is_interrupt e is_timeout.',
668
+ 'Input to command is JSON with notification message and type.':
669
+ 'A entrada para o comando é JSON com mensagem e tipo de notificação.',
670
+ 'Input to command is JSON with original user prompt text.':
671
+ 'A entrada para o comando é JSON com o texto original do prompt do usuário.',
672
+ 'Input to command is JSON with session start source.':
673
+ 'A entrada para o comando é JSON com a fonte de início da sessão.',
674
+ 'Input to command is JSON with session end reason.':
675
+ 'A entrada para o comando é JSON com o motivo do fim da sessão.',
676
+ 'Input to command is JSON with agent_id and agent_type.':
677
+ 'A entrada para o comando é JSON com agent_id e agent_type.',
678
+ 'Input to command is JSON with agent_id, agent_type, and agent_transcript_path.':
679
+ 'A entrada para o comando é JSON com agent_id, agent_type e agent_transcript_path.',
680
+ 'Input to command is JSON with compaction details.':
681
+ 'A entrada para o comando é JSON com detalhes da compactação.',
682
+ 'Input to command is JSON with tool_name, tool_input, and tool_use_id. Output JSON with hookSpecificOutput containing decision to allow or deny.':
683
+ 'A entrada para o comando é JSON com tool_name, tool_input e tool_use_id. Saída é JSON com hookSpecificOutput contendo decisão de permitir ou negar.',
684
+ // Hooks - Exit Code Descriptions
685
+ 'stdout/stderr not shown': 'stdout/stderr não exibido',
686
+ 'show stderr to model and continue conversation':
687
+ 'mostrar stderr ao modelo e continuar conversa',
688
+ 'show stderr to user only': 'mostrar stderr apenas ao usuário',
689
+ 'stdout shown in transcript mode (ctrl+o)':
690
+ 'stdout exibido no modo transcrição (ctrl+o)',
691
+ 'show stderr to model immediately': 'mostrar stderr ao modelo imediatamente',
692
+ 'show stderr to user only but continue with tool call':
693
+ 'mostrar stderr apenas ao usuário mas continuar com chamada de ferramenta',
694
+ 'block processing, erase original prompt, and show stderr to user only':
695
+ 'bloquear processamento, apagar prompt original e mostrar stderr apenas ao usuário',
696
+ 'stdout shown to Qwen': 'stdout mostrado ao Qwen',
697
+ 'show stderr to user only (blocking errors ignored)':
698
+ 'mostrar stderr apenas ao usuário (erros de bloqueio ignorados)',
699
+ 'command completes successfully': 'comando concluído com sucesso',
700
+ 'stdout shown to subagent': 'stdout mostrado ao subagente',
701
+ 'show stderr to subagent and continue having it run':
702
+ 'mostrar stderr ao subagente e continuar executando',
703
+ 'stdout appended as custom compact instructions':
704
+ 'stdout anexado como instruções de compactação personalizadas',
705
+ 'block compaction': 'bloquear compactação',
706
+ 'show stderr to user only but continue with compaction':
707
+ 'mostrar stderr apenas ao usuário mas continuar com compactação',
708
+ 'use hook decision if provided': 'usar decisão do hook se fornecida',
709
+ // Hooks - Messages
710
+ 'Config not loaded.': 'Configuração não carregada.',
711
+ 'Hooks are not enabled. Enable hooks in settings to use this feature.':
712
+ 'Hooks não estão ativados. Ative hooks nas configurações para usar este recurso.',
713
+ 'No hooks configured. Add hooks in your settings.json file.':
714
+ 'Nenhum hook configurado. Adicione hooks no seu arquivo settings.json.',
715
+ 'Configured Hooks ({{count}} total)': 'Hooks Configurados ({{count}} total)',
602
716
 
603
717
  // ============================================================================
604
718
  // Commands - Session Export
@@ -712,7 +826,6 @@ export default {
712
826
  'Workspace approval mode exists and takes priority. User-level change will have no effect.':
713
827
  'O modo de aprovação do workspace existe e tem prioridade. A alteração no nível do usuário não terá efeito.',
714
828
  'Apply To': 'Aplicar A',
715
- 'User Settings': 'Configurações do Usuário',
716
829
  'Workspace Settings': 'Configurações do Workspace',
717
830
 
718
831
  // ============================================================================
@@ -769,7 +882,6 @@ export default {
769
882
  'List configured MCP servers and tools':
770
883
  'Listar servidores e ferramentas MCP configurados',
771
884
  'Restarts MCP servers.': 'Reinicia os servidores MCP.',
772
- 'Config not loaded.': 'Configuração não carregada.',
773
885
  'Could not retrieve tool registry.':
774
886
  'Não foi possível recuperar o registro de ferramentas.',
775
887
  'No MCP servers configured with OAuth authentication.':
@@ -979,7 +1091,6 @@ export default {
979
1091
  'No server selected': 'Nenhum servidor selecionado',
980
1092
  '(disabled)': '(desativado)',
981
1093
  'Error:': 'Erro:',
982
- Extension: 'Extensão',
983
1094
  tool: 'ferramenta',
984
1095
  tools: 'ferramentas',
985
1096
  connected: 'conectado',
@@ -1054,7 +1165,11 @@ export default {
1054
1165
  "Permitir a execução de: '{{command}}'?",
1055
1166
  'Yes, allow always ...': 'Sim, permitir sempre ...',
1056
1167
  'Always allow in this project': 'Sempre permitir neste projeto',
1168
+ 'Always allow {{action}} in this project':
1169
+ 'Sempre permitir {{action}} neste projeto',
1057
1170
  'Always allow for this user': 'Sempre permitir para este usuário',
1171
+ 'Always allow {{action}} for this user':
1172
+ 'Sempre permitir {{action}} para este usuário',
1058
1173
  'Yes, and auto-accept edits': 'Sim, e aceitar edições automaticamente',
1059
1174
  'Yes, and manually approve edits': 'Sim, e aprovar edições manualmente',
1060
1175
  'No, keep planning (esc)': 'Não, continuar planejando (esc)',