-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathrepeat.component.html
More file actions
45 lines (44 loc) · 2.79 KB
/
repeat.component.html
File metadata and controls
45 lines (44 loc) · 2.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<h3>{{'EXERCISES.EXERCISETITLE' | translate }}: {{exerciseTitle}}</h3>
<div *ngIf="currentLanguage === 'de'">
<p>Viel zu wenig!</p>
<p>Die Lieferung hat uns wirklich nur einen Apfel gebracht. Das Rezept gibt uns aber vor das wir drei Äpfel
brauchen. In dieser Notlage behilft uns der <code class="help" [appTooltip]="tooltip">repeat</code>-Operator. Er
wiederholt das Observable mit der angegeben Anzahl.
<a href="https://rxjs.dev/api/operators/repeat" target="_blank">(Mehr Infos zu repeat)</a>
</p>
</div>
<div *ngIf="currentLanguage === 'en'">
<p>Much too little!</p>
<p>The delivery really only brought us an apple. The recipe gives us three apples need. In this emergency, the <code class="help" [appTooltip]="tooltip">repeat</code> operator helps us. He repeats the observable with the specified number.
<a href="https://rxjs.dev/api/operators/repeat" target="_blank">(Learn more about repeat)</a>
</p>
</div>
<div *ngIf="currentLanguage === 'zh_CN'">
<p>水果太少了!</p>
<p>只运送过来了一个苹果,食谱上说我们需要三个苹果。在这个紧急情况下, <code class="help" [appTooltip]="tooltip">repeat</code> 操作符可以为我们提供帮助。它可以指定重复 observable 的次数。
<a href="https://rxjs.dev/api/operators/repeat" target="_blank">(了解关于 repeat 操作符的更多信息)</a>
</p>
</div>
<div *ngIf="currentLanguage === 'ru'">
<p>Слишком мало!</p>
<p>Доставка действительно принесла нам только яблоко. Рецепт дает нам три яблока нужно. В этом случае нам помогает оператор <code class="help" [appTooltip]="tooltip">repeat</code>. Он повторяет наблюдаемое с указанным номером.
<a href="https://rxjs.dev/api/operators/repeat" target="_blank">(Подробнее о repeat)</a>
</p>
</div>
<div *ngIf="currentLanguage === 'es'">
<p>Demasiado poco!</p>
<p>La entrega solo nos trajo una manzana. En esta emergencia, el operador <code class="help" [appTooltip]="tooltip">repeat</code> nos ayuda. Repite el observable con el número especificado.
<a href="https://rxjs.dev/api/operators/repeat" target="_blank">(Aprende más sobre repeat)</a>
</p>
</div>
<div *ngIf="currentLanguage === 'pt'">
<p>Muito pouco!</p>
<p>Só recebemos uma maçã na entrega. Nesta emergência, o operador <code class="help" [appTooltip]="tooltip">repeat</code> nos ajudará. Ele repetirá o observable com o número especificado.
<a href="https://rxjs.dev/api/operators/repeat" target="_blank">(Aprende mais sobre repeat)</a>
</p>
</div>
<div #tooltip class="tooltip codeTooltip">
<pre>
<code [highlight]="repeatCode"></code>
</pre>
</div>