@goodandready/dsh-model-sync 0.4.7 → 0.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.js +1 -6
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -1270,12 +1270,7 @@ window.__ModuleLoader__.load({
|
|
|
1270
1270
|
}
|
|
1271
1271
|
|
|
1272
1272
|
function apply(ctx) {
|
|
1273
|
-
ctx.effect(() => {
|
|
1274
|
-
try { ctx.locale?.register?.(NS, { en, zh }) } catch (err) {
|
|
1275
|
-
try { console.debug('[dsh-model-sync] locale register best-effort:', err) } catch { /* console unavailable */ }
|
|
1276
|
-
}
|
|
1277
|
-
return () => {}
|
|
1278
|
-
}, 'dsh-model-sync: dictionaries')
|
|
1273
|
+
ctx.effect(() => ctx.locale.register(NS, { en, zh }), 'dsh-model-sync: dictionaries')
|
|
1279
1274
|
try {
|
|
1280
1275
|
// Plugin-list seat (plugins.item) first: it is the seat the current core
|
|
1281
1276
|
// (0.1.6-alpha.2) renders as the plugin's own page with its configuration. The
|