Include layer name in translation

This commit is contained in:
Yohan Boniface 2023-09-13 17:16:28 +02:00
parent 36befefbc6
commit 0afb0bff82

View file

@ -33,7 +33,7 @@ L.U.DataLayerPermissions = L.Class.extend({
'options.edit_status',
{
handler: 'IntSelect',
label: `${L._('Who can edit')} "${this.datalayer.getName()}"`,
label: L._('Who can edit "{layer}"', { layer: this.datalayer.getName() }),
selectOptions: this.datalayer.map.options.edit_statuses,
},
],