A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Fix date component incorrect translation unit
shamoon9ccad7ea860d
diff --git a/src-ui/messages.xlf b/src-ui/messages.xlfindex a1e0984af..5a45112ec 100644--- a/src-ui/messages.xlf+++ b/src-ui/messages.xlf@@ -1916,13 +1916,6 @@</context-group><note priority="1" from="description">Filter drop down element to filter for documents with no correspondent/type/tag assigned</note></trans-unit>- <trans-unit id="2088622872854972056" datatype="html">- <source>Filter documents with this <x id="INTERPOLATION" equiv-text="{{title}}"/></source>- <context-group purpose="location">- <context context-type="sourcefile">src/app/components/common/input/date/date.component.html</context>- <context context-type="linenumber">12</context>- </context-group>- </trans-unit><trans-unit id="445302259125375799" datatype="html"><source>Invalid date.</source><context-group purpose="location">@@ -1945,6 +1938,17 @@<context context-type="linenumber">47</context></context-group></trans-unit>+ <trans-unit id="6344437738844463465" datatype="html">+ <source>Filter documents with this <x id="PH" equiv-text="this.title"/></source>+ <context-group purpose="location">+ <context context-type="sourcefile">src/app/components/common/input/date/date.component.ts</context>+ <context context-type="linenumber">103</context>+ </context-group>+ <context-group purpose="location">+ <context context-type="sourcefile">src/app/components/common/input/select/select.component.ts</context>+ <context context-type="linenumber">149</context>+ </context-group>+ </trans-unit><trans-unit id="594042705136125260" datatype="html"><source>Edit Permissions</source><context-group purpose="location">@@ -2100,13 +2104,6 @@<context context-type="linenumber">80</context></context-group></trans-unit>- <trans-unit id="6344437738844463465" datatype="html">- <source>Filter documents with this <x id="PH" equiv-text="this.title"/></source>- <context-group purpose="location">- <context context-type="sourcefile">src/app/components/common/input/select/select.component.ts</context>- <context context-type="linenumber">149</context>- </context-group>- </trans-unit><trans-unit id="6560126119609945418" datatype="html"><source>Add tag</source><context-group purpose="location">diff --git a/src-ui/src/app/components/common/input/date/date.component.html b/src-ui/src/app/components/common/input/date/date.component.htmlindex 66cdb5092..947e832ae 100644--- a/src-ui/src/app/components/common/input/date/date.component.html+++ b/src-ui/src/app/components/common/input/date/date.component.html@@ -9,7 +9,7 @@<path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/></svg></button>- <button *ngIf="showFilter" class="btn btn-outline-secondary" type="button" (click)="onFilterDocuments()" [disabled]="this.value === null" i18n-title title="Filter documents with this {{title}}">+ <button *ngIf="showFilter" class="btn btn-outline-secondary" type="button" (click)="onFilterDocuments()" [disabled]="this.value === null" title="{{ fitlerButtonTitle }}"><svg class="buttonicon" fill="currentColor"><use xlink:href="assets/bootstrap-icons.svg#filter" /></svg>diff --git a/src-ui/src/app/components/common/input/date/date.component.ts b/src-ui/src/app/components/common/input/date/date.component.tsindex 48557281d..c4177b04c 100644--- a/src-ui/src/app/components/common/input/date/date.component.ts+++ b/src-ui/src/app/components/common/input/date/date.component.ts@@ -98,4 +98,8 @@ export class DateComponentonFilterDocuments() {this.filterDocuments.emit([this.ngbDateParserFormatter.parse(this.value)])}++ get filterButtonTitle() {+ return $localize`Filter documents with this ${this.title}`+ }}diff --git a/src-ui/src/app/components/common/input/select/select.component.html b/src-ui/src/app/components/common/input/select/select.component.htmlindex feec08f44..1f6f2b338 100644--- a/src-ui/src/app/components/common/input/select/select.component.html+++ b/src-ui/src/app/components/common/input/select/select.component.html@@ -26,7 +26,7 @@<use xlink:href="assets/bootstrap-icons.svg#plus" /></svg></button>- <button *ngIf="showFilter" class="btn btn-outline-secondary" type="button" (click)="onFilterDocuments()" [disabled]="isPrivate || this.value === null" title="{{ filterTitle }}">+ <button *ngIf="showFilter" class="btn btn-outline-secondary" type="button" (click)="onFilterDocuments()" [disabled]="isPrivate || this.value === null" title="{{ filterButtonTitle }}"><svg class="buttonicon" fill="currentColor"><use xlink:href="assets/bootstrap-icons.svg#filter" /></svg>diff --git a/src-ui/src/app/components/common/input/select/select.component.ts b/src-ui/src/app/components/common/input/select/select.component.tsindex eb9850fec..1a3341842 100644--- a/src-ui/src/app/components/common/input/select/select.component.ts+++ b/src-ui/src/app/components/common/input/select/select.component.ts@@ -145,7 +145,7 @@ export class SelectComponent extends AbstractInputComponent<number> {this.filterDocuments.emit([this.items.find((i) => i.id === this.value)])}- get filterTitle() {+ get filterButtonTitle() {return $localize`Filter documents with this ${this.title}`}}