A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
more message changes
jonaswinkler55c50e3ac234
diff --git a/src-ui/messages.xlf b/src-ui/messages.xlfindex 17c585c28..d07659793 100644--- a/src-ui/messages.xlf+++ b/src-ui/messages.xlf@@ -1492,18 +1492,19 @@</context-group><note priority="1" from="description">This button dismisses all status messages about processed documents on the dashboard (failed and successful)</note></trans-unit>- <trans-unit id="1fc4e0a1e93fdda0ed3c9e590971d283afb68265" datatype="html">- <source><x id="INTERPOLATION" equiv-text="{{getStatusHidden().length}}"/> more hidden</source>+ <trans-unit id="90917e1a0a7bb59e9d11bdde9183e9391963e17b" datatype="html">+ <source>{VAR_PLURAL, plural, =1 {One more document} other {<x id="INTERPOLATION"/> more documents}}</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html</context>- <context context-type="linenumber">24</context>+ <context context-type="linenumber">25</context></context-group>+ <note priority="1" from="description">This is shown as a summary line when there are more than 5 document in the processing pipeline.</note></trans-unit><trans-unit id="710254a196a2649674438edf8a15b7ab1f48271b" datatype="html"><source>Open document</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html</context>- <context context-type="linenumber">41</context>+ <context context-type="linenumber">45</context></context-group></trans-unit><trans-unit id="45854ddec74086b271e62be6a363f4fa5036f7fc" datatype="html">@@ -1645,6 +1646,7 @@<context context-type="sourcefile">src/app/services/consumer-status.service.ts</context><context context-type="linenumber">16</context></context-group>+ <note priority="1" from="description">Pre-Consume is a term that appears like that in the documentation as well and does not need a specific translation</note></trans-unit><trans-unit id="7742915911032564889" datatype="html"><source>Error while executing pre-consume script.</source>@@ -1652,6 +1654,7 @@<context context-type="sourcefile">src/app/services/consumer-status.service.ts</context><context context-type="linenumber">17</context></context-group>+ <note priority="1" from="description">Pre-Consume is a term that appears like that in the documentation as well and does not need a specific translation</note></trans-unit><trans-unit id="8995193730018060346" datatype="html"><source>Post-consume script does not exist.</source>@@ -1659,6 +1662,7 @@<context context-type="sourcefile">src/app/services/consumer-status.service.ts</context><context context-type="linenumber">18</context></context-group>+ <note priority="1" from="description">Post-Consume is a term that appears like that in the documentation as well and does not need a specific translation</note></trans-unit><trans-unit id="256773668518189604" datatype="html"><source>Error while executing post-consume script.</source>@@ -1666,6 +1670,7 @@<context context-type="sourcefile">src/app/services/consumer-status.service.ts</context><context context-type="linenumber">19</context></context-group>+ <note priority="1" from="description">Post-Consume is a term that appears like that in the documentation as well and does not need a specific translation</note></trans-unit><trans-unit id="6252258095055634191" datatype="html"><source>Received new file.</source>diff --git a/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html b/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.htmlindex 252480147..cabeb0643 100644--- a/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html+++ b/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html@@ -20,8 +20,12 @@<div *ngFor="let status of getStatus()"><ng-container [ngTemplateOutlet]="consumerAlert" [ngTemplateOutletContext]="{ $implicit: status }"></ng-container></div>- <div *ngIf="getStatusHidden().length" class="alerts-hidden">- <p *ngIf="!alertsExpanded" class="mt-3 mb-0 text-center"><span i18n>{{getStatusHidden().length}} more hidden</span> <button class="btn btn-sm btn-link py-0" (click)="alertsExpanded = !alertsExpanded" aria-controls="hiddenAlerts" [attr.aria-expanded]="alertsExpanded" i18n>Show all</button></p>+ <div *ngIf="!getStatusHidden().length" class="alerts-hidden">+ <p *ngIf="!alertsExpanded" class="mt-3 mb-0 text-center">+ <span i18n="This is shown as a summary line when there are more than 5 document in the processing pipeline.">{getStatusHidden().length, plural, =1 {One more document} other {{{getStatusHidden().length}} more documents}}</span>+ • + <a [routerLink]="" (click)="alertsExpanded = !alertsExpanded" aria-controls="hiddenAlerts" [attr.aria-expanded]="alertsExpanded" i18n>Show all</a>+ </p><div #hiddenAlerts="ngbCollapse" [(ngbCollapse)]="!alertsExpanded"><div *ngFor="let status of getStatusHidden()"><ng-container [ngTemplateOutlet]="consumerAlert" [ngTemplateOutletContext]="{ $implicit: status }"></ng-container>diff --git a/src-ui/src/app/services/consumer-status.service.ts b/src-ui/src/app/services/consumer-status.service.tsindex 026c3c64f..9c7d0417a 100644--- a/src-ui/src/app/services/consumer-status.service.ts+++ b/src-ui/src/app/services/consumer-status.service.ts@@ -13,10 +13,10 @@ export enum FileStatusPhase {export const FILE_STATUS_MESSAGES = {"document_already_exists": $localize`Document already exists.`,"file_not_found": $localize`File not found.`,- "pre_consume_script_not_found": $localize`Pre-consume script does not exist.`,- "pre_consume_script_error": $localize`Error while executing pre-consume script.`,- "post_consume_script_not_found": $localize`Post-consume script does not exist.`,- "post_consume_script_error": $localize`Error while executing post-consume script.`,+ "pre_consume_script_not_found": $localize`:Pre-Consume is a term that appears like that in the documentation as well and does not need a specific translation:Pre-consume script does not exist.`,+ "pre_consume_script_error": $localize`:Pre-Consume is a term that appears like that in the documentation as well and does not need a specific translation:Error while executing pre-consume script.`,+ "post_consume_script_not_found": $localize`:Post-Consume is a term that appears like that in the documentation as well and does not need a specific translation:Post-consume script does not exist.`,+ "post_consume_script_error": $localize`:Post-Consume is a term that appears like that in the documentation as well and does not need a specific translation:Error while executing post-consume script.`,"new_file": $localize`Received new file.`,"unsupported_type": $localize`File type not supported.`,"parsing_document": $localize`Processing document...`,