locale: remove outdated plugin

This commit is contained in:
undefined committed 2022-03-25 09:15:03 +08:00
1 parent dd157a5e3b
commit 9f796e7024
3 files changed
-28

No files matched your search

-10
View File
@@ -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);
});
-12
View File
@@ -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
}
-6
View File
@@ -1,6 +0,0 @@
langs:
type: yaml
desc: Custom Translation
default:
zh:
text: 文本