Skip to content

Commit

Permalink
Sentence case, modified placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
plasmabit committed Aug 30, 2023
1 parent 7bc5ee9 commit 5439b43
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class TimeThingsSettingsTab extends PluginSettingTab {
return linkEl;
}

containerEl.createEl('h1', { text: 'Status Bar' });
containerEl.createEl('h1', { text: 'Status bar' });
containerEl.createEl('p', { text: 'Displays clock in the status bar' });

new Setting(containerEl)
Expand Down Expand Up @@ -216,8 +216,8 @@ class TimeThingsSettingsTab extends PluginSettingTab {
}),);

containerEl.createEl('h1', { text: 'Frontmatter' });
containerEl.createEl('p', { text: 'Handles timestamp keys in frontmatter' });
containerEl.createEl('h2', { text: 'Modified Key' });
containerEl.createEl('p', { text: 'Handles timestamp keys in frontmatter.' });
containerEl.createEl('h2', { text: 'Modified key' });

new Setting(containerEl)
.setName('Enable update of the modified key')
Expand All @@ -234,7 +234,7 @@ class TimeThingsSettingsTab extends PluginSettingTab {
.setName('Modified key name')
.setDesc('Supports nested keys. For example `timethings.updated_at`')
.addText(text => text
.setPlaceholder('Enter your secret')
.setPlaceholder('updated_at')
.setValue(this.plugin.settings.modifiedKeyName)
.onChange(async (value) => {
this.plugin.settings.modifiedKeyName = value;
Expand All @@ -245,7 +245,7 @@ class TimeThingsSettingsTab extends PluginSettingTab {
.setName('Modified key format')
.setDesc(createLink())
.addText(text => text
.setPlaceholder('Enter your secret')
.setPlaceholder('YYYY-MM-DD[T]HH:mm:ss.SSSZ')
.setValue(this.plugin.settings.modifiedKeyFormat)
.onChange(async (value) => {
this.plugin.settings.modifiedKeyFormat = value;
Expand Down

0 comments on commit 5439b43

Please sign in to comment.