From 3816172b2ad59736e120ad75861b5ef464af24df Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Mon, 21 Sep 2020 18:52:54 +0300 Subject: [PATCH] Refactoring OAuth2 --- .../admin/oauth2-settings.component.html | 10 +-- .../pages/admin/oauth2-settings.component.ts | 20 +++-- .../assets/locale/locale.constant-en_US.json | 79 ++++++++++--------- 3 files changed, 57 insertions(+), 52 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/admin/oauth2-settings.component.html b/ui-ngx/src/app/modules/home/pages/admin/oauth2-settings.component.html index 4e45e02945..9a0d9a1858 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/oauth2-settings.component.html +++ b/ui-ngx/src/app/modules/home/pages/admin/oauth2-settings.component.html @@ -37,7 +37,7 @@ - {{ domain.get('domainName').value ? domain.get('domainName').value : ("admin.new-domain" | translate) }} + {{ domain.get('domainName').value ? domain.get('domainName').value : ("admin.oauth2.new-domain" | translate) }} @@ -396,7 +396,7 @@ [disabled]="(isLoading$ | async)" (click)="addDomain()" type="button"> - {{'admin.add-domain' | translate}} + {{'admin.oauth2.add-domain' | translate}}