mirror of https://github.com/jumpserver/jumpserver
parent
f33cf07859
commit
a15335cac9
|
@ -10,8 +10,8 @@ class BaseTranslateManager:
|
|||
bulk_size = 15
|
||||
SEPARATOR = "<SEP>"
|
||||
LANG_MAPPER = {
|
||||
# 'ja': 'Japanese',
|
||||
'en': 'English',
|
||||
'ja': 'Japanese',
|
||||
# 'en': 'English',
|
||||
}
|
||||
|
||||
def __init__(self, dir_path, oai_trans_instance):
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -47,6 +47,8 @@ class Translate:
|
|||
return
|
||||
|
||||
for dir_name in dir_names:
|
||||
if dir_name != 'lina':
|
||||
continue
|
||||
if dir_name.startswith('_'):
|
||||
continue
|
||||
if hasattr(self, f'{dir_name}_trans'):
|
||||
|
|
Loading…
Reference in New Issue