mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 13:38:26 +02:00
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:
@@ -27,7 +27,7 @@ export function uiCommitWarnings(context) {
|
||||
|
||||
containerEnter
|
||||
.append('h3')
|
||||
.html(severity === 'warning' ? t('commit.warnings') : t('commit.errors'));
|
||||
.html(severity === 'warning' ? t.html('commit.warnings') : t.html('commit.errors'));
|
||||
|
||||
containerEnter
|
||||
.append('ul')
|
||||
|
||||
Reference in New Issue
Block a user