mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 16:19:48 +02:00
Include lang attribute in field labels
This commit is contained in:
@@ -52,16 +52,16 @@ export function uiFormFields(context) {
|
||||
|
||||
var titles = [];
|
||||
var moreFields = notShown.map(function(field) {
|
||||
var label = field.label();
|
||||
titles.push(label);
|
||||
var title = field.title();
|
||||
titles.push(title);
|
||||
|
||||
var terms = field.terms();
|
||||
if (field.key) terms.push(field.key);
|
||||
if (field.keys) terms = terms.concat(field.keys);
|
||||
|
||||
return {
|
||||
title: label,
|
||||
value: label,
|
||||
title: title,
|
||||
value: title,
|
||||
field: field,
|
||||
terms: terms
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user