update po, common

This commit is contained in:
ivan deng
2021-09-06 00:16:36 +08:00
parent 5b383e1dc7
commit 6d63741683
8 changed files with 95 additions and 11 deletions

View File

@@ -22,7 +22,7 @@ def app_relaxng(view_type):
""" Return a validator for the given view type, or None. """
if view_type not in _relaxng_cache:
# tree, search 特殊
if view_type in ['tree', 'search']:
if view_type in ['tree', 'search', 'pivot']:
_file = get_resource_path('app_common', 'rng', '%s_view.rng' % view_type)
else:
_file = get_resource_path('base', 'rng', '%s_view.rng' % view_type)