From c7be82d5fa26e90ab1ebd6aa211fb65b65dcdb12 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 18 Aug 2023 12:51:56 +0200 Subject: [PATCH] don't use titlecase for settings names --- src/settings-tab.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/settings-tab.ts b/src/settings-tab.ts index 5db8fdb..48d8039 100644 --- a/src/settings-tab.ts +++ b/src/settings-tab.ts @@ -14,7 +14,7 @@ export class JSPSettingsTab extends PluginSettingTab { display(): void { this.containerEl.empty(); new Setting(this.containerEl) - .setName("Just Share Please Server") + .setName("Just Share Please server") .setDesc(createFragment(f => { f.createSpan({text: "URL for the Just Share Please server to upload to and share links for. Defaults to the official site "}); f.createEl("a", {text: "jsp.ellpeck.de", href: defaultSettings.url}); @@ -30,7 +30,7 @@ export class JSPSettingsTab extends PluginSettingTab { }); }); new Setting(this.containerEl) - .setName("Strip Frontmatter") + .setName("Strip frontmatter") .setDesc("Whether document frontmatter (also known as properties) should be removed from the uploaded share.") .addToggle(t => { t.setValue(this.plugin.settings.stripFrontmatter); @@ -40,7 +40,7 @@ export class JSPSettingsTab extends PluginSettingTab { }); }); new Setting(this.containerEl) - .setName("Include Note Name") + .setName("Include note name") .setDesc("Whether the name of the shared note should be included in the share as a heading.") .addToggle(t => { t.setValue(this.plugin.settings.includeNoteName); @@ -50,7 +50,7 @@ export class JSPSettingsTab extends PluginSettingTab { }); }); new Setting(this.containerEl) - .setName("Unshare Deleted Files") + .setName("Unshare deleted files") .setDesc("Whether shares of files should be removed automatically when they are deleted. Only supported when deleting from within Obsidian.") .addToggle(t => { t.setValue(this.plugin.settings.unshareDeletedFiles); @@ -60,7 +60,7 @@ export class JSPSettingsTab extends PluginSettingTab { }); }); new Setting(this.containerEl) - .setName("Automatically Update Shares") + .setName("Automatically update shares") .setDesc("Whether a file's share should automatically be updated when the file is changed from within Obsidian.") .addToggle(t => { t.setValue(this.plugin.settings.autoUpdateShares);