Skip to content

Commit

Permalink
Add option Intercept logging
Browse files Browse the repository at this point in the history
Fixes [GH#38](#38).

Signed-off-by: William So <polyipseity@gmail.com>
  • Loading branch information
polyipseity committed Jun 6, 2024
1 parent a688315 commit 66177c1
Show file tree
Hide file tree
Showing 55 changed files with 111 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/eight-cameras-sniff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"obsidian-terminal": minor
---

Add option `Intercept logging`. Fixes [GH#38](https://github.com/polyipseity/obsidian-terminal/issues/38).
1 change: 1 addition & 0 deletions assets/locales/af/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/am/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/ar/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/be/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/bg/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/bn/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/ca/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/cs/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/da/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/el/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/en/asset.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
"expose-internal-modules-icon": "puzzle",
"focus-on-new-instance-icon": "focus",
"hide-status-bar-icon": "eye-off",
"intercept-logging-icon": "scroll-text",
"new-instance-behavior-icon": "plus",
"open-changelog-on-update-icon": "$t(asset:generic.documentations.changelog-icon)",
"pin-new-instance-icon": "pin",
Expand Down
1 change: 1 addition & 0 deletions assets/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/eo/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/eu/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/fa/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/fi/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/gl/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/he/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/hi/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/hu/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/id/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/it/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/ja/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/ko/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/lv/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/ml/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/ms/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/nl/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/no/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/oc/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/pl/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/pt-BR/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/pt/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/ro/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/ru/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/se/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/sk/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/sq/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/sr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/ta/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/te/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/th/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/tr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/uk/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/ur/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"running": "When $t(generic.terminal) is running"
},
"instancing": "$t(generic.instance_gerund, capitalize)",
"intercept-logging": "Intercept logging",
"interface": "Interface",
"new-instance-behavior": "New $t(generic.instance) $t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
1 change: 1 addition & 0 deletions assets/locales/zh-Hans/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@
"running": "当执行$t(generic.terminal)时"
},
"instancing": "$t(generic.instance)",
"intercept-logging": "拦截记录",
"interface": "界面",
"new-instance-behavior": "新$t(generic.instance)$t(generic.behavior)",
"new-instance-behaviors": {
Expand Down
Loading

0 comments on commit 66177c1

Please sign in to comment.