change command and setting to sentence case

This commit is contained in:
IdanL 2024-12-11 22:47:50 +02:00
parent 98e43c3002
commit 3453fe0fa9
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,7 @@ export default class RedirectSettingsTab extends PluginSettingTab {
});
new Setting(containerEl)
.setName("Delete the _forwards Folder")
.setName("Delete the _forwards folder")
.setDesc(
"Before uninstalling the plugin, manually delete the `_forwards` folder to remove unnecessary files. This cannot be undone."
)

View file

@ -169,7 +169,7 @@ export default class RedirectPlugin extends Plugin {
this.addCommand({
id: "paste-redirect-syntax",
name: "Paste Redirect Syntax onto Selection",
name: "Paste redirect syntax onto selection",
editorCallback: (editor, view) => {
const selection = editor.getSelection();
editor.replaceSelection(`::>[[${selection}]]`);