Permalink
Browse files

Auto-generated commit -- Use ng-container over i18n comments

Message from Angular: "I18n comments are deprecated, use an <ng-container> element instead"

Signed-off-by: Johannes Hoppe <johannes.hoppe@haushoppe-its.de>

Triggered by commit: angular-buch/book-monkey2@e6ff204
Travis build: https://travis-ci.org/angular-buch/book-monkey2/builds/307848005
  • Loading branch information...
TheBuildbot committed Nov 27, 2017
1 parent 3c607f0 commit 6e54598b2e05aff8e804e2bce7e47577a7c3b216
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/app/book/book-details/book-details.component.html
  2. +1 −1 src/app/home/home.component.ts
@@ -44,13 +44,13 @@ <h3 class="ui header" i18n="@@BookDetailsComponent:book description">Beschreibun
(click)="removeBook()">
<i class="remove icon"></i>

<!--i18n: @@BookDetailsComponent:book delete -->Buch löschen<!--/i18n-->
<ng-container i18n="@@BookDetailsComponent:book delete">Buch löschen</ng-container>

</button>
<a class="ui tiny yellow labeled icon button"
[routerLink]="['../../admin', book.isbn]">
<i class="write icon"></i>

<!--i18n: @@BookDetailsComponent:book edit -->Buch bearbeiten<!--/i18n-->
<ng-container i18n="@@BookDetailsComponent:book edit">Buch bearbeiten</ng-container>

</a>
@@ -13,7 +13,7 @@ import { Book } from '../shared/book';
<p i18n="a proud sentence about the project@@HomeComponent:tagline">Das ist der BookMonkey.</p>
<a routerLink="../books" class="ui red button">
<!--i18n: Text of the link to the books screen@@HomeComponent:book list link -->Buchliste ansehen<!--/i18n-->
<ng-container i18n="Text of the link to the books screen@@HomeComponent:book list link">Buchliste ansehen</ng-container>
<i class="right arrow icon"></i>
</a>

0 comments on commit 6e54598

Please sign in to comment.