From 23e5a7ca384d8b93bf76a34c3c89e4001d853022 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sun, 14 Sep 2025 20:46:53 +0300 Subject: [PATCH 1/2] Fix prompt cost block showing when switching API type to TC and type is not OpenRouter --- public/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/script.js b/public/script.js index 985009568..3118659d8 100644 --- a/public/script.js +++ b/public/script.js @@ -6752,7 +6752,7 @@ export function changeMainAPI() { $('#ai_module_block_novel').css('display', 'none'); } - $('#prompt_cost_block').toggle(selectedVal === 'textgenerationwebui'); + $('#prompt_cost_block').toggle(selectedVal === 'textgenerationwebui' && textgen_settings.type === textgen_types.OPENROUTER); // Hide common settings for OpenAI console.debug('value?', selectedVal); From 1e05eac7dfcc744086f92d6d0830c09db9be6e82 Mon Sep 17 00:00:00 2001 From: Yokayo <52032299+Yokayo@users.noreply.github.com> Date: Mon, 15 Sep 2025 00:57:33 +0700 Subject: [PATCH 2/2] Update ru-ru locale (#4522) * Work on tl * eslint fix * Update data-i18n attribute for expand view button * Add data-i18n to button --------- Co-authored-by: Yokayo Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com> --- public/index.html | 2 +- public/locales/ru-ru.json | 148 ++++++++++++++---- public/scripts/extensions/regex/debugger.html | 6 +- public/scripts/extensions/regex/index.js | 14 +- .../extensions/stable-diffusion/dropdown.html | 2 +- .../extensions/stable-diffusion/index.js | 2 +- .../extensions/stable-diffusion/settings.html | 12 +- public/scripts/extensions/tts/settings.html | 4 +- public/scripts/extensions/tts/system.js | 9 +- 9 files changed, 148 insertions(+), 51 deletions(-) diff --git a/public/index.html b/public/index.html index 631b844b4..71830870d 100644 --- a/public/index.html +++ b/public/index.html @@ -5340,7 +5340,7 @@ Auto-select -