Skip to content

Commit a2f6368

Browse files
authored
Update terminalSettings.js
1 parent b12eec6 commit a2f6368

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

src/settings/terminalSettings.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default function terminalSettings() {
3232
{
3333
key: "all_file_access",
3434
text: strings["allFileAccess"],
35-
info: "Enable access of /sdcard and /storage in terminal",
35+
info: strings["info-all_file_access"],
3636
},
3737
{
3838
key: "fontSize",
@@ -46,7 +46,7 @@ export default function terminalSettings() {
4646
return value >= 8 && value <= 32;
4747
},
4848
},
49-
info: "The font size used to render text.",
49+
info: strings["info-fontSize"],
5050
},
5151
{
5252
key: "fontFamily",
@@ -55,13 +55,13 @@ export default function terminalSettings() {
5555
get select() {
5656
return fonts.getNames();
5757
},
58-
info: "The font family used to render text.",
58+
info: strings["info-fontFamily"],
5959
},
6060
{
6161
key: "theme",
6262
text: strings["theme"],
6363
value: terminalValues.theme,
64-
info: "The color theme of the terminal.",
64+
info: strings["info-theme"],
6565
get select() {
6666
return TerminalThemeManager.getThemeNames().map((name) => [
6767
name,
@@ -78,14 +78,14 @@ export default function terminalSettings() {
7878
text: strings["terminal:cursor style"],
7979
value: terminalValues.cursorStyle,
8080
select: ["block", "underline", "bar"],
81-
info: "The style of the cursor when the terminal is focused.",
81+
info: strings["info-cursorStyle"],
8282
},
8383
{
8484
key: "cursorInactiveStyle",
8585
text: strings["terminal:cursor inactive style"],
8686
value: terminalValues.cursorInactiveStyle,
8787
select: ["outline", "block", "bar", "underline", "none"],
88-
info: "The style of the cursor when the terminal is not focused.",
88+
info: strings["info-cursorInactiveStyle"],
8989
},
9090
{
9191
key: "fontWeight",
@@ -104,13 +104,13 @@ export default function terminalSettings() {
104104
"800",
105105
"900",
106106
],
107-
info: "The font weight used to render non-bold text.",
107+
info: strings["info-fontWeight"],
108108
},
109109
{
110110
key: "cursorBlink",
111111
text: strings["terminal:cursor blink"],
112112
checkbox: terminalValues.cursorBlink,
113-
info: "Whether the cursor blinks.",
113+
info: strings["info-cursorBlink"],
114114
},
115115
{
116116
key: "scrollback",
@@ -124,7 +124,7 @@ export default function terminalSettings() {
124124
return value >= 100 && value <= 10000;
125125
},
126126
},
127-
info: "The amount of scrollback in the terminal. Scrollback is the amount of rows that are retained when lines are scrolled beyond the initial viewport.",
127+
info: strings["info-scrollback"],
128128
},
129129
{
130130
key: "tabStopWidth",
@@ -138,15 +138,15 @@ export default function terminalSettings() {
138138
return value >= 1 && value <= 8;
139139
},
140140
},
141-
info: "The size of tab stops in the terminal.",
141+
info: strings["info-tabStopWidth"],
142142
},
143143
{
144144
key: "letterSpacing",
145145
text: strings["letter spacing"],
146146
value: terminalValues.letterSpacing,
147147
prompt: strings["letter spacing"],
148148
promptType: "number",
149-
info: "The spacing in whole pixels between characters.",
149+
info: strings["info-letterSpacing"],
150150
},
151151
{
152152
key: "convertEol",
@@ -157,34 +157,34 @@ export default function terminalSettings() {
157157
key: "imageSupport",
158158
text: strings["terminal:image support"],
159159
checkbox: terminalValues.imageSupport,
160-
info: "Whether images are supported in the terminal.",
160+
info: strings["info-imageSupport"],
161161
},
162162
{
163163
key: "fontLigatures",
164164
text: strings["font ligatures"],
165165
checkbox: terminalValues.fontLigatures,
166-
info: "Whether font ligatures are enabled in the terminal.",
166+
info: strings["info-fontLigatures"],
167167
},
168168
{
169169
key: "confirmTabClose",
170170
text: strings["terminal:confirm tab close"],
171171
checkbox: terminalValues.confirmTabClose !== false,
172-
info: "Ask for confirmation before closing terminal tabs.",
172+
info: strings["info-confirmTabClose"],
173173
},
174174
{
175175
key: "backup",
176176
text: strings.backup,
177-
info: "Creates a backup of the terminal installation",
177+
info: strings["info-backup"],
178178
},
179179
{
180180
key: "restore",
181181
text: strings.restore,
182-
info: "Restores a backup of the terminal installation",
182+
info: strings["info-restore"],
183183
},
184184
{
185185
key: "uninstall",
186186
text: strings.uninstall,
187-
info: "Uninstalls the terminal installation",
187+
info: strings["info-uninstall"],
188188
},
189189
];
190190

0 commit comments

Comments
 (0)