diff --git a/Resources/public/js/views/fields/ez-richtext-editview.js b/Resources/public/js/views/fields/ez-richtext-editview.js index a7fbc2448..3c554c7c3 100644 --- a/Resources/public/js/views/fields/ez-richtext-editview.js +++ b/Resources/public/js/views/fields/ez-richtext-editview.js @@ -227,7 +227,7 @@ YUI.add('ez-richtext-editview', function (Y) { return; } if ( this._isEmpty() ) { - this.set('errorStatus', "This field is required"); + this.set('errorStatus', Y.eZ.trans('this.field.is.required', {}, 'fieldedit')); } else { this.set('errorStatus', false); } diff --git a/Tests/js/views/fields/ez-richtext-editview.html b/Tests/js/views/fields/ez-richtext-editview.html index bd36f7f57..5c9711955 100644 --- a/Tests/js/views/fields/ez-richtext-editview.html +++ b/Tests/js/views/fields/ez-richtext-editview.html @@ -22,6 +22,7 @@ +