From aa412a54abaecd7a42504ab663f9454f2bfaf225 Mon Sep 17 00:00:00 2001 From: jacoblearned Date: Tue, 3 Dec 2024 21:24:51 -0600 Subject: [PATCH] Conform to setting name style guidelines Use sentence-like casing rather than capitalized titles https://docs.obsidian.md/Plugins/Releasing/Plugin+guidelines#Use%20sentence%20case%20in%20UI --- src/main.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.ts b/src/main.ts index c0f0219..e9bdad6 100644 --- a/src/main.ts +++ b/src/main.ts @@ -233,7 +233,7 @@ class TemplateByNoteNameSettingTab extends PluginSettingTab { containerEl.addClass("template-by-note-name-settings"); new Setting(containerEl) - .setName("Template Folder Location") + .setName("Template folder location") .setDesc( "Notes in this folder and any subfolders will be available as templates", ) @@ -248,7 +248,7 @@ class TemplateByNoteNameSettingTab extends PluginSettingTab { ); new Setting(containerEl) - .setName("Matching Rules") + .setName("Matching rules") .setDesc( `A matching rule determines which template to apply to a note based on its title at creation time. If a portion of the note's title matches the rule, the template specified by the rule will be applied to the note. @@ -355,7 +355,7 @@ class TemplateByNoteNameSettingTab extends PluginSettingTab { new Setting(containerEl).setName("Advanced").setHeading(); new Setting(containerEl) - .setName("Template on Rename") + .setName("Template on rename") .setDesc( "When an existing note's name is changed to one that matches a rule, the plugin will prepend the rule's template to the note's content.", ) @@ -369,7 +369,7 @@ class TemplateByNoteNameSettingTab extends PluginSettingTab { ); new Setting(containerEl) - .setName("Case-Sensitive Matching") + .setName("Case-Sensitive matching") .setDesc( "When disabled, note names will be matched against rules in a case-insensitive manner, e.g. 'todo' will match 'TODO'.", )