aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaxijiu <127850313+daxijiu@users.noreply.github.com>2023-08-04 08:03:49 +0000
committerGitHub <noreply@github.com>2023-08-04 08:03:49 +0000
commit82b415c9c141d8616e1e9ccb55e47a1884d652ba (patch)
treec00243044df498382839368140651a04aacec9bb
parent68f336bd994bed5442ad95bad6b6ad5564a5409a (diff)
downloadstable-diffusion-webui-gfx803-82b415c9c141d8616e1e9ccb55e47a1884d652ba.tar.gz
stable-diffusion-webui-gfx803-82b415c9c141d8616e1e9ccb55e47a1884d652ba.tar.bz2
stable-diffusion-webui-gfx803-82b415c9c141d8616e1e9ccb55e47a1884d652ba.zip
fix some content are ignore by localization
in setting "Face restoration model" and "Select which Real-ESRGAN models" and in extras "upscaler 1 & 2" are ignore by localization
-rw-r--r--javascript/localization.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/javascript/localization.js b/javascript/localization.js
index eb22b8a7..0c9032f9 100644
--- a/javascript/localization.js
+++ b/javascript/localization.js
@@ -11,11 +11,11 @@ var ignore_ids_for_localization = {
train_hypernetwork: 'OPTION',
txt2img_styles: 'OPTION',
img2img_styles: 'OPTION',
- setting_random_artist_categories: 'SPAN',
- setting_face_restoration_model: 'SPAN',
- setting_realesrgan_enabled_models: 'SPAN',
- extras_upscaler_1: 'SPAN',
- extras_upscaler_2: 'SPAN',
+ setting_random_artist_categories: 'OPTION',
+ setting_face_restoration_model: 'OPTION',
+ setting_realesrgan_enabled_models: 'OPTION',
+ extras_upscaler_1: 'OPTION',
+ extras_upscaler_2: 'OPTION',
};
var re_num = /^[.\d]+$/;