mirror of https://github.com/jumpserver/jumpserver
parent
f33cf07859
commit
a15335cac9
|
@ -10,8 +10,8 @@ class BaseTranslateManager:
|
||||||
bulk_size = 15
|
bulk_size = 15
|
||||||
SEPARATOR = "<SEP>"
|
SEPARATOR = "<SEP>"
|
||||||
LANG_MAPPER = {
|
LANG_MAPPER = {
|
||||||
# 'ja': 'Japanese',
|
'ja': 'Japanese',
|
||||||
'en': 'English',
|
# 'en': 'English',
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, dir_path, oai_trans_instance):
|
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
|
return
|
||||||
|
|
||||||
for dir_name in dir_names:
|
for dir_name in dir_names:
|
||||||
|
if dir_name != 'lina':
|
||||||
|
continue
|
||||||
if dir_name.startswith('_'):
|
if dir_name.startswith('_'):
|
||||||
continue
|
continue
|
||||||
if hasattr(self, f'{dir_name}_trans'):
|
if hasattr(self, f'{dir_name}_trans'):
|
||||||
|
|
Loading…
Reference in New Issue