Skip to content

Commit

Permalink
feat: support official requirement for settings naming
Browse files Browse the repository at this point in the history
  • Loading branch information
land0r committed Jan 27, 2025
1 parent 9ccf373 commit 70f63f8
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class FlowchartSettingTab extends PluginSettingTab {

containerEl.empty();

containerEl.createEl('h2', { text: 'Flowchart Plugin Settings' });
containerEl.createEl('h2', { text: 'Flowchart customization' });

this.addThemeNotice(containerEl);

Expand All @@ -154,7 +154,7 @@ class FlowchartSettingTab extends PluginSettingTab {

private addFlowchartSettings(containerEl: HTMLElement): void {
new Setting(containerEl)
.setName('Line Width')
.setName('Line width')
.setDesc('Set the line width for the flowchart.')
.addText((text) =>
text
Expand All @@ -166,7 +166,7 @@ class FlowchartSettingTab extends PluginSettingTab {
);

new Setting(containerEl)
.setName('Line Length')
.setName('Line length')
.setDesc('Set the line length for the flowchart.')
.addText((text) =>
text
Expand All @@ -178,7 +178,7 @@ class FlowchartSettingTab extends PluginSettingTab {
);

new Setting(containerEl)
.setName('Yes Text')
.setName('Yes text')
.setDesc('Text for Yes responses in the flowchart.')
.addText((text) =>
text
Expand All @@ -190,7 +190,7 @@ class FlowchartSettingTab extends PluginSettingTab {
);

new Setting(containerEl)
.setName('No Text')
.setName('No text')
.setDesc('Text for No responses in the flowchart.')
.addText((text) =>
text
Expand All @@ -202,7 +202,7 @@ class FlowchartSettingTab extends PluginSettingTab {
);

new Setting(containerEl)
.setName('Font Size')
.setName('Font size')
.setDesc('Set the font size for the flowchart.')
.addText((text) =>
text
Expand All @@ -214,7 +214,7 @@ class FlowchartSettingTab extends PluginSettingTab {
);

new Setting(containerEl)
.setName('Font Color')
.setName('Font color')
.setDesc('Set the font color for the flowchart.')
.addColorPicker((picker) =>
picker
Expand All @@ -226,7 +226,7 @@ class FlowchartSettingTab extends PluginSettingTab {
);

new Setting(containerEl)
.setName('Line Color')
.setName('Line color')
.setDesc('Set the line color for the flowchart.')
.addColorPicker((picker) =>
picker
Expand All @@ -238,7 +238,7 @@ class FlowchartSettingTab extends PluginSettingTab {
);

new Setting(containerEl)
.setName('Element Color')
.setName('Element color')
.setDesc('Set the element color for the flowchart.')
.addColorPicker((picker) =>
picker
Expand All @@ -250,7 +250,7 @@ class FlowchartSettingTab extends PluginSettingTab {
);

new Setting(containerEl)
.setName('Fill Color')
.setName('Fill color')
.setDesc('Set the background fill color for the flowchart.')
.addColorPicker((picker) =>
picker
Expand All @@ -264,7 +264,7 @@ class FlowchartSettingTab extends PluginSettingTab {

private addResetButton(containerEl: HTMLElement): void {
new Setting(containerEl)
.setName('Reset Settings')
.setName('Reset settings')
.setDesc('Reset all settings to their default values.')
.addButton((button) =>
button.setButtonText('Reset').onClick(async () => {
Expand Down

0 comments on commit 70f63f8

Please sign in to comment.