feat: adds language switch

This commit is contained in:
Markus Huggler
2020-11-10 21:50:17 +01:00
parent ed22dcf5a4
commit 3900fe60f4
3 changed files with 9 additions and 62 deletions

1
.gitignore vendored
View File

@@ -44,3 +44,4 @@ testem.log
# System Files
.DS_Store
Thumbs.db
scully.log

View File

@@ -1,61 +0,0 @@
----------------------------------
Using stored unhandled routes!.
To discover new routes in the angular app use "npm run scully -- --scanRoutes"
----------------------------------
----------------------------------
Using stored unhandled routes!.
To discover new routes in the angular app use "npm run scully -- --scanRoutes"
----------------------------------
----------------------------------
Using stored unhandled routes!.
To discover new routes in the angular app use "npm run scully -- --scanRoutes"
----------------------------------
----------------------------------
Using stored unhandled routes!.
To discover new routes in the angular app use "npm run scully -- --scanRoutes"
----------------------------------
----------------------------------
Using stored unhandled routes!.
To discover new routes in the angular app use "npm run scully -- --scanRoutes"
----------------------------------
----------------------------------
Using stored unhandled routes!.
To discover new routes in the angular app use "npm run scully -- --scanRoutes"
----------------------------------
----------------------------------
Using stored unhandled routes!.
To discover new routes in the angular app use "npm run scully -- --scanRoutes"
----------------------------------
----------------------------------
Using stored unhandled routes!.
To discover new routes in the angular app use "npm run scully -- --scanRoutes"
----------------------------------
----------------------------------
Using stored unhandled routes!.
To discover new routes in the angular app use "npm run scully -- --scanRoutes"
----------------------------------
Puppeteer error while rendering "/home"
TimeoutError: Navigation timeout of 30000 ms exceeded
we will retry rendering this page up to 3 times.
Puppeteer error while rendering "/hello"
TimeoutError: Navigation timeout of 30000 ms exceeded
we will retry rendering this page up to 3 times.
----------------------------------
Using stored unhandled routes!.
To discover new routes in the angular app use "npm run scully -- --scanRoutes"
----------------------------------
----------------------------------
Using stored unhandled routes!.
To discover new routes in the angular app use "npm run scully -- --scanRoutes"
----------------------------------

View File

@@ -1,2 +1,9 @@
<p>
<a routerLink="/home" i18n>Home</a> | <a routerLink="/hello" i18n>Hallo Welt</a>
</p>
<p>
<a href="/de">Deutsch</a> | <a href="/en">English</a>
</p>
<router-outlet></router-outlet>