mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Fix: remove unnecessary i18ns
This commit is contained in:
		| @@ -3018,29 +3018,6 @@ | |||||||
|           <context context-type="linenumber">62</context> |           <context context-type="linenumber">62</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="187187500641108332" datatype="html"> |  | ||||||
|         <source><x id="INTERPOLATION" equiv-text="{{field.name}}"/></source> |  | ||||||
|         <context-group purpose="location"> |  | ||||||
|           <context context-type="sourcefile">src/app/components/common/custom-field-display/custom-field-display.component.html</context> |  | ||||||
|           <context context-type="linenumber">32</context> |  | ||||||
|         </context-group> |  | ||||||
|         <context-group purpose="location"> |  | ||||||
|           <context context-type="sourcefile">src/app/components/common/input/drag-drop-select/drag-drop-select.component.html</context> |  | ||||||
|           <context context-type="linenumber">12</context> |  | ||||||
|         </context-group> |  | ||||||
|         <context-group purpose="location"> |  | ||||||
|           <context context-type="sourcefile">src/app/components/common/input/tags/tags.component.html</context> |  | ||||||
|           <context context-type="linenumber">4</context> |  | ||||||
|         </context-group> |  | ||||||
|         <context-group purpose="location"> |  | ||||||
|           <context context-type="sourcefile">src/app/components/common/permissions-select/permissions-select.component.html</context> |  | ||||||
|           <context context-type="linenumber">22</context> |  | ||||||
|         </context-group> |  | ||||||
|         <context-group purpose="location"> |  | ||||||
|           <context context-type="sourcefile">src/app/components/document-history/document-history.component.html</context> |  | ||||||
|           <context context-type="linenumber">35</context> |  | ||||||
|         </context-group> |  | ||||||
|       </trans-unit> |  | ||||||
|       <trans-unit id="9195188695728229921" datatype="html"> |       <trans-unit id="9195188695728229921" datatype="html"> | ||||||
|         <source>Search fields</source> |         <source>Search fields</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
| @@ -6455,13 +6432,6 @@ | |||||||
|           <context context-type="linenumber">74</context> |           <context context-type="linenumber">74</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="8778002102373462277" datatype="html"> |  | ||||||
|         <source><x id="INTERPOLATION" equiv-text="ocument.notes.length}}"/> Notes</source> |  | ||||||
|         <context-group purpose="location"> |  | ||||||
|           <context context-type="sourcefile">src/app/components/document-list/document-card-large/document-card-large.component.html</context> |  | ||||||
|           <context context-type="linenumber">75</context> |  | ||||||
|         </context-group> |  | ||||||
|       </trans-unit> |  | ||||||
|       <trans-unit id="3727324658595204357" datatype="html"> |       <trans-unit id="3727324658595204357" datatype="html"> | ||||||
|         <source>Created: <x id="INTERPOLATION" equiv-text="{{ document.created_date | customDate }}"/></source> |         <source>Created: <x id="INTERPOLATION" equiv-text="{{ document.created_date | customDate }}"/></source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|   | |||||||
| @@ -29,6 +29,6 @@ | |||||||
|             } |             } | ||||||
|         } |         } | ||||||
|     } @else if (showNameIfEmpty) { |     } @else if (showNameIfEmpty) { | ||||||
|         <span class="fst-italic text-muted" i18n>{{field.name}}</span> |         <span class="fst-italic text-muted">{{field.name}}</span> | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -9,7 +9,7 @@ | |||||||
|             <div class="badge bg-primary" cdkDrag>{{item.name}}</div> |             <div class="badge bg-primary" cdkDrag>{{item.name}}</div> | ||||||
|         } |         } | ||||||
|         @if (selectedItems.length === 0) { |         @if (selectedItems.length === 0) { | ||||||
|             <div class="badge bg-light text-secondary fst-italic" i18n>{{emptyText}}</div> |             <div class="badge bg-light text-secondary fst-italic">{{emptyText}}</div> | ||||||
|         } |         } | ||||||
|     </div> |     </div> | ||||||
| </div> | </div> | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| <div class="mb-3 paperless-input-select paperless-input-tags" [class.disabled]="disabled" [class.pb-3]="getSuggestions().length > 0"> | <div class="mb-3 paperless-input-select paperless-input-tags" [class.disabled]="disabled" [class.pb-3]="getSuggestions().length > 0"> | ||||||
|   <div class="row"> |   <div class="row"> | ||||||
|     <div class="d-flex align-items-center" [class.col-md-3]="horizontal"> |     <div class="d-flex align-items-center" [class.col-md-3]="horizontal"> | ||||||
|       <label class="form-label" [class.mb-md-0]="horizontal" for="tags" i18n>{{title}}</label> |       <label class="form-label" [class.mb-md-0]="horizontal" for="tags">{{title}}</label> | ||||||
|     </div> |     </div> | ||||||
|     <div class="position-relative" [class.col-md-9]="horizontal"> |     <div class="position-relative" [class.col-md-9]="horizontal"> | ||||||
|       <div class="input-group flex-nowrap"> |       <div class="input-group flex-nowrap"> | ||||||
|   | |||||||
| @@ -19,7 +19,7 @@ | |||||||
|         @for (action of PermissionAction | keyvalue; track action) { |         @for (action of PermissionAction | keyvalue; track action) { | ||||||
|           <div class="col form-check form-check-inline" [ngbPopover]="inheritedWarning" [disablePopover]="!isInherited(type, action.key)" placement="left" triggers="mouseenter:mouseleave"> |           <div class="col form-check form-check-inline" [ngbPopover]="inheritedWarning" [disablePopover]="!isInherited(type, action.key)" placement="left" triggers="mouseenter:mouseleave"> | ||||||
|             <input type="checkbox" class="form-check-input" id="{{type}}_{{action.key}}" formControlName="{{action.key}}"> |             <input type="checkbox" class="form-check-input" id="{{type}}_{{action.key}}" formControlName="{{action.key}}"> | ||||||
|             <label class="form-check-label visually-hidden" for="{{type}}_{{action.key}}" i18n>{{action.key}}</label> |             <label class="form-check-label visually-hidden" for="{{type}}_{{action.key}}">{{action.key}}</label> | ||||||
|           </div> |           </div> | ||||||
|         } |         } | ||||||
|       </li> |       </li> | ||||||
|   | |||||||
| @@ -32,7 +32,7 @@ | |||||||
|                             @for (change of entry.changes | keyvalue; track change.key) { |                             @for (change of entry.changes | keyvalue; track change.key) { | ||||||
|                                 @if (change.value["type"] === 'm2m') { |                                 @if (change.value["type"] === 'm2m') { | ||||||
|                                     <li> |                                     <li> | ||||||
|                                         <span class="fst-italic" i18n>{{ change.value["operation"] | titlecase }}</span>  |                                         <span class="fst-italic">{{ change.value["operation"] | titlecase }}</span>  | ||||||
|                                         <span>{{ change.key | titlecase }}</span>:  |                                         <span>{{ change.key | titlecase }}</span>:  | ||||||
|                                         <code class="text-primary">{{ change.value["objects"].join(', ') }}</code> |                                         <code class="text-primary">{{ change.value["objects"].join(', ') }}</code> | ||||||
|                                     </li> |                                     </li> | ||||||
|   | |||||||
| @@ -72,7 +72,7 @@ | |||||||
|             <div class="list-group list-group-horizontal border-0 card-info ms-md-auto mt-2 mt-md-0"> |             <div class="list-group list-group-horizontal border-0 card-info ms-md-auto mt-2 mt-md-0"> | ||||||
|               @if (displayFields.includes(DisplayField.NOTES) && notesEnabled && document.notes.length) { |               @if (displayFields.includes(DisplayField.NOTES) && notesEnabled && document.notes.length) { | ||||||
|                 <button routerLink="/documents/{{document.id}}/notes" class="list-group-item btn btn-sm bg-light text-dark p-1 border-0 me-2 d-flex align-items-center" title="View notes" i18n-title> |                 <button routerLink="/documents/{{document.id}}/notes" class="list-group-item btn btn-sm bg-light text-dark p-1 border-0 me-2 d-flex align-items-center" title="View notes" i18n-title> | ||||||
|                   <i-bs width=".9em" height=".9em" class="me-2 text-muted" name="chat-left-text"></i-bs><small i18n>{{document.notes.length}} Notes</small> |                   <i-bs width=".9em" height=".9em" class="me-2 text-muted" name="chat-left-text"></i-bs><small>{{document.notes.length}} Notes</small> | ||||||
|                 </button> |                 </button> | ||||||
|               } |               } | ||||||
|               @if (displayFields.includes(DisplayField.DOCUMENT_TYPE) && document.document_type) { |               @if (displayFields.includes(DisplayField.DOCUMENT_TYPE) && document.document_type) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 shamoon
					shamoon