mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 19:17:13 -05:00 
			
		
		
		
	more localization tags #123
This commit is contained in:
		
							parent
							
								
									ef63ec40d9
								
							
						
					
					
						commit
						f9ab8d3b35
					
				@ -7,7 +7,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
  <div class="modal-body">
 | 
					  <div class="modal-body">
 | 
				
			||||||
    <app-input-text i18n-title title="Name" formControlName="name"></app-input-text>
 | 
					    <app-input-text i18n-title title="Name" formControlName="name"></app-input-text>
 | 
				
			||||||
    <app-input-check i18n-title title="Show in side bar" formControlName="showInSideBar"></app-input-check>
 | 
					    <app-input-check i18n-title title="Show in sidebar" formControlName="showInSideBar"></app-input-check>
 | 
				
			||||||
    <app-input-check i18n-title title="Show on dashboard" formControlName="showOnDashboard"></app-input-check>
 | 
					    <app-input-check i18n-title title="Show on dashboard" formControlName="showOnDashboard"></app-input-check>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
  <div class="modal-footer">
 | 
					  <div class="modal-footer">
 | 
				
			||||||
 | 
				
			|||||||
@ -9,8 +9,8 @@
 | 
				
			|||||||
    
 | 
					    
 | 
				
			||||||
    <app-input-text i18n-title title="Name" formControlName="name"></app-input-text>
 | 
					    <app-input-text i18n-title title="Name" formControlName="name"></app-input-text>
 | 
				
			||||||
    <app-input-select i18n-title title="Matching algorithm" [items]="getMatchingAlgorithms()" formControlName="matching_algorithm"></app-input-select>
 | 
					    <app-input-select i18n-title title="Matching algorithm" [items]="getMatchingAlgorithms()" formControlName="matching_algorithm"></app-input-select>
 | 
				
			||||||
    <app-input-text i18n-title title="Match" formControlName="match" hint="Auto matching does not require you to fill in this field."></app-input-text>
 | 
					    <app-input-text i18n-title title="Match" formControlName="match" i18n-hint hint="Auto matching does not require you to fill in this field."></app-input-text>
 | 
				
			||||||
    <app-input-check i18n-title title="Case insensitive" formControlName="is_insensitive" hint="Auto matching ignores this option."></app-input-check>
 | 
					    <app-input-check i18n-title title="Case insensitive" formControlName="is_insensitive" i18n-hint hint="Auto matching ignores this option."></app-input-check>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
  <div class="modal-footer">
 | 
					  <div class="modal-footer">
 | 
				
			||||||
    <button type="button" class="btn btn-outline-dark" (click)="cancel()" i18n>Cancel</button>
 | 
					    <button type="button" class="btn btn-outline-dark" (click)="cancel()" i18n>Cancel</button>
 | 
				
			||||||
 | 
				
			|||||||
@ -9,8 +9,8 @@
 | 
				
			|||||||
      
 | 
					      
 | 
				
			||||||
      <app-input-text i18n-title title="Name" formControlName="name"></app-input-text>
 | 
					      <app-input-text i18n-title title="Name" formControlName="name"></app-input-text>
 | 
				
			||||||
      <app-input-select i18n-title title="Matching algorithm" [items]="getMatchingAlgorithms()" formControlName="matching_algorithm"></app-input-select>
 | 
					      <app-input-select i18n-title title="Matching algorithm" [items]="getMatchingAlgorithms()" formControlName="matching_algorithm"></app-input-select>
 | 
				
			||||||
      <app-input-text i18n-title title="Match" formControlName="match" hint="Auto matching does not require you to fill in this field."></app-input-text>
 | 
					      <app-input-text i18n-title title="Match" formControlName="match" i18n-hint hint="Auto matching does not require you to fill in this field."></app-input-text>
 | 
				
			||||||
      <app-input-check i18n-title title="Case insensitive" formControlName="is_insensitive" hint="Auto matching ignores this option."></app-input-check>
 | 
					      <app-input-check i18n-title title="Case insensitive" formControlName="is_insensitive" i18n-hint hint="Auto matching ignores this option."></app-input-check>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <div class="modal-footer">
 | 
					    <div class="modal-footer">
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,4 @@
 | 
				
			|||||||
<app-page-header title="Document types">
 | 
					<app-page-header title="Document types" i18n-title>
 | 
				
			||||||
  <button type="button" class="btn btn-sm btn-outline-primary" (click)="openCreateDialog()" i18n>Create</button>
 | 
					  <button type="button" class="btn btn-sm btn-outline-primary" (click)="openCreateDialog()" i18n>Create</button>
 | 
				
			||||||
</app-page-header>
 | 
					</app-page-header>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -10,7 +10,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <div class="form-group paperless-input-select">
 | 
					      <div class="form-group paperless-input-select">
 | 
				
			||||||
        <label for="colour">Colour</label>
 | 
					        <label for="colour" i18n>Color</label>
 | 
				
			||||||
        <ng-select name="colour" formControlName="colour" [items]="getColours()" bindValue="id" bindLabel="name" [clearable]="false">
 | 
					        <ng-select name="colour" formControlName="colour" [items]="getColours()" bindValue="id" bindLabel="name" [clearable]="false">
 | 
				
			||||||
          <ng-template ng-option-tmp ng-label-tmp let-item="item">
 | 
					          <ng-template ng-option-tmp ng-label-tmp let-item="item">
 | 
				
			||||||
            <span class="badge" [style.background]="item.value" [style.color]="item.textColor">{{item.name}}</span>
 | 
					            <span class="badge" [style.background]="item.value" [style.color]="item.textColor">{{item.name}}</span>
 | 
				
			||||||
@ -18,13 +18,13 @@
 | 
				
			|||||||
        </ng-select>
 | 
					        </ng-select>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
     
 | 
					     
 | 
				
			||||||
      <app-input-check title="Inbox tag" formControlName="is_inbox_tag" hint="Inbox tags are automatically assigned to all consumed documents."></app-input-check>
 | 
					      <app-input-check i18n-title title="Inbox tag" formControlName="is_inbox_tag" i18n-hint hint="Inbox tags are automatically assigned to all consumed documents."></app-input-check>
 | 
				
			||||||
      <app-input-select title="Matching algorithm" [items]="getMatchingAlgorithms()" formControlName="matching_algorithm"></app-input-select>
 | 
					      <app-input-select i18n-title title="Matching algorithm" [items]="getMatchingAlgorithms()" formControlName="matching_algorithm"></app-input-select>
 | 
				
			||||||
      <app-input-text title="Match" formControlName="match" hint="Auto matching does not require you to fill in this field."></app-input-text>
 | 
					      <app-input-text i18n-title title="Match" formControlName="match" i18n-hint hint="Auto matching does not require you to fill in this field."></app-input-text>
 | 
				
			||||||
      <app-input-check title="Case insensitive" formControlName="is_insensitive" hint="Auto matching ignores this option."></app-input-check>
 | 
					      <app-input-check i18n-title title="Case insensitive" formControlName="is_insensitive" i18n-hint hint="Auto matching ignores this option."></app-input-check>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <div class="modal-footer">
 | 
					    <div class="modal-footer">
 | 
				
			||||||
      <button type="button" class="btn btn-outline-dark" (click)="cancel()">Cancel</button>
 | 
					      <button type="button" class="btn btn-outline-dark" (click)="cancel()" i18n>Cancel</button>
 | 
				
			||||||
      <button type="submit" class="btn btn-primary">Save</button>
 | 
					      <button type="submit" class="btn btn-primary" i18n>Save</button>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
  </form>
 | 
					  </form>
 | 
				
			||||||
 | 
				
			|||||||
@ -1,7 +1,5 @@
 | 
				
			|||||||
<app-page-header title="Tags">
 | 
					<app-page-header title="Tags" i18n-title>
 | 
				
			||||||
  <button type="button" class="btn btn-sm btn-outline-primary" (click)="openCreateDialog()">
 | 
					  <button type="button" class="btn btn-sm btn-outline-primary" (click)="openCreateDialog()" i18n>Create</button>
 | 
				
			||||||
    Create
 | 
					 | 
				
			||||||
  </button>
 | 
					 | 
				
			||||||
</app-page-header>
 | 
					</app-page-header>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<div class="row m-0 justify-content-end">
 | 
					<div class="row m-0 justify-content-end">
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,4 @@
 | 
				
			|||||||
<app-page-header title="Search results">
 | 
					<app-page-header i18n-title title="Search results">
 | 
				
			||||||
</app-page-header>
 | 
					</app-page-header>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<div *ngIf="errorMessage" class="alert alert-danger" i18n>Invalid search query: {{errorMessage}}</div>
 | 
					<div *ngIf="errorMessage" class="alert alert-danger" i18n>Invalid search query: {{errorMessage}}</div>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user