mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: i18n: add interface flag (#909)
This commit is contained in:
10 files changed
+17
-6
No files matched your search
@@ -11,7 +11,7 @@ import child from 'child_process';
|
||||
import './utils';
|
||||
import cac from 'cac';
|
||||
import './ui';
|
||||
import './lib/i18n';
|
||||
import * as I18n from './lib/i18n';
|
||||
|
||||
import { Logger } from './logger';
|
||||
import { Context, Service, ScopeStatus } from './context';
|
||||
@@ -136,6 +136,7 @@ export class Loader extends Service {
|
||||
}
|
||||
}
|
||||
|
||||
app.plugin(I18n);
|
||||
app.plugin(Loader);
|
||||
|
||||
function preload() {
|
||||
|
||||
Reference in new issue
Block a user