obsidian-dev-utils 45.0.0 → 45.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/lib/cjs/Async.cjs +3 -3
- package/dist/lib/cjs/Library.cjs +1 -1
- package/dist/lib/cjs/obsidian/AsyncWithNotice.cjs +27 -4
- package/dist/lib/cjs/obsidian/Callout.cjs +3 -2
- package/dist/lib/cjs/obsidian/Dataview.cjs +2 -2
- package/dist/lib/cjs/obsidian/Logger.cjs +3 -3
- package/dist/lib/cjs/obsidian/MetadataCache.cjs +3 -2
- package/dist/lib/cjs/obsidian/Queue.cjs +3 -2
- package/dist/lib/cjs/obsidian/RenameDeleteHandler.cjs +6 -5
- package/dist/lib/cjs/obsidian/Vault.cjs +3 -2
- package/dist/lib/cjs/obsidian/i18n/locales/en.cjs +28 -2
- package/dist/lib/cjs/obsidian/i18n/locales/en.d.cts +26 -0
- package/dist/lib/cjs/obsidian/i18n/locales/translationsMap.d.cts +26 -0
- package/dist/lib/esm/Async.mjs +3 -3
- package/dist/lib/esm/Library.mjs +1 -1
- package/dist/lib/esm/obsidian/AsyncWithNotice.mjs +27 -4
- package/dist/lib/esm/obsidian/Callout.mjs +3 -2
- package/dist/lib/esm/obsidian/Dataview.mjs +2 -2
- package/dist/lib/esm/obsidian/Logger.mjs +3 -3
- package/dist/lib/esm/obsidian/MetadataCache.mjs +3 -2
- package/dist/lib/esm/obsidian/Queue.mjs +3 -2
- package/dist/lib/esm/obsidian/RenameDeleteHandler.mjs +6 -5
- package/dist/lib/esm/obsidian/Vault.mjs +3 -2
- package/dist/lib/esm/obsidian/i18n/locales/en.d.mts +26 -0
- package/dist/lib/esm/obsidian/i18n/locales/en.mjs +28 -2
- package/dist/lib/esm/obsidian/i18n/locales/translationsMap.d.mts +26 -0
- package/package.json +1 -1
|
@@ -21,21 +21,47 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
21
21
|
|
|
22
22
|
const en = {
|
|
23
23
|
obsidianDevUtils: {
|
|
24
|
+
asyncWithNotice: {
|
|
25
|
+
milliseconds: "milliseconds...",
|
|
26
|
+
operation: "Operation:",
|
|
27
|
+
runningFor: "Running for",
|
|
28
|
+
terminateOperation: "You can terminate the operation by clicking the button below, but be aware it might leave the vault in an inconsistent state.",
|
|
29
|
+
timedOut: "The operation timed out after {{duration}} milliseconds."
|
|
30
|
+
},
|
|
24
31
|
buttons: {
|
|
25
32
|
cancel: "Cancel",
|
|
26
33
|
ok: "OK"
|
|
27
34
|
},
|
|
35
|
+
callout: {
|
|
36
|
+
loadContent: "Load content for callout"
|
|
37
|
+
},
|
|
28
38
|
dataview: {
|
|
29
39
|
itemsPerPage: "Items per page:",
|
|
30
|
-
jumpToPage: "Jump to page:"
|
|
40
|
+
jumpToPage: "Jump to page:",
|
|
41
|
+
pageHeader: "Page {{pageNumber}} of {{totalPages}}, Total items: {{totalItems}}"
|
|
42
|
+
},
|
|
43
|
+
metadataCache: {
|
|
44
|
+
getBacklinksForFilePath: "Get backlinks for {{filePath}}"
|
|
31
45
|
},
|
|
32
46
|
notices: {
|
|
33
47
|
attachmentIsStillUsed: "Attachment {{attachmentPath}} is still used by other notes. It will not be deleted.",
|
|
34
48
|
unhandledError: "An unhandled error occurred. Please check the console for more information."
|
|
49
|
+
},
|
|
50
|
+
queue: {
|
|
51
|
+
flushQueue: "Flush queue"
|
|
52
|
+
},
|
|
53
|
+
renameDeleteHandler: {
|
|
54
|
+
handleDelete: "Handle delete: {{filePath}}",
|
|
55
|
+
handleOrphanedRenames: "Handle orphaned renames",
|
|
56
|
+
handleRename: "Handle rename: {{oldPath}} -> {{newPath}}",
|
|
57
|
+
updatedLinks: "Updated {{linksCount}} links in {{filesCount}} files."
|
|
58
|
+
},
|
|
59
|
+
vault: {
|
|
60
|
+
processFile: "Process file {{filePath}}"
|
|
35
61
|
}
|
|
36
62
|
}
|
|
37
63
|
};
|
|
38
64
|
export {
|
|
39
65
|
en
|
|
40
66
|
};
|
|
41
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
67
|
+
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL29ic2lkaWFuL2kxOG4vbG9jYWxlcy9lbi50cyJdLAogICJzb3VyY2VzQ29udGVudCI6IFsiLyoqXG4gKiBAcGFja2FnZURvY3VtZW50YXRpb25cbiAqXG4gKiBUaGlzIGZpbGUgZGVmaW5lcyB0aGUgRW5nbGlzaCB0cmFuc2xhdGlvbnMgZm9yIHRoZSBgaTE4bmAgbW9kdWxlLlxuICovXG5cbi8qKlxuICogVGhlIEVuZ2xpc2ggdHJhbnNsYXRpb25zLlxuICovXG5leHBvcnQgY29uc3QgZW4gPSB7XG4gIG9ic2lkaWFuRGV2VXRpbHM6IHtcbiAgICBhc3luY1dpdGhOb3RpY2U6IHtcbiAgICAgIG1pbGxpc2Vjb25kczogJ21pbGxpc2Vjb25kcy4uLicsXG4gICAgICBvcGVyYXRpb246ICdPcGVyYXRpb246JyxcbiAgICAgIHJ1bm5pbmdGb3I6ICdSdW5uaW5nIGZvcicsXG4gICAgICB0ZXJtaW5hdGVPcGVyYXRpb246ICdZb3UgY2FuIHRlcm1pbmF0ZSB0aGUgb3BlcmF0aW9uIGJ5IGNsaWNraW5nIHRoZSBidXR0b24gYmVsb3csIGJ1dCBiZSBhd2FyZSBpdCBtaWdodCBsZWF2ZSB0aGUgdmF1bHQgaW4gYW4gaW5jb25zaXN0ZW50IHN0YXRlLicsXG4gICAgICB0aW1lZE91dDogJ1RoZSBvcGVyYXRpb24gdGltZWQgb3V0IGFmdGVyIHt7ZHVyYXRpb259fSBtaWxsaXNlY29uZHMuJ1xuICAgIH0sXG4gICAgYnV0dG9uczoge1xuICAgICAgY2FuY2VsOiAnQ2FuY2VsJyxcbiAgICAgIG9rOiAnT0snXG4gICAgfSxcbiAgICBjYWxsb3V0OiB7XG4gIC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SUFDaEI7QUFBQSxJQUNBLE9BQU87QUFBQSxNQUNMLGFBQWE7QUFBQSxJQUNmO0FBQUEsRUFDRjtBQUNGOyIsCiAgIm5hbWVzIjogW10KfQo=
|
|
@@ -12,18 +12,44 @@ export declare const DEFAULT_LANGUAGE: keyof typeof translationsMapImpl;
|
|
|
12
12
|
declare const translationsMapImpl: {
|
|
13
13
|
readonly en: {
|
|
14
14
|
readonly obsidianDevUtils: {
|
|
15
|
+
readonly asyncWithNotice: {
|
|
16
|
+
readonly milliseconds: "milliseconds...";
|
|
17
|
+
readonly operation: "Operation:";
|
|
18
|
+
readonly runningFor: "Running for";
|
|
19
|
+
readonly terminateOperation: "You can terminate the operation by clicking the button below, but be aware it might leave the vault in an inconsistent state.";
|
|
20
|
+
readonly timedOut: "The operation timed out after {{duration}} milliseconds.";
|
|
21
|
+
};
|
|
15
22
|
readonly buttons: {
|
|
16
23
|
readonly cancel: "Cancel";
|
|
17
24
|
readonly ok: "OK";
|
|
18
25
|
};
|
|
26
|
+
readonly callout: {
|
|
27
|
+
readonly loadContent: "Load content for callout";
|
|
28
|
+
};
|
|
19
29
|
readonly dataview: {
|
|
20
30
|
readonly itemsPerPage: "Items per page:";
|
|
21
31
|
readonly jumpToPage: "Jump to page:";
|
|
32
|
+
readonly pageHeader: "Page {{pageNumber}} of {{totalPages}}, Total items: {{totalItems}}";
|
|
33
|
+
};
|
|
34
|
+
readonly metadataCache: {
|
|
35
|
+
readonly getBacklinksForFilePath: "Get backlinks for {{filePath}}";
|
|
22
36
|
};
|
|
23
37
|
readonly notices: {
|
|
24
38
|
readonly attachmentIsStillUsed: "Attachment {{attachmentPath}} is still used by other notes. It will not be deleted.";
|
|
25
39
|
readonly unhandledError: "An unhandled error occurred. Please check the console for more information.";
|
|
26
40
|
};
|
|
41
|
+
readonly queue: {
|
|
42
|
+
readonly flushQueue: "Flush queue";
|
|
43
|
+
};
|
|
44
|
+
readonly renameDeleteHandler: {
|
|
45
|
+
readonly handleDelete: "Handle delete: {{filePath}}";
|
|
46
|
+
readonly handleOrphanedRenames: "Handle orphaned renames";
|
|
47
|
+
readonly handleRename: "Handle rename: {{oldPath}} -> {{newPath}}";
|
|
48
|
+
readonly updatedLinks: "Updated {{linksCount}} links in {{filesCount}} files.";
|
|
49
|
+
};
|
|
50
|
+
readonly vault: {
|
|
51
|
+
readonly processFile: "Process file {{filePath}}";
|
|
52
|
+
};
|
|
27
53
|
};
|
|
28
54
|
};
|
|
29
55
|
};
|