Commit 1ffc3ac5 authored by Björn Eyselein's avatar Björn Eyselein

update i18n

parent d1ed1734
Pipeline #26951 passed with stages
in 3 minutes and 56 seconds
......@@ -44,6 +44,41 @@
<context context-type="linenumber">30</context>
</context-group>
</trans-unit>
<trans-unit id="fefee13017c2b85143cd131ee253e327a14053a0" datatype="html">
<source>Tools</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/tool-overview/tool-overview.component.html</context>
<context context-type="linenumber">2</context>
</context-group>
</trans-unit>
<trans-unit id="e837b8f8d11cd9efc2db516c7f6ef70afa6a8037" datatype="html">
<source>Zu den Lektionen</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/tool-overview/tool-overview.component.html</context>
<context context-type="linenumber">18</context>
</context-group>
</trans-unit>
<trans-unit id="5bf31eb355f0b449d8c745d8fcb04d2efbb868da" datatype="html">
<source><x id="INTERPOLATION" equiv-text="{{colTool.collectionCount}}"/> Sammlungen mit <x id="INTERPOLATION_1" equiv-text="{{colTool.exerciseCount}}"/> Aufgaben</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/tool-overview/tool-overview.component.html</context>
<context context-type="linenumber">35</context>
</context-group>
</trans-unit>
<trans-unit id="7ed1367455297716f30271d713bfd2b12566fdec" datatype="html">
<source><x id="INTERPOLATION" equiv-text="{{colTool.lessonCount === 0 ? &apos;Keine&apos; : colTool.lessonCount}}"/> Lektionen</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/tool-overview/tool-overview.component.html</context>
<context context-type="linenumber">36</context>
</context-group>
</trans-unit>
<trans-unit id="c533340dac6555cdcd7086167932ccb0295f4779" datatype="html">
<source>Zum Tool</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/tool-overview/tool-overview.component.html</context>
<context context-type="linenumber">39</context>
</context-group>
</trans-unit>
<trans-unit id="227094aed22780e90303b4157e24f11db9e2c959" datatype="html">
<source>Nutzername</source>
<context-group purpose="location">
......@@ -86,6 +121,13 @@
<context context-type="linenumber">32</context>
</context-group>
</trans-unit>
<trans-unit id="2e55f8a5f502e6e096578b84009059497f6abe8c" datatype="html">
<source>Sie haben <x id="INTERPOLATION" equiv-text="{{points}}"/> von maximal <x id="INTERPOLATION_1" equiv-text="{{maxPoints}}"/> Punkten erreicht</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/shared/points-notification/points-notification.component.ts</context>
<context context-type="linenumber">8</context>
</context-group>
</trans-unit>
</body>
</file>
</xliff>
......@@ -4,7 +4,9 @@ import {Component, Input, OnChanges, OnInit, SimpleChanges} from '@angular/core'
selector: 'it4all-points-notification',
template: `
<div class="notification is-light-grey {{textColor}}">
<p class="has-text-centered">Sie haben {{points}} von maximal {{maxPoints}} Punkten erreicht.</p>
<p class="has-text-centered">
<span i18n>Sie haben {{points}} von maximal {{maxPoints}} Punkten erreicht</span>.
</p>
<br>
......
......@@ -17,7 +17,6 @@ export class TabsComponent implements AfterContentInit {
@ContentChildren(TabComponent) tabs: QueryList<TabComponent>;
ngAfterContentInit() {
const activeTabs = this.tabs.filter((t) => t.active);
......
<div class="container">
<h1 class="title is-3 has-text-centered">Tools <code>it4all</code></h1>
<h1 class="title is-3 has-text-centered"><span i18n>Tools</span>&nbsp;<code>it4all</code></h1>
<div class="columns is-multiline">
<div class="column is-one-quarter-desktop is-half-tablet" *ngFor="let ranTool of randomTools">
<div class="card">
......@@ -16,7 +15,7 @@
<footer class="card-footer">
<a [routerLink]="['/randomTools', ranTool.id]" class="card-footer-item">Zum Tool</a>
<a [routerLink]="['/lessons', ranTool.id]" class="card-footer-item" *ngIf="ranTool.hasLessons">
Zu den Lektionen
<ng-container i18n>Zu den Lektionen</ng-container>
</a>
</footer>
</div>
......@@ -33,16 +32,15 @@
</p>
</header>
<div class="card-content">
<p>{{colTool.collectionCount}} Sammlungen mit {{colTool.exerciseCount}} Aufgaben</p>
<p>{{colTool.lessonCount === 0 ? 'Keine' : colTool.lessonCount}} Lektionen</p>
<p i18n>{{colTool.collectionCount}} Sammlungen mit {{colTool.exerciseCount}} Aufgaben</p>
<p i18n>{{colTool.lessonCount === 0 ? 'Keine' : colTool.lessonCount}} Lektionen</p>
</div>
<footer class="card-footer">
<a [routerLink]="['/tools', colTool.id]" class="card-footer-item">Zum Tool</a>
<a [routerLink]="['/tools', colTool.id]" class="card-footer-item" i18n>Zum Tool</a>
</footer>
</div>
</div>
</div>
</div>
......@@ -50,6 +50,46 @@
<context context-type="linenumber">30</context>
</context-group>
</trans-unit>
<trans-unit id="fefee13017c2b85143cd131ee253e327a14053a0" datatype="html">
<source>Tools</source>
<target>Tools</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/tool-overview/tool-overview.component.html</context>
<context context-type="linenumber">2</context>
</context-group>
</trans-unit>
<trans-unit id="e837b8f8d11cd9efc2db516c7f6ef70afa6a8037" datatype="html">
<source>Zu den Lektionen</source>
<target>Go to lessons</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/tool-overview/tool-overview.component.html</context>
<context context-type="linenumber">18</context>
</context-group>
</trans-unit>
<trans-unit id="5bf31eb355f0b449d8c745d8fcb04d2efbb868da" datatype="html">
<source><x id="INTERPOLATION" equiv-text="{{colTool.collectionCount}}"/> Sammlungen mit <x id="INTERPOLATION_1" equiv-text="{{colTool.exerciseCount}}"/> Aufgaben</source>
<target><x id="INTERPOLATION" equiv-text="{{colTool.collectionCount}}"/> collections with <x id="INTERPOLATION_1" equiv-text="{{colTool.exerciseCount}}"/> exercises</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/tool-overview/tool-overview.component.html</context>
<context context-type="linenumber">35</context>
</context-group>
</trans-unit>
<trans-unit id="7ed1367455297716f30271d713bfd2b12566fdec" datatype="html">
<source><x id="INTERPOLATION" equiv-text="{{colTool.lessonCount === 0 ? &apos;Keine&apos; : colTool.lessonCount}}"/> Lektionen</source>
<source><x id="INTERPOLATION" equiv-text="{{colTool.lessonCount === 0 ? &apos;No&apos; : colTool.lessonCount}}"/> Lessons</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/tool-overview/tool-overview.component.html</context>
<context context-type="linenumber">36</context>
</context-group>
</trans-unit>
<trans-unit id="c533340dac6555cdcd7086167932ccb0295f4779" datatype="html">
<source>Zum Tool</source>
<target>Go to tool</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/tool-overview/tool-overview.component.html</context>
<context context-type="linenumber">39</context>
</context-group>
</trans-unit>
<trans-unit id="227094aed22780e90303b4157e24f11db9e2c959" datatype="html">
<source>Nutzername</source>
<target>Username</target>
......@@ -98,6 +138,14 @@
<context context-type="linenumber">32</context>
</context-group>
</trans-unit>
<trans-unit id="2e55f8a5f502e6e096578b84009059497f6abe8c" datatype="html">
<source>Sie haben <x id="INTERPOLATION" equiv-text="{{points}}"/> von maximal <x id="INTERPOLATION_1" equiv-text="{{maxPoints}}"/> Punkten erreicht</source>
<target>You have reached <x id="INTERPOLATION" equiv-text="{{points}}"/> of <x id="INTERPOLATION_1" equiv-text="{{maxPoints}}"/> points</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/shared/points-notification/points-notification.component.ts</context>
<context context-type="linenumber">8</context>
</context-group>
</trans-unit>
</body>
</file>
</xliff>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment