mirror of
https://github.com/Ellpeck/ObsidianJustSharePlease.git
synced 2024-11-23 02:48:34 +01:00
don't use titlecase for settings names
This commit is contained in:
parent
6a3303bacb
commit
c7be82d5fa
1 changed files with 5 additions and 5 deletions
|
@ -14,7 +14,7 @@ export class JSPSettingsTab extends PluginSettingTab {
|
||||||
display(): void {
|
display(): void {
|
||||||
this.containerEl.empty();
|
this.containerEl.empty();
|
||||||
new Setting(this.containerEl)
|
new Setting(this.containerEl)
|
||||||
.setName("Just Share Please Server")
|
.setName("Just Share Please server")
|
||||||
.setDesc(createFragment(f => {
|
.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.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});
|
f.createEl("a", {text: "jsp.ellpeck.de", href: defaultSettings.url});
|
||||||
|
@ -30,7 +30,7 @@ export class JSPSettingsTab extends PluginSettingTab {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
new Setting(this.containerEl)
|
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.")
|
.setDesc("Whether document frontmatter (also known as properties) should be removed from the uploaded share.")
|
||||||
.addToggle(t => {
|
.addToggle(t => {
|
||||||
t.setValue(this.plugin.settings.stripFrontmatter);
|
t.setValue(this.plugin.settings.stripFrontmatter);
|
||||||
|
@ -40,7 +40,7 @@ export class JSPSettingsTab extends PluginSettingTab {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
new Setting(this.containerEl)
|
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.")
|
.setDesc("Whether the name of the shared note should be included in the share as a heading.")
|
||||||
.addToggle(t => {
|
.addToggle(t => {
|
||||||
t.setValue(this.plugin.settings.includeNoteName);
|
t.setValue(this.plugin.settings.includeNoteName);
|
||||||
|
@ -50,7 +50,7 @@ export class JSPSettingsTab extends PluginSettingTab {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
new Setting(this.containerEl)
|
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.")
|
.setDesc("Whether shares of files should be removed automatically when they are deleted. Only supported when deleting from within Obsidian.")
|
||||||
.addToggle(t => {
|
.addToggle(t => {
|
||||||
t.setValue(this.plugin.settings.unshareDeletedFiles);
|
t.setValue(this.plugin.settings.unshareDeletedFiles);
|
||||||
|
@ -60,7 +60,7 @@ export class JSPSettingsTab extends PluginSettingTab {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
new Setting(this.containerEl)
|
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.")
|
.setDesc("Whether a file's share should automatically be updated when the file is changed from within Obsidian.")
|
||||||
.addToggle(t => {
|
.addToggle(t => {
|
||||||
t.setValue(this.plugin.settings.autoUpdateShares);
|
t.setValue(this.plugin.settings.autoUpdateShares);
|
||||||
|
|
Loading…
Reference in a new issue