locale: remove outdated plugin
parent
dd157a5e3b
commit
9f796e7024
@ -1,10 +0,0 @@
|
||||
import yaml from 'js-yaml';
|
||||
import i18n from 'hydrooj/src/lib/i18n';
|
||||
import * as system from 'hydrooj/src/model/system';
|
||||
import * as bus from 'hydrooj/src/service/bus';
|
||||
|
||||
bus.once('app/started', () => {
|
||||
const langs = system.get('easy-locale.langs');
|
||||
const entries = yaml.load(langs);
|
||||
i18n(entries as any);
|
||||
});
|
@ -1,12 +0,0 @@
|
||||
{
|
||||
"name": "@hydrooj/easy-locale",
|
||||
"version": "1.1.0",
|
||||
"main": "package.json",
|
||||
"repository": "https://github.com/hydro-dev/Hydro",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"dependencies": {
|
||||
"js-yaml": "^4.1.0"
|
||||
},
|
||||
"preferUnplugged": true
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
langs:
|
||||
type: yaml
|
||||
desc: Custom Translation
|
||||
default:
|
||||
zh:
|
||||
text: 文本
|
Loading…
Reference in New Issue