rick commited on
Commit
49089be
·
unverified ·
1 Parent(s): 47ac2c1

update ui lang support...

Browse files
Files changed (1) hide show
  1. scripts/ui_lang_updater.py +1 -1
scripts/ui_lang_updater.py CHANGED
@@ -128,7 +128,7 @@ def generate_ui_lang_support(
128
  for key, text_ui in traductions_ui_dict[base_ui_lang].items():
129
  it_cnt += 1
130
  print(f" \033[93m[{it_cnt}/{len(traductions_ui_dict[base_ui_lang].keys())}]\033[0m \033[92mTranslating UI text value of key \033[0m\033[96m'{key}'...\033[0m")
131
- if (f"{key}" not in traductions_ui_dict[to_lang].keys() ) or (skip_translated):
132
  operation_prompt = f"Translate(\'{base_ui_lang}\' to \'{to_lang}\')"
133
  traduction_text_ui = remove_response_separator(
134
  create_chat_completion(
 
128
  for key, text_ui in traductions_ui_dict[base_ui_lang].items():
129
  it_cnt += 1
130
  print(f" \033[93m[{it_cnt}/{len(traductions_ui_dict[base_ui_lang].keys())}]\033[0m \033[92mTranslating UI text value of key \033[0m\033[96m'{key}'...\033[0m")
131
+ if (f"{key}" not in traductions_ui_dict[to_lang].keys() ) or (not skip_translated):
132
  operation_prompt = f"Translate(\'{base_ui_lang}\' to \'{to_lang}\')"
133
  traduction_text_ui = remove_response_separator(
134
  create_chat_completion(