Standardizes terminology and error handling

Corrects capitalization inconsistencies in UI and documentation,
improving clarity and professionalism. Enhances error handling
in the image download function by properly rejecting promises
on errors, thus increasing reliability and maintainability.

Relates to obsidian-bot-review branch tasks.
This commit is contained in:
AlexKucera committed 2025-11-05 17:25:01 +01:00
1 parent 2c4076f3c9
commit 7d805eda45
7 files changed
+27 -29

No files matched your search

+3 -3
View File
@@ -162,9 +162,9 @@ export class ExportOrchestrator {
cls: 'mod-warning'
});
cancelButton.addEventListener('click', () => this.cancelExport());
progressNotice.setMessage('Preprocessing markdown content...');
progressNotice.setMessage('Preprocessing Markdown content...');
// Preprocess markdown
// Preprocess Markdown
const preprocessor = new MarkdownPreprocessor({
vaultPath: vaultPath,
options: {
@@ -322,7 +322,7 @@ export class ExportOrchestrator {
const markdownFiles = folder.children.filter((file) => this.plugin.isMarkdownFile(file));
if (markdownFiles.length === 0) {
new Notice('No markdown files found in this folder');
new Notice('No Markdown files found in this folder');
return;
}