mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
fix #14591 - using translated content to do categories mapping
This commit is contained in:
parent
0a271938d8
commit
f537e5a519
1 changed files with 2 additions and 2 deletions
|
|
@ -55,8 +55,8 @@ onOptionsChanged(function() {
|
|||
});
|
||||
|
||||
opts._categories.forEach(function(x) {
|
||||
var section = x[0];
|
||||
var category = x[1];
|
||||
var section = localization[x[0]] ?? x[0];
|
||||
var category = localization[x[1]] ?? x[1];
|
||||
|
||||
var span = document.createElement('SPAN');
|
||||
span.textContent = category;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue