mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	more message changes
This commit is contained in:
		@@ -1492,18 +1492,19 @@
 | 
				
			|||||||
        </context-group>
 | 
					        </context-group>
 | 
				
			||||||
        <note priority="1" from="description">This button dismisses all status messages about processed documents on the dashboard (failed and successful)</note>
 | 
					        <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>
 | 
				
			||||||
      <trans-unit id="1fc4e0a1e93fdda0ed3c9e590971d283afb68265" datatype="html">
 | 
					      <trans-unit id="90917e1a0a7bb59e9d11bdde9183e9391963e17b" datatype="html">
 | 
				
			||||||
        <source><x id="INTERPOLATION" equiv-text="{{getStatusHidden().length}}"/> more hidden</source>
 | 
					        <source>{VAR_PLURAL, plural, =1 {One more document} other {<x id="INTERPOLATION"/> more documents}}</source>
 | 
				
			||||||
        <context-group purpose="location">
 | 
					        <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="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>
 | 
					        </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>
 | 
				
			||||||
      <trans-unit id="710254a196a2649674438edf8a15b7ab1f48271b" datatype="html">
 | 
					      <trans-unit id="710254a196a2649674438edf8a15b7ab1f48271b" datatype="html">
 | 
				
			||||||
        <source>Open document</source>
 | 
					        <source>Open document</source>
 | 
				
			||||||
        <context-group purpose="location">
 | 
					        <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="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>
 | 
					        </context-group>
 | 
				
			||||||
      </trans-unit>
 | 
					      </trans-unit>
 | 
				
			||||||
      <trans-unit id="45854ddec74086b271e62be6a363f4fa5036f7fc" datatype="html">
 | 
					      <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="sourcefile">src/app/services/consumer-status.service.ts</context>
 | 
				
			||||||
          <context context-type="linenumber">16</context>
 | 
					          <context context-type="linenumber">16</context>
 | 
				
			||||||
        </context-group>
 | 
					        </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>
 | 
				
			||||||
      <trans-unit id="7742915911032564889" datatype="html">
 | 
					      <trans-unit id="7742915911032564889" datatype="html">
 | 
				
			||||||
        <source>Error while executing pre-consume script.</source>
 | 
					        <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="sourcefile">src/app/services/consumer-status.service.ts</context>
 | 
				
			||||||
          <context context-type="linenumber">17</context>
 | 
					          <context context-type="linenumber">17</context>
 | 
				
			||||||
        </context-group>
 | 
					        </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>
 | 
				
			||||||
      <trans-unit id="8995193730018060346" datatype="html">
 | 
					      <trans-unit id="8995193730018060346" datatype="html">
 | 
				
			||||||
        <source>Post-consume script does not exist.</source>
 | 
					        <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="sourcefile">src/app/services/consumer-status.service.ts</context>
 | 
				
			||||||
          <context context-type="linenumber">18</context>
 | 
					          <context context-type="linenumber">18</context>
 | 
				
			||||||
        </context-group>
 | 
					        </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>
 | 
				
			||||||
      <trans-unit id="256773668518189604" datatype="html">
 | 
					      <trans-unit id="256773668518189604" datatype="html">
 | 
				
			||||||
        <source>Error while executing post-consume script.</source>
 | 
					        <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="sourcefile">src/app/services/consumer-status.service.ts</context>
 | 
				
			||||||
          <context context-type="linenumber">19</context>
 | 
					          <context context-type="linenumber">19</context>
 | 
				
			||||||
        </context-group>
 | 
					        </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>
 | 
				
			||||||
      <trans-unit id="6252258095055634191" datatype="html">
 | 
					      <trans-unit id="6252258095055634191" datatype="html">
 | 
				
			||||||
        <source>Received new file.</source>
 | 
					        <source>Received new file.</source>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -20,8 +20,12 @@
 | 
				
			|||||||
    <div *ngFor="let status of getStatus()">
 | 
					    <div *ngFor="let status of getStatus()">
 | 
				
			||||||
      <ng-container [ngTemplateOutlet]="consumerAlert" [ngTemplateOutletContext]="{ $implicit: status }"></ng-container>
 | 
					      <ng-container [ngTemplateOutlet]="consumerAlert" [ngTemplateOutletContext]="{ $implicit: status }"></ng-container>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <div *ngIf="getStatusHidden().length" class="alerts-hidden">
 | 
					    <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>
 | 
					      <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 #hiddenAlerts="ngbCollapse" [(ngbCollapse)]="!alertsExpanded">
 | 
				
			||||||
        <div *ngFor="let status of getStatusHidden()">
 | 
					        <div *ngFor="let status of getStatusHidden()">
 | 
				
			||||||
          <ng-container [ngTemplateOutlet]="consumerAlert" [ngTemplateOutletContext]="{ $implicit: status }"></ng-container>
 | 
					          <ng-container [ngTemplateOutlet]="consumerAlert" [ngTemplateOutletContext]="{ $implicit: status }"></ng-container>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -13,10 +13,10 @@ export enum FileStatusPhase {
 | 
				
			|||||||
export const FILE_STATUS_MESSAGES = {
 | 
					export const FILE_STATUS_MESSAGES = {
 | 
				
			||||||
  "document_already_exists": $localize`Document already exists.`,
 | 
					  "document_already_exists": $localize`Document already exists.`,
 | 
				
			||||||
  "file_not_found": $localize`File not found.`,
 | 
					  "file_not_found": $localize`File not found.`,
 | 
				
			||||||
  "pre_consume_script_not_found": $localize`Pre-consume script does not exist.`,
 | 
					  "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`Error while executing pre-consume script.`,
 | 
					  "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 script does not exist.`,
 | 
					  "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`Error while executing post-consume script.`,
 | 
					  "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.`,
 | 
					  "new_file": $localize`Received new file.`,
 | 
				
			||||||
  "unsupported_type": $localize`File type not supported.`,
 | 
					  "unsupported_type": $localize`File type not supported.`,
 | 
				
			||||||
  "parsing_document": $localize`Processing document...`,
 | 
					  "parsing_document": $localize`Processing document...`,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user