diff --git a/src/style_manager/config/config.js b/src/style_manager/config/config.js index eabd6637e..90977d42d 100644 --- a/src/style_manager/config/config.js +++ b/src/style_manager/config/config.js @@ -10,6 +10,9 @@ export default { // Text to show in case no element selected textNoElement: 'Select an element before using Style Manager', + // Text for layers + textLayer: 'Layer', + // Hide the property in case it's not stylable for the // selected component (each component has 'stylable' property) hideNotStylable: true, diff --git a/src/style_manager/view/LayerView.js b/src/style_manager/view/LayerView.js index 9f0ca61f0..1f342ee82 100644 --- a/src/style_manager/view/LayerView.js +++ b/src/style_manager/view/LayerView.js @@ -10,8 +10,8 @@ export default Backbone.View.extend({ }, template(model) { - const { pfx, ppfx } = this; - const label = `Layer ${model.get('index')}`; + const { pfx, ppfx, config } = this; + const label = `${config.textLayer} ${model.get('index')}`; return `