mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 00:54:03 +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:
@@ -61,7 +61,7 @@ export function uiEntityEditor(context) {
|
||||
.merge(headerEnter);
|
||||
|
||||
header.selectAll('h3')
|
||||
.html(_entityIDs.length === 1 ? t('inspector.edit') : t('inspector.edit_features'));
|
||||
.html(_entityIDs.length === 1 ? t.html('inspector.edit') : t.html('inspector.edit_features'));
|
||||
|
||||
header.selectAll('.preset-reset')
|
||||
.on('click', function() {
|
||||
|
||||
Reference in New Issue
Block a user