@@ -347,7 +347,7 @@ export class MediaDbSettingTab extends PluginSettingTab {
347
347
// });
348
348
// });
349
349
350
- containerEl . createEl ( 'h3' , { text : ' New file location' } ) ;
350
+ new Setting ( containerEl ) . setName ( ' New file location') . setHeading ( ) ;
351
351
// region new file location
352
352
new Setting ( containerEl )
353
353
. setName ( 'Movie folder' )
@@ -453,7 +453,7 @@ export class MediaDbSettingTab extends PluginSettingTab {
453
453
} ) ;
454
454
// endregion
455
455
456
- containerEl . createEl ( 'h3' , { text : ' Template settings' } ) ;
456
+ new Setting ( containerEl ) . setName ( ' Template settings') . setHeading ( ) ;
457
457
// region templates
458
458
new Setting ( containerEl )
459
459
. setName ( 'Movie template' )
@@ -560,7 +560,7 @@ export class MediaDbSettingTab extends PluginSettingTab {
560
560
} ) ;
561
561
// endregion
562
562
563
- containerEl . createEl ( 'h3' , { text : ' File name settings' } ) ;
563
+ new Setting ( containerEl ) . setName ( ' File name settings') . setHeading ( ) ;
564
564
// region file name templates
565
565
new Setting ( containerEl )
566
566
. setName ( 'Movie file name template' )
@@ -661,19 +661,16 @@ export class MediaDbSettingTab extends PluginSettingTab {
661
661
662
662
// region Property Mappings
663
663
if ( this . plugin . settings . useDefaultFrontMatter ) {
664
- containerEl . createEl ( 'h3' , { text : ' Property mappings' } ) ;
664
+ new Setting ( containerEl ) . setName ( ' Property mappings') . setHeading ( ) ;
665
665
666
666
const propertyMappingExplanation = containerEl . createEl ( 'div' ) ;
667
667
propertyMappingExplanation . innerHTML = `
668
- <p>Remap the metadata fields of newly created media DB entries.</p>
669
- <p>
670
- The options are:
671
- <ul>
672
- <li>"default": does no remapping and keeps the metadata field as it is</li>
673
- <li>"remap": renames the metadata field to what ever you specify</li>
674
- <li>"remove": removes the metadata field entirely</li>
675
- </ul>
676
- </p>
668
+ <p>Choose how metadata fields are mapped to property names. The options are:</p>
669
+ <ul>
670
+ <li><strong>default</strong>: keep the original name.</li>
671
+ <li><strong>remap</strong>: rename the property.</li>
672
+ <li><strong>remove</strong>: remove the property entirely.</li>
673
+ </ul>
677
674
<p>
678
675
Don't forget to save your changes using the save button for each individual category.
679
676
</p>` ;
0 commit comments