@dpuse/dpuse-shared 0.3.770 → 0.3.772
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/README.md +1 -1
- package/dist/dpuse-shared-locale.es.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -147,7 +147,7 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
|
|
|
147
147
|
| dist/dpuse-shared-componentModuleConnector.es.js | 3.7 kB · brotli 1.2 kB |
|
|
148
148
|
| dist/dpuse-shared-utilities.es.js | 3.6 kB · brotli 1.1 kB |
|
|
149
149
|
| dist/dpuse-shared-errors.es.js | 3.5 kB · brotli 1.1 kB |
|
|
150
|
-
| dist/dpuse-shared-locale.es.js |
|
|
150
|
+
| dist/dpuse-shared-locale.es.js | 1.0 kB · brotli 393 B |
|
|
151
151
|
| dist/dpuse-shared-component.es.js | 830 B · brotli 359 B |
|
|
152
152
|
| dist/dpuse-shared-componentDataView.es.js | 722 B · brotli 310 B |
|
|
153
153
|
| dist/dpuse-shared-componentModulePresenter.es.js | 411 B · brotli 226 B |
|
|
@@ -15,7 +15,7 @@ function r(e, t) {
|
|
|
15
15
|
return {
|
|
16
16
|
...e,
|
|
17
17
|
label: e.label[t] ?? e.id,
|
|
18
|
-
description: e.description[t],
|
|
18
|
+
description: e.description[t] ?? e.description.en,
|
|
19
19
|
verb: e.verb?.[t] ?? void 0
|
|
20
20
|
};
|
|
21
21
|
}
|
|
@@ -23,7 +23,7 @@ function i(e, t, n = !1) {
|
|
|
23
23
|
let r = e.map((e) => ({
|
|
24
24
|
...e,
|
|
25
25
|
label: e.label[t] ?? e.id,
|
|
26
|
-
description: e.description[t],
|
|
26
|
+
description: e.description[t] ?? e.description.en,
|
|
27
27
|
verb: e.verb?.[t] ?? void 0
|
|
28
28
|
}));
|
|
29
29
|
return n ? r.toSorted((e, t) => e.label.localeCompare(t.label) || e.id.localeCompare(t.id)) : r;
|
|
@@ -32,7 +32,7 @@ function a(e, t) {
|
|
|
32
32
|
return {
|
|
33
33
|
...e,
|
|
34
34
|
label: e.label[t] ?? e.id,
|
|
35
|
-
description: e.description[t]
|
|
35
|
+
description: e.description[t] ?? e.description.en
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
function o(e, t, n = "en") {
|