Merge pull request #2025 from paperless-ngx/fix-redo-ocr-message

Add info that re-do OCR doesnt automatically refresh content
This commit is contained in:
shamoon 2022-11-22 14:35:34 -08:00 committed by GitHub
commit 2140d42098
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1957,8 +1957,8 @@
<context context-type="linenumber">391</context>
</context-group>
</trans-unit>
<trans-unit id="7662620858973651688" datatype="html">
<source>Redo OCR operation will begin in the background.</source>
<trans-unit id="5729001209753056399" datatype="html">
<source>Redo OCR operation will begin in the background. Close and re-open or reload this document after the operation has completed to see new content.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>
<context context-type="linenumber">494</context>

View File

@ -491,7 +491,7 @@ export class DocumentDetailComponent
.subscribe({
next: () => {
this.toastService.showInfo(
$localize`Redo OCR operation will begin in the background.`
$localize`Redo OCR operation will begin in the background. Close and re-open or reload this document after the operation has completed to see new content.`
)
if (modal) {
modal.close()