diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-05 09:13:26 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-05 09:13:26 +0200 |
commit | 25acef90a85c1584880dec96aa402f896af8364a (patch) | |
tree | 5e62e68c2e32a94a289ebd77f0610ed5a085a142 /client/src/app/+admin/users | |
parent | 632f9815c6ab87fce3f3f7399cef9f7679fde908 (diff) | |
download | PeerTube-25acef90a85c1584880dec96aa402f896af8364a.tar.gz PeerTube-25acef90a85c1584880dec96aa402f896af8364a.tar.zst PeerTube-25acef90a85c1584880dec96aa402f896af8364a.zip |
Fix i18n in components
Diffstat (limited to 'client/src/app/+admin/users')
3 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/+admin/users/user-edit/user-create.component.ts b/client/src/app/+admin/users/user-edit/user-create.component.ts index b91ffa115..8478a7692 100644 --- a/client/src/app/+admin/users/user-edit/user-create.component.ts +++ b/client/src/app/+admin/users/user-edit/user-create.component.ts | |||
@@ -72,7 +72,7 @@ export class UserCreateComponent extends UserEdit implements OnInit { | |||
72 | () => { | 72 | () => { |
73 | this.notificationsService.success( | 73 | this.notificationsService.success( |
74 | this.i18n('Success'), | 74 | this.i18n('Success'), |
75 | this.i18n('User {{ username }} created.', { username: userCreate.username }) | 75 | this.i18n('User {{username}} created.', { username: userCreate.username }) |
76 | ) | 76 | ) |
77 | this.router.navigate([ '/admin/users/list' ]) | 77 | this.router.navigate([ '/admin/users/list' ]) |
78 | }, | 78 | }, |
diff --git a/client/src/app/+admin/users/user-edit/user-update.component.ts b/client/src/app/+admin/users/user-edit/user-update.component.ts index dca555706..5689aab2f 100644 --- a/client/src/app/+admin/users/user-edit/user-update.component.ts +++ b/client/src/app/+admin/users/user-edit/user-update.component.ts | |||
@@ -85,7 +85,7 @@ export class UserUpdateComponent extends UserEdit implements OnInit, OnDestroy { | |||
85 | () => { | 85 | () => { |
86 | this.notificationsService.success( | 86 | this.notificationsService.success( |
87 | this.i18n('Success'), | 87 | this.i18n('Success'), |
88 | this.i18n('User {{ username }} updated.', { username: this.username }) | 88 | this.i18n('User {{username}} updated.', { username: this.username }) |
89 | ) | 89 | ) |
90 | this.router.navigate([ '/admin/users/list' ]) | 90 | this.router.navigate([ '/admin/users/list' ]) |
91 | }, | 91 | }, |
diff --git a/client/src/app/+admin/users/user-list/user-list.component.ts b/client/src/app/+admin/users/user-list/user-list.component.ts index b644fcf71..ab25608c1 100644 --- a/client/src/app/+admin/users/user-list/user-list.component.ts +++ b/client/src/app/+admin/users/user-list/user-list.component.ts | |||
@@ -44,7 +44,7 @@ export class UserListComponent extends RestTable implements OnInit { | |||
44 | () => { | 44 | () => { |
45 | this.notificationsService.success( | 45 | this.notificationsService.success( |
46 | this.i18n('Success'), | 46 | this.i18n('Success'), |
47 | this.i18n('User {{ username }} deleted.', { username: user.username }) | 47 | this.i18n('User {{username}} deleted.', { username: user.username }) |
48 | ) | 48 | ) |
49 | this.loadData() | 49 | this.loadData() |
50 | }, | 50 | }, |