Skip to content

Commit 50c2a14

Browse files
chore!: use popular name for textwrap + move textwrap toggle to editor settings (#1694)
* chore: use popular name for textwrap * format
1 parent 8d1b5a6 commit 50c2a14

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

src/lang/en-us.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"sort by name": "Sort by name",
8787
"success": "Success",
8888
"tab size": "Tab size",
89-
"text wrap": "Text wrap",
89+
"text wrap": "Text wrap / Word wrap",
9090
"theme": "Theme",
9191
"unable to delete file": "unable to delete file",
9292
"unable to open file": "Sorry, unable to open file",

src/lang/mm-unicode.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"sort by name": "နာမည်နဲ့စီပါ",
8787
"success": "အောင်မြင်ပါတယ်။",
8888
"tab size": "Tab အရွယ်အစား",
89-
"text wrap": "Text wrap",
89+
"text wrap": "Text wrap / Word wrap",
9090
"theme": "theme",
9191
"unable to delete file": "ဖိုင်ဖျက်လို့မရပါ",
9292
"unable to open file": "ဝမ်းနည်းပါတယ်။ဖိုင်ဖွင့်မရပါ။",

src/lang/mm-zawgyi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"sort by name": "နာမည္နဲ႕စီပါ",
8787
"success": "ေအာင္ျမင္ပါတယ္။",
8888
"tab size": "Tab အ႐ြယ္အစား",
89-
"text wrap": "Text wrap",
89+
"text wrap": "Text wrap / Word wrap",
9090
"theme": "theme",
9191
"unable to delete file": "ဖိုင္ဖ်က္လို႔မရပါ",
9292
"unable to open file": "ဝမ္းနည္းပါတယ္။ဖိုင္ဖြင့္မရပါ။",

src/lang/tl-ph.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"sort by name": "I-ayos ayon sa pangalan",
8787
"success": "Tagumpay",
8888
"tab size": "Tab size",
89-
"text wrap": "Text wrap",
89+
"text wrap": "Text wrap / Word wrap",
9090
"theme": "Tema",
9191
"unable to delete file": "hindi ma-delete ang file",
9292
"unable to open file": "Paumanhin, hindi ma-open ang file",

src/settings/editorSettings.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ export default function editorSettings() {
9696
text: strings["show print margin"],
9797
checkbox: values.showPrintMargin,
9898
},
99+
{
100+
key: "textWrap",
101+
text: strings["text wrap"],
102+
checkbox: values.textWrap,
103+
},
99104
{
100105
key: "printMargin",
101106
text: strings["print margin"],

src/settings/scrollSettings.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ export default function scrollSettings() {
3636
valueText: (size) => `${size}px`,
3737
select: [5, 10, 15, 20],
3838
},
39-
{
40-
key: "textWrap",
41-
text: strings["text wrap"],
42-
checkbox: values.textWrap,
43-
},
4439
];
4540

4641
return settingsPage(title, items, callback);

0 commit comments

Comments
 (0)