diff --git a/eslint.config.mjs b/eslint.config.mjs index a159a7e..0501989 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -18,8 +18,8 @@ export default defineConfig([ "obsidianmd/ui/sentence-case": [ "error", { - // Preserve these proper nouns/acronyms that are not in the default list - ignoreWords: ["UTC", "ISO", "Unix", "GUIDs"], + // These proper nouns and acronyms are not in the plugin's default list + ignoreWords: ["UTC", "ISO", "Unix"], }, ], }, diff --git a/main.ts b/main.ts index 56a5006..2fda03d 100644 --- a/main.ts +++ b/main.ts @@ -635,13 +635,13 @@ export default class TextToolsPlugin extends Plugin { }); this.addCommand({ id: "insert-timestamp-utc", - name: "Insert timestamp (UTC / ISO 8601)", + name: "Insert timestamp (utc / iso 8601)", editorCallback: (editor) => this.insertAtEachSelection(editor, timestampUTC), }); this.addCommand({ id: "insert-timestamp-unix", - name: "Insert Unix timestamp", + name: "Insert unix timestamp", editorCallback: (editor) => this.insertAtEachSelection(editor, timestampUnix), }); diff --git a/package-lock.json b/package-lock.json index 0e20753..b1d706b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "obsidian-text-tools", - "version": "1.0.2", + "version": "1.0.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "obsidian-text-tools", - "version": "1.0.2", + "version": "1.0.3", "license": "MIT", "devDependencies": { "@eslint/json": "^0.14.0", diff --git a/src/settings-tab.ts b/src/settings-tab.ts index b9774a1..26cd891 100644 --- a/src/settings-tab.ts +++ b/src/settings-tab.ts @@ -63,11 +63,11 @@ export class TextToolsSettingTab extends PluginSettingTab { // ------------------------------------------------------------------ // // GUIDs // ------------------------------------------------------------------ // - new Setting(containerEl).setName("GUIDs").setHeading(); + new Setting(containerEl).setName("Guids").setHeading(); new Setting(containerEl) .setName("Uppercase hex digits") - .setDesc("Insert GUIDs using uppercase hex digits.") + .setDesc("Insert guids using uppercase hex digits.") .addToggle((t) => t .setValue(this.plugin.settings.insertUppercaseGuids)