Skip to content

Commit

Permalink
fix qb messages
Browse files Browse the repository at this point in the history
  • Loading branch information
thkoehler11 committed Oct 11, 2023
1 parent 9d957cc commit 5612b16
Show file tree
Hide file tree
Showing 4 changed files with 200 additions and 74 deletions.
7 changes: 2 additions & 5 deletions src/app/embedded/quality-report/quality-report.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,9 @@ <h2 i18n>Qualit&auml;tsbericht</h2>
<button class="generate-button" mat-raised-button color="primary" (click)=generateQB() [ngClass]="{ 'visible-button': (selectedTemplate !== 'custom' && !buttonDisabled) }" i18n>neuen QB generieren</button>
<div class="upload-button" [ngClass]="{ 'visible': selectedTemplate === 'custom' }">
<input type="file" class="file-input" (change)="doImportFromFile($event)" #fileUpload />
<button class="file-upload" mat-raised-button color="primary" (click)="fileUpload.click()" [disabled]="buttonDisabled" i18n>
<!--<mat-icon fontIcon="download" i18n>Herunterladen</mat-icon>
<span class="file-upload-text">Template hochladen</span>-->
Template auswählen und neuen QB generieren
<button class="file-upload" mat-raised-button color="primary" (click)="fileUpload.click()" [disabled]="buttonDisabled">
<span i18n>Template auswählen und neuen QB generieren</span>
</button>
<!--<div class="file-name">{{ fileName }}</div>-->
</div>
<button class="download-button" mat-raised-button color="primary" (click)=downloadTemplate() [ngClass]="{ 'visible-button': selectedTemplate !== 'custom' }" i18n>Template herunterladen</button>

Expand Down
1 change: 0 additions & 1 deletion src/app/sidebar/sidebar.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
flex: 1;
z-index:1;
position: relative;
overflow: hidden;
}
.main-content {
display: flex;
Expand Down
137 changes: 104 additions & 33 deletions src/i18n/messages.en.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<unit id="3840739858389961694">
<notes>
<note category="location">src/app/embedded/event-log/event-log.component.html:22</note>
<note category="location">src/app/embedded/quality-report/quality-report.component.html:29</note>
<note category="location">src/app/embedded/quality-report/quality-report.component.html:49</note>
</notes>
<segment>
<source>Zeitstempel</source>
Expand Down Expand Up @@ -248,7 +248,7 @@
</unit>
<unit id="5368569711274766465">
<notes>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:16</note>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:18</note>
</notes>
<segment>
<source>Keine Validierung vornehmen. Das erzeugte Dokument kann deshalb Einträge enthalten, die nicht konform zu den MDR hinterlegten Validierungsinformationen sind.</source>
Expand All @@ -257,7 +257,7 @@
</unit>
<unit id="4823182825482999580">
<notes>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:19</note>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:21</note>
</notes>
<segment>
<source>Werte, die nicht konform zu den im MDR hinterlegten Validierungsinformationen sind, werden nicht in das erzeugte Dokument aufgenommen.</source>
Expand All @@ -266,7 +266,7 @@
</unit>
<unit id="469909917545407381">
<notes>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:22</note>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:24</note>
</notes>
<segment>
<source>Werte, die nicht konform zu den im MDR hinterlegten Validierungsinformationen sind, werden im erzeugten Dokument orange hinterlegt.</source>
Expand All @@ -275,7 +275,7 @@
</unit>
<unit id="4885766104050604377">
<notes>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:26</note>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:28</note>
</notes>
<segment>
<source> Anfrage erneut ausfüllen</source>
Expand All @@ -284,7 +284,7 @@
</unit>
<unit id="7644487670693293606">
<notes>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:28</note>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:30</note>
</notes>
<segment>
<source>Ergebnisliste erzeugen (Excel)</source>
Expand All @@ -293,7 +293,7 @@
</unit>
<unit id="3047453899515192138">
<notes>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:29</note>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:31</note>
</notes>
<segment>
<source>Ergebnisliste erzeugen (CSV)</source>
Expand All @@ -302,25 +302,25 @@
</unit>
<unit id="5425384892297548117">
<notes>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:30</note>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:32</note>
</notes>
<segment>
<source>Nur Anzahl abfragen</source>
<target>Request only statistics</target>
</segment>
</unit>
<unit id="9179449244500388247">
<unit id="1022348842509737827">
<notes>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:32</note>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:35,36</note>
</notes>
<segment>
<source>Bereits beantwortet</source>
<source>Bereits beantwortet </source>
<target>Already answered</target>
</segment>
</unit>
<unit id="6275450215073900352">
<notes>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:35</note>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:39</note>
</notes>
<segment>
<source>Archivieren</source>
Expand All @@ -329,7 +329,7 @@
</unit>
<unit id="7034201329736814695">
<notes>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:45</note>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:50</note>
</notes>
<segment>
<source>Der Anfragesteller hat keinen Beschreibungstext eingegeben.</source>
Expand All @@ -338,7 +338,7 @@
</unit>
<unit id="118024421195624369">
<notes>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:47</note>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:53</note>
</notes>
<segment>
<source>Expóse herunterladen</source>
Expand All @@ -347,7 +347,7 @@
</unit>
<unit id="7814399578676262996">
<notes>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:50</note>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:56</note>
</notes>
<segment>
<source>Keine Dokumente angehängt</source>
Expand All @@ -356,7 +356,7 @@
</unit>
<unit id="8953033926734869941">
<notes>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:56</note>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:62</note>
</notes>
<segment>
<source>Name</source>
Expand All @@ -365,7 +365,7 @@
</unit>
<unit id="681866609203884162">
<notes>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:57</note>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:63</note>
</notes>
<segment>
<source>Telefonnummer</source>
Expand All @@ -374,7 +374,7 @@
</unit>
<unit id="8115083664628466958">
<notes>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:58</note>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:64</note>
</notes>
<segment>
<source>E-Mail</source>
Expand All @@ -383,7 +383,7 @@
</unit>
<unit id="2598039109801317313">
<notes>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:59</note>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:65</note>
</notes>
<segment>
<source>Einrichtung</source>
Expand All @@ -392,7 +392,7 @@
</unit>
<unit id="422776820557165963">
<notes>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:62</note>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:68</note>
</notes>
<segment>
<source>Beantwortet am</source>
Expand All @@ -401,7 +401,7 @@
</unit>
<unit id="4220537191485568025">
<notes>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:62</note>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:68</note>
</notes>
<segment>
<source>Antwort</source>
Expand All @@ -410,7 +410,7 @@
</unit>
<unit id="789555460980371940">
<notes>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:74</note>
<note category="location">src/app/embedded/inquiries/inquiry/inquiry.component.html:80</note>
</notes>
<segment>
<source>Suchkriterien</source>
Expand Down Expand Up @@ -451,7 +451,6 @@
<notes>
<note category="location">src/app/embedded/pop-ups/dialog-quali/dialog-quali.component.html:14</note>
<note category="location">src/app/embedded/pop-ups/dialog-uploads/dialog-uploads.component.html:13</note>
<note category="location">src/app/embedded/quality-report/quality-report.component.html:14</note>
<note category="location">src/app/embedded/uploads/uploads.component.html:74</note>
</notes>
<segment>
Expand Down Expand Up @@ -490,29 +489,101 @@
<unit id="8960936367812691745">
<notes>
<note category="location">src/app/embedded/quality-report/quality-report.component.html:4</note>
<note category="location">src/app/teiler/quality-report.service.ts:13</note>
<note category="location">src/app/teiler/quality-report.service.ts:22</note>
</notes>
<segment>
<source>Qualitätsbericht</source>
<target>Quality Report</target>
</segment>
</unit>
<unit id="2551151927873073463">
<unit id="4894648697918868112">
<notes>
<note category="location">src/app/embedded/quality-report/quality-report.component.html:14</note>
</notes>
<segment>
<source>abbrechen</source>
<target>cancel</target>
</segment>
</unit>
<unit id="2198706399477955343">
<notes>
<note category="location">src/app/embedded/quality-report/quality-report.component.html:15</note>
</notes>
<segment>
<source>neuen QB generieren</source>
<target>generate new QR</target>
</segment>
</unit>
<unit id="3600220182293352906">
<notes>
<note category="location">src/app/embedded/quality-report/quality-report.component.html:19</note>
</notes>
<segment>
<source>Template auswählen und neuen QB generieren</source>
<target>select template and generate new QR</target>
</segment>
</unit>
<unit id="7851488990126524246">
<notes>
<note category="location">src/app/embedded/quality-report/quality-report.component.html:22</note>
</notes>
<segment>
<source>Template herunterladen</source>
<target>download template</target>
</segment>
</unit>
<unit id="7502293677528705372">
<notes>
<note category="location">src/app/embedded/quality-report/quality-report.component.html:26</note>
</notes>
<segment>
<source>QB wird erstellt ...</source>
<target>generating QR ...</target>
</segment>
</unit>
<unit id="5122976901342026593">
<notes>
<note category="location">src/app/embedded/quality-report/quality-report.component.html:27</note>
</notes>
<segment>
<source>QB wurde erfolgreich erstellt.</source>
<target>QR successfully generated</target>
</segment>
</unit>
<unit id="3585007716010513758">
<notes>
<note category="location">src/app/embedded/quality-report/quality-report.component.html:28</note>
</notes>
<segment>
<source>QB wurde nicht gefunden.</source>
<target>QR not found</target>
</segment>
</unit>
<unit id="5070539244098019882">
<notes>
<note category="location">src/app/embedded/quality-report/quality-report.component.html:29</note>
</notes>
<segment>
<source>Ein Fehler ist aufgetreten.</source>
<target>failed</target>
</segment>
</unit>
<unit id="2348254711380854005">
<notes>
<note category="location">src/app/embedded/quality-report/quality-report.component.html:7</note>
<note category="location">src/app/embedded/quality-report/quality-report.component.html:54</note>
</notes>
<segment>
<source>Generieren</source>
<target>Generate</target>
<source>Template-ID</source>
<target>template-ID</target>
</segment>
</unit>
<unit id="2724055831234181057">
<unit id="2981219928115418649">
<notes>
<note category="location">src/app/embedded/quality-report/quality-report.component.html:34</note>
<note category="location">src/app/embedded/quality-report/quality-report.component.html:59</note>
</notes>
<segment>
<source>Version</source>
<target>Version</target>
<source>Link</source>
<target>link</target>
</segment>
</unit>
<unit id="6445536054910475490">
Expand Down Expand Up @@ -831,7 +902,7 @@
</unit>
<unit id="1447758518246009372">
<notes>
<note category="location">src/app/teiler/quality-report.service.ts:10</note>
<note category="location">src/app/teiler/quality-report.service.ts:19</note>
</notes>
<segment>
<source>Qualitätsberichte erzeugen und ansehen</source>
Expand Down
Loading

0 comments on commit 5612b16

Please sign in to comment.