Revert t function to returning the plain string by default

Add `t.html` function for getting the string with the `lang` attribute
This commit is contained in:
Quincy Morgan
2020-09-22 12:03:29 -04:00
parent a3549f9a76
commit 5435082d9c
132 changed files with 597 additions and 580 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ export function validationFormatting() {
.enter()
.append('div')
.attr('class', 'issue-reference')
.html(t('issues.invalid_format.email.reference'));
.html(t.html('issues.invalid_format.email.reference'));
}
/*
function showReferenceWebsite(selection) {
@@ -37,7 +37,7 @@ export function validationFormatting() {
.enter()
.append('div')
.attr('class', 'issue-reference')
.html(t('issues.invalid_format.website.reference'));
.html(t.html('issues.invalid_format.website.reference'));
}
if (entity.tags.website) {