diff --git a/apps/red-ui/src/app/modules/admin/dialogs/edit-color-dialog/edit-color-dialog.component.ts b/apps/red-ui/src/app/modules/admin/dialogs/edit-color-dialog/edit-color-dialog.component.ts index ae687d0bb..558febb18 100644 --- a/apps/red-ui/src/app/modules/admin/dialogs/edit-color-dialog/edit-color-dialog.component.ts +++ b/apps/red-ui/src/app/modules/admin/dialogs/edit-color-dialog/edit-color-dialog.component.ts @@ -43,8 +43,7 @@ export class EditColorDialogComponent extends BaseDialogComponent { await firstValueFrom(this._defaultColorsService.update(colors, this.data.dossierTemplateId)); this._dialogRef.close(true); this._loadingService.stop(); - const color = this._translateService.instant(defaultColorsTranslations[this.data.colorKey]); - this._toaster.info(_('edit-color-dialog.success'), { params: { color: color } }); + this._toaster.info(_('edit-color-dialog.success')); } catch (e) { this._toaster.error(_('edit-color-dialog.error')); } diff --git a/apps/red-ui/src/assets/i18n/en.json b/apps/red-ui/src/assets/i18n/en.json index 6f245a2c6..f7a222c31 100644 --- a/apps/red-ui/src/assets/i18n/en.json +++ b/apps/red-ui/src/assets/i18n/en.json @@ -105,7 +105,7 @@ }, "success": { "create": "Entity added!", - "edit": "Entity updated!" + "edit": "Entity updated. Please note that other users need to refresh the browser to see your changes." } }, "add-edit-file-attribute": { @@ -1053,7 +1053,7 @@ "color-placeholder": "Color" }, "save": "Save", - "success": "Successfully updated color for {color}." + "success": "Color saved successfully. Please note that the users need to refresh the browser to see the updated color." }, "edit-dossier-dialog": { "actions": {