Skip to content

Commit ddb0fb5

Browse files
committed
fix(settings): converted texts into sentence case
1 parent 681cb99 commit ddb0fb5

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/views/settings-view.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class SettingsView extends ObsidianSettingsTab {
5454

5555
build(context: SettingsContext): void
5656
{
57-
context.createSectionHeader('Transformation Style');
57+
context.createSectionHeader('Transformation style');
5858

5959
context.createSetting()
6060
.setName('Preset')
@@ -69,21 +69,21 @@ export class SettingsView extends ObsidianSettingsTab {
6969
}));
7070

7171
context.createSectionDivider();
72-
context.createSectionHeader('Transformation Rules', 'Define a set of rules that transform items (files and folders) in the file explorer.\n\nRules are checked in the order they are defined. The first rule that matches an item will be applied.\nIf an item has an explicit transformation set, rules are disabled for that item.');
72+
context.createSectionHeader('Transformation rules', 'Define a set of rules that transform items (files and folders) in the file explorer.\n\nRules are checked in the order they are defined. The first rule that matches an item will be applied.\nIf an item has an explicit transformation set, rules are disabled for that item.');
7373

7474
context.createSetting()
7575
.setHeading()
7676
.setName('Rules')
7777
.addButton(button => button
7878
.setCta()
79-
.setButtonText('Reset to Defaults')
79+
.setButtonText('Reset to defaults')
8080
.onClick(async () =>
8181
{
8282
await PluginSettings.resetMatchingRules();
8383
context.applySettings();
8484
}))
8585
.addButton(button => button
86-
.setButtonText('Add Rule')
86+
.setButtonText('Add rule')
8787
.onClick(async () =>
8888
{
8989
const rule = RulesHelper.createRule();
@@ -103,7 +103,7 @@ export class SettingsView extends ObsidianSettingsTab {
103103

104104

105105
context.createSectionDivider();
106-
context.createSectionHeader('Explicit Transformations', 'Items with explicit transformation configuration. To add an item, right click it in the file explorer and select "Set Treefocus".');
106+
context.createSectionHeader('Explicit transformations', 'Items with explicit transformation configuration. To add an item, right click it in the file explorer and select an option below "TreeFocus".');
107107

108108

109109
const fileOverwrites = PluginSettings.get('fileOverwrites');
@@ -119,7 +119,7 @@ export class SettingsView extends ObsidianSettingsTab {
119119

120120

121121
context.createSectionDivider();
122-
context.createSectionHeader('Support This Plugin', 'If you like this plugin and want to support it - submit a feature request, a pull request or simply buy me a little coffee :) - Thank You.');
122+
context.createSectionHeader('Support this plugin', 'If you like this plugin and want to support it - submit a feature request, a pull request or simply buy me a little coffee :) - Thank You.');
123123

124124
context.createSupportLinks('iOSonntag', 'https://paypal.com/paypalme/iOSonntag/20');
125125
}
@@ -229,7 +229,7 @@ export class SettingsView extends ObsidianSettingsTab {
229229
.setDesc(rule)
230230
.addExtraButton(button => button
231231
.setIcon('trash')
232-
.setTooltip('Remove Explicit Transformation')
232+
.setTooltip('Remove explicit transformation')
233233
.onClick(async () =>
234234
{
235235
delete fileOverwrites[key];

0 commit comments

Comments
 (0)