Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

fix: added missing i18n placeholder for file preview

Nathanaël Houndd91d4264a65
diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf
index 95999a9c7..c02ec7738 100644
--- a/src-ui/messages.xlf
+++ b/src-ui/messages.xlf
@@ -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">
diff --git a/src-ui/src/app/components/document-detail/document-detail.component.html b/src-ui/src/app/components/document-detail/document-detail.component.html
index d824f6921..0109076cc 100644
--- a/src-ui/src/app/components/document-detail/document-detail.component.html
+++ b/src-ui/src/app/components/document-detail/document-detail.component.html
@@ -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'">