forked from angular/angular-fr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(guide): Security french translation (angular#78)
Fix angular#27
- Loading branch information
Showing
5 changed files
with
201 additions
and
191 deletions.
There are no files selected for viewing
18 changes: 9 additions & 9 deletions
18
public/docs/_examples/security/ts/app/bypass-security.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
<!--#docregion --> | ||
<h3>Bypass Security Component</h3> | ||
<h3>Contourner la sécurité des composants</h3> | ||
|
||
<!--#docregion dangerous-url --> | ||
<h4>A untrusted URL:</h4> | ||
<h4>Une URL douteuse :</h4> | ||
<p><a class="e2e-dangerous-url" [href]="dangerousUrl">Click me</a></p> | ||
<h4>A trusted URL:</h4> | ||
<h4>Une URL de confiance :</h4> | ||
<p><a class="e2e-trusted-url" [href]="trustedUrl">Click me</a></p> | ||
<!--#enddocregion dangerous-url --> | ||
|
||
<!--#docregion iframe-videoid --> | ||
<h4>Resource URL:</h4> | ||
<p><label>Showing: <input (input)="updateVideoUrl($event.target.value)"></label></p> | ||
<p>Trusted:</p> | ||
<iframe class="e2e-iframe-trusted-src" width="640" height="390" [src]="videoUrl"></iframe> | ||
<p>Untrusted:</p> | ||
<iframe class="e2e-iframe-untrusted-src" width="640" height="390" [src]="dangerousVideoUrl"></iframe> | ||
<h4>URL de ressources :</h4> | ||
<p><label>Affichage de : <input (input)="updateVideoUrl($event.target.value)"></label></p> | ||
<p>OK :</p> | ||
<iframe class="e2e-iframe-trusted-src" width="640" height="390" [src]="urlDeVideo"></iframe> | ||
<p>Douteux :</p> | ||
<iframe class="e2e-iframe-untrusted-src" width="640" height="390" [src]="urlDangereuseDeVideo"></iframe> | ||
<!--#enddocregion iframe-videoid --> | ||
|
||
<!--#enddocregion --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
public/docs/_examples/security/ts/app/inner-html-binding.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<!-- #docregion --> | ||
<h3>Binding innerHTML</h3> | ||
<p>Bound value:</p> | ||
<h3>Lier innerHTML</h3> | ||
<p>Valeur liée :</p> | ||
<p class="e2e-inner-html-interpolated">{{htmlSnippet}}</p> | ||
<p>Result of binding to innerHTML:</p> | ||
<p>Resultat de la liaison à innerHTML :</p> | ||
<p class="e2e-inner-html-bound" [innerHTML]="htmlSnippet"></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.