@@ -396,6 +396,11 @@ class SakuraTranslator(BaseTranslator):
'description':'Force apply the dictionary regardless of whether the terms appear in the original text \n DO NOT CHECK THIS IF YOU ARE NOT SURE WHAT IT MEANS',
'type':'checkbox',
},
'do enlarge small kana':{
'value':True,
'description':'Enlarge small kana to normal size',
'type':'checkbox',
}
}
_CHAT_SYSTEM_TEMPLATE_009=(
@@ -450,6 +455,10 @@ class SakuraTranslator(BaseTranslator):
defforce_apply_dict(self)->bool:
returnself.params['force apply dict']['value']
@property
defdo_enlarge_small_kana(self)->bool:
returnself.params['do enlarge small kana']['value']
def_setup_translator(self):
self.lang_map['简体中文']='Simplified Chinese'
self.lang_map['日本語']='Japanese'
@@ -612,6 +621,7 @@ class SakuraTranslator(BaseTranslator):