diff --git a/ui/nuxeo-user-group-management.js b/ui/nuxeo-user-group-management.js index da7e10f03..1776919f6 100644 --- a/ui/nuxeo-user-group-management.js +++ b/ui/nuxeo-user-group-management.js @@ -302,10 +302,12 @@ import './nuxeo-button-styles.js'; switch (event.type) { case 'nuxeo-user-created': case 'nuxeo-user-invited': - msg = `User ${event.detail.id} created`; + msg = `${this.i18n('userGroupManagement.new.user')} ${event.detail.id} ${this.i18n( + 'label.ui.state.created', + )}`; break; case 'nuxeo-group-created': - msg = `Group ${event.detail.groupname} created`; + msg = `${this.i18n('label.group')} ${event.detail.groupname} ${this.i18n('label.ui.state.created')}`; break; default: // do nothing