From ad092ca11d37cf293ec452f6de0e2446b3a27895 Mon Sep 17 00:00:00 2001 From: TheDiaval Date: Tue, 6 Aug 2019 09:54:15 +0300 Subject: [PATCH] fix: translation keys --- templates/app/angular/src/app/app-routing.module.ts | 2 +- templates/app/angular/src/app/home/home.component.html | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/templates/app/angular/src/app/app-routing.module.ts b/templates/app/angular/src/app/app-routing.module.ts index 9890f33136..55a082d813 100644 --- a/templates/app/angular/src/app/app-routing.module.ts +++ b/templates/app/angular/src/app/app-routing.module.ts @@ -11,7 +11,7 @@ const routes: Routes = [ loadChildren: () => import('./home/home.module').then(m => m.HomeModule), data: { routes: { - name: 'Home', + name: '::Menu:Home', } as ABP.Route, }, }, diff --git a/templates/app/angular/src/app/home/home.component.html b/templates/app/angular/src/app/home/home.component.html index ca2ebda8c5..5f16712b31 100644 --- a/templates/app/angular/src/app/home/home.component.html +++ b/templates/app/angular/src/app/home/home.component.html @@ -1,9 +1,8 @@
-
Welcome
+
{{ '::Welcome' | abpLocalization }}

- Welcome to the application. This is a startup project based on the ABP framework. For more information, visit - abp.io. + {{ '::LongWelcomeMessage' | abpLocalization }}