14 - Disable notification option

- finetune the description of the newly introduced setting
This commit is contained in:
SebastianMC 2022-09-26 15:06:29 +02:00
parent c12db12d37
commit 65b452ef3f
1 changed files with 3 additions and 3 deletions

View File

@ -352,10 +352,10 @@ class CustomSortSettingTab extends PluginSettingTab {
})); }));
new Setting(containerEl) new Setting(containerEl)
.setName('Enable notifications of plugin states changes') .setName('Enable notifications of plugin state changes')
.setDesc('The plugin can show notifications about its state changes: e.g. when successfully parsed and applied' .setDesc('The plugin can show notifications about its state changes: e.g. when successfully parsed and applied'
+ ' the custom sorting specification, or, when the parsing failed. If the notification are disabled,' + ' the custom sorting specification, or, when the parsing failed. If the notifications are disabled,'
+ ' the only source of plugin state is the ribbon button icon. The developer console presents the parsing' + ' the only indicator of plugin state is the ribbon button icon. The developer console presents the parsing'
+ ' error messages regardless if the notifications are enabled or not.') + ' error messages regardless if the notifications are enabled or not.')
.addToggle(toggle => toggle .addToggle(toggle => toggle
.setValue(this.plugin.settings.notificationsEnabled) .setValue(this.plugin.settings.notificationsEnabled)