ui: enhance language selection

This commit is contained in:
undefined committed 2021-05-07 22:22:24 +08:00
1 parent 377ef55d49
commit 80ac44d98e
17 files changed
+201 -70

No files matched your search

+1
View File
@@ -24,6 +24,7 @@ export function parseLang(config: string): Record<string, LangConfig> {
const baseCfg = file[base];
if (baseCfg) {
for (const bkey in baseCfg) {
if (bkey === 'sub') continue;
if (!(bkey in entry)) entry[bkey] = baseCfg[bkey];
}
if (baseCfg.sub) baseCfg.sub.push(entry);
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/utils",
"version": "1.0.14",
"version": "1.0.15",
"description": "hydrooj utils",
"main": "package.json",
"repository": "https://github.com/hydro-dev/Hydro.git",