mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 06:46:38 +00:00
fix: reference of localization file
This commit is contained in:
parent
df3f239959
commit
ee3552e5a8
@ -12,8 +12,8 @@ import { BaseError } from '@nocobase/database';
|
|||||||
import { Plugin } from '@nocobase/server';
|
import { Plugin } from '@nocobase/server';
|
||||||
import lodash from 'lodash';
|
import lodash from 'lodash';
|
||||||
import { ErrorHandler } from './error-handler';
|
import { ErrorHandler } from './error-handler';
|
||||||
import enUS from './locale/en_US';
|
import enUS from './locale/en-US.json';
|
||||||
import zhCN from './locale/zh_CN';
|
import zhCN from './locale/zh-CN.json';
|
||||||
|
|
||||||
export class PluginErrorHandlerServer extends Plugin {
|
export class PluginErrorHandlerServer extends Plugin {
|
||||||
errorHandler: ErrorHandler = new ErrorHandler();
|
errorHandler: ErrorHandler = new ErrorHandler();
|
||||||
|
Loading…
Reference in New Issue
Block a user