Skip to content

Commit

Permalink
🐞 Warning characters rendered incorrectly in review screen (#438)
Browse files Browse the repository at this point in the history
Parent issue: sequentech/meta#809
  • Loading branch information
Findeton committed Apr 26, 2024
1 parent 39ed748 commit 26d2b0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ <h1 aria-level="2" class="text-brand-success question-title" id="question-{{ que
<div
class="warn-text"
role="alert"
data-i18n="{{error.data}}"
ng-i18next>
[html:i18next]({{error.data}}){{error.key}}
ng-bind-html="error.translation">
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ angular.module('avBooth')
}
scope.errors[errorData.question_id].push({
data: errorData,
key: errorKey
key: errorKey,
translation: $i18next.t(errorKey, errorData)
});
}
});
Expand Down

0 comments on commit 26d2b0f

Please sign in to comment.