Rename Textures panel to Images in image editor

This commit is contained in:
JannisX11 2023-11-23 00:22:54 +01:00
parent 7965a500bf
commit 5fa191200f
2 changed files with 5 additions and 2 deletions

View File

@ -132,11 +132,13 @@ new ModelFormat('image', {
onActivation() {
Interface.preview.classList.add('image_mode');
UVEditor.vue.hidden = false;
Interface.preview.append(document.getElementById('UVEditor'))
Interface.preview.append(document.getElementById('UVEditor'));
Panels.textures.handle.firstChild.textContent = tl('panel.textures.images');
},
onDeactivation() {
Interface.preview.classList.remove('image_mode');
Panels.uv.node.append(document.getElementById('UVEditor'))
Panels.uv.node.append(document.getElementById('UVEditor'));
Panels.textures.handle.firstChild.textContent = tl('panel.textures');
},
codec
})

View File

@ -2055,6 +2055,7 @@
"panel.uv": "UV",
"panel.display": "Display",
"panel.textures": "Textures",
"panel.textures.images": "Images",
"panel.layers": "Layers",
"panel.color": "Color",
"panel.color.picker": "Picker",