diff --git a/avBooth/review-ballot-v2-directive/review-ballot-v2-directive.html b/avBooth/review-ballot-v2-directive/review-ballot-v2-directive.html index 9c03e6e7..58ae5b77 100644 --- a/avBooth/review-ballot-v2-directive/review-ballot-v2-directive.html +++ b/avBooth/review-ballot-v2-directive/review-ballot-v2-directive.html @@ -30,9 +30,7 @@

- [html:i18next]({{error.data}}){{error.key}} + ng-bind-html="error.translation"> diff --git a/avBooth/review-ballot-v2-directive/review-ballot-v2-directive.js b/avBooth/review-ballot-v2-directive/review-ballot-v2-directive.js index 3e4a5f42..96118fcb 100644 --- a/avBooth/review-ballot-v2-directive/review-ballot-v2-directive.js +++ b/avBooth/review-ballot-v2-directive/review-ballot-v2-directive.js @@ -172,7 +172,8 @@ angular.module('avBooth') } scope.errors[errorData.question_id].push({ data: errorData, - key: errorKey + key: errorKey, + translation: $i18next.t(errorKey, errorData) }); } });