From 0afb0bff824aa32ad3b09ba76ff6e2c0f7981c31 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Wed, 13 Sep 2023 17:16:28 +0200 Subject: [PATCH] Include layer name in translation --- umap/static/umap/js/umap.datalayer.permissions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/static/umap/js/umap.datalayer.permissions.js b/umap/static/umap/js/umap.datalayer.permissions.js index 2ee16bab..c9d3f42d 100644 --- a/umap/static/umap/js/umap.datalayer.permissions.js +++ b/umap/static/umap/js/umap.datalayer.permissions.js @@ -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, }, ],