mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
the aio examples have various eslint issues regarding template rules, those are currently turned off and TODO comments have been added to them in the examples eslintrc, fix such issues and remove the respective TODO comments this also includes examples refactoring to use buttons for better accessibility, this change tries to make the smallest amound of changes to the examples' behaviors and designs/UI PR Close #44557
37 lines
1.2 KiB
HTML
37 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-->
|