Skip to content

Build your personal knowledge base with Trilium Notes

Merge remote-tracking branch 'origin/main' into feat/add-ocr-capabilities

Elian Doranb9cef158d8c4
diff --cc apps/client/src/translations/en/translation.json
index fc6b6534d8,c59057709a..2e9bb6797b
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@@ -2004,18 -1988,22 +2004,36 @@@
"new-item": "New item",
"add-column": "Add Column"
},
+ "ocr": {
+ "extracted_text": "Extracted Text (OCR)",
+ "extracted_text_title": "Extracted Text (OCR)",
+ "loading_text": "Loading OCR text...",
+ "no_text_available": "No OCR text available",
+ "no_text_explanation": "This note has not been processed for OCR text extraction or no text was found.",
+ "failed_to_load": "Failed to load OCR text",
+ "extracted_on": "Extracted on: {{date}}",
+ "unknown_date": "Unknown",
+ "process_now": "Process OCR",
+ "processing": "Processing...",
+ "processing_started": "OCR processing has been started. Please wait a moment and refresh.",
+ "processing_failed": "Failed to start OCR processing"
++ },
+ "command_palette": {
+ "tree-action-name": "Tree: {{name}}",
+ "export_note_title": "Export Note",
+ "export_note_description": "Export current note",
+ "show_attachments_title": "Show Attachments",
+ "show_attachments_description": "View note attachments",
+ "search_notes_title": "Search Notes",
+ "search_notes_description": "Open advanced search",
+ "search_subtree_title": "Search in Subtree",
+ "search_subtree_description": "Search within current subtree",
+ "search_history_title": "Show Search History",
+ "search_history_description": "View previous searches",
+ "configure_launch_bar_title": "Configure Launch Bar",
+ "configure_launch_bar_description": "Open the launch bar configuration, to add or remove items."
+ },
+ "content_renderer": {
+ "open_externally": "Open externally"
}
}
diff --cc pnpm-lock.yaml
index 2edf5ecd2b,5e28f9f5f7..a71f95102c
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@@ -19895,54 -19678,10 +20004,54 @@@ snapshots
strict-event-emitter: 0.5.1
optional: true
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@napi-rs/[email protected]':
+ optionalDependencies:
+ '@napi-rs/canvas-android-arm64': 0.1.73
+ '@napi-rs/canvas-darwin-arm64': 0.1.73
+ '@napi-rs/canvas-darwin-x64': 0.1.73
+ '@napi-rs/canvas-linux-arm-gnueabihf': 0.1.73
+ '@napi-rs/canvas-linux-arm64-gnu': 0.1.73
+ '@napi-rs/canvas-linux-arm64-musl': 0.1.73
+ '@napi-rs/canvas-linux-riscv64-gnu': 0.1.73
+ '@napi-rs/canvas-linux-x64-gnu': 0.1.73
+ '@napi-rs/canvas-linux-x64-musl': 0.1.73
+ '@napi-rs/canvas-win32-x64-msvc': 0.1.73
+ optional: true
+
'@napi-rs/[email protected]':
dependencies:
- '@emnapi/core': 1.4.4
- '@emnapi/runtime': 1.4.4
+ '@emnapi/core': 1.4.5
+ '@emnapi/runtime': 1.4.5
'@tybys/wasm-util': 0.10.0
optional: true
@@@ -22261,15 -22061,9 +22431,15 @@@
'@types/[email protected]': {}
+ dependencies:
+ tesseract.js: 6.0.1([email protected])
+ transitivePeerDependencies:
+ - encoding
+
dependencies:
- '@types/node': 24.1.0
+ '@types/node': 22.17.0
'@types/[email protected]': {}