mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Merge pull request #2692 from nathanaelhoun/fix-missing-i18n-for-mobile-preview
fix: add missing i18n for mobile "preview" pane
This commit is contained in:
		| @@ -251,7 +251,7 @@ these parts have to be translated separately. | ||||
| - The translated strings need to be placed in the | ||||
|   `src-ui/src/locale/` folder. | ||||
| - In order to extract added or changed strings from the source files, | ||||
|   call `ng xi18n --ivy`. | ||||
|   call `ng extract-i18n`. | ||||
|  | ||||
| Adding new languages requires adding the translated files in the | ||||
| `src-ui/src/locale/` folder and adjusting a couple files. | ||||
|   | ||||
| @@ -2233,6 +2233,13 @@ | ||||
|           <context context-type="linenumber">145</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="1295614462098694869" datatype="html"> | ||||
|         <source>Preview</source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context> | ||||
|           <context context-type="linenumber">151</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="8191371354890763172" datatype="html"> | ||||
|         <source>Enter Password</source> | ||||
|         <context-group purpose="location"> | ||||
|   | ||||
| @@ -148,7 +148,7 @@ | ||||
|                 </li> | ||||
|  | ||||
|                 <li [ngbNavItem]="4" class="d-md-none"> | ||||
|                     <a ngbNavLink>Preview</a> | ||||
|                     <a ngbNavLink i18n>Preview</a> | ||||
|                     <ng-template ngbNavContent *ngIf="!pdfPreview.offsetParent"> | ||||
|                         <div class="position-relative"> | ||||
|                             <ng-container *ngIf="getContentType() === 'application/pdf'"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 shamoon
					shamoon