mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e41a52286f
This reverts commit 9bc15994ce.
PR Close #55326
38 lines
1.2 KiB
HTML
38 lines
1.2 KiB
HTML
<!--#docregion greeting-->
|
|
<h1>Hello i18n!</h1>
|
|
<!--#enddocregion greeting-->
|
|
|
|
<!--#docregion i18n-attribute-->
|
|
<h1 i18n>Hello i18n!</h1>
|
|
<!--#enddocregion i18n-attribute-->
|
|
|
|
<!--#docregion i18n-attribute-desc-->
|
|
<h1 i18n="An introduction header for this sample">Hello i18n!</h1>
|
|
<!--#enddocregion i18n-attribute-desc-->
|
|
|
|
<!--#docregion i18n-attribute-meaning-->
|
|
<h1 i18n="site header|An introduction header for this sample">Hello i18n!</h1>
|
|
<!--#enddocregion i18n-attribute-meaning-->
|
|
|
|
<!--#docregion i18n-attribute-id-->
|
|
<h1 i18n="An introduction header for this sample@@introductionHeader">Hello i18n!</h1>
|
|
<!--#enddocregion i18n-attribute-id-->
|
|
|
|
<!--#docregion i18n-attribute-meaning-and-id-->
|
|
<h1 i18n="site header|An introduction header for this sample@@introductionHeader">Hello i18n!</h1>
|
|
<!--#enddocregion i18n-attribute-meaning-and-id-->
|
|
|
|
<!--#docregion i18n-attribute-solo-id-->
|
|
<h1 i18n="@@introductionHeader">Hello i18n!</h1>
|
|
<!--#enddocregion i18n-attribute-solo-id-->
|
|
|
|
<!--#docregion i18n-title-->
|
|
<img [src]="logo" title="Angular logo" alt="Angular logo">
|
|
<!--#enddocregion i18n-title-->
|
|
|
|
<!--#docregion i18n-duplicate-custom-id-->
|
|
<h3 i18n="@@myId">Hello</h3>
|
|
<!-- ... -->
|
|
<p i18n="@@myId">Good bye</p>
|
|
<!--#enddocregion i18n-duplicate-custom-id-->
|