@energy8platform/shell 0.9.0 → 0.10.0
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/dist/html.cjs.js +15 -1
- package/dist/html.cjs.js.map +1 -1
- package/dist/html.d.ts +17 -3
- package/dist/html.esm.js +15 -2
- package/dist/html.esm.js.map +1 -1
- package/dist/index.cjs.js +15 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +17 -3
- package/dist/index.esm.js +15 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/pixi.cjs.js +15 -1
- package/dist/pixi.cjs.js.map +1 -1
- package/dist/pixi.d.ts +17 -3
- package/dist/pixi.esm.js +15 -2
- package/dist/pixi.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/core/index.ts +1 -0
- package/src/core/locales.ts +14 -0
- package/src/core/version.ts +1 -1
package/package.json
CHANGED
package/src/core/index.ts
CHANGED
|
@@ -35,5 +35,6 @@ export type { PopoverPlacement, Rect as PopoverRect } from './popover';
|
|
|
35
35
|
export { resolveTheme, SCHEMES, DEFAULT_ACCENT } from './theme';
|
|
36
36
|
export type { ShellTokens } from './theme';
|
|
37
37
|
export { createI18n, socialize, normalizeLang } from './i18n';
|
|
38
|
+
export { DISCLAIMER_LINES } from './locales';
|
|
38
39
|
export type { Lang, I18n, I18nOptions } from './i18n';
|
|
39
40
|
export { PACKAGE_VERSION } from './version';
|
package/src/core/locales.ts
CHANGED
|
@@ -876,6 +876,20 @@ const D = {
|
|
|
876
876
|
L5: 'Winnings are settled according to the amount received from the Remote Game Server and not from events within the web browser.',
|
|
877
877
|
} as const;
|
|
878
878
|
|
|
879
|
+
/**
|
|
880
|
+
* The disclaimer body every launch shows, in source English — and the SAME strings that key the
|
|
881
|
+
* translations below. One constant for both on purpose: a host that kept its own copy would drift
|
|
882
|
+
* from these keys by one character and the lookup would miss in silence, leaving a player on any
|
|
883
|
+
* language with English legal text. Certification asks for the opposite ("if multiple languages are
|
|
884
|
+
* supported, the disclaimer is translated and displayed in each language").
|
|
885
|
+
*
|
|
886
|
+
* Brand-free by construction. Stake's own template ends with a seventh line — "TM and © {year}
|
|
887
|
+
* Stake Engine." — and that one belongs to a Stake launch alone: it arrives with the Stake bridge's
|
|
888
|
+
* `INIT.config.disclaimerLines`, which outrank this default, and renders verbatim (see the host's
|
|
889
|
+
* `isBrandLine`). Every other platform gets the same mandated wording without someone else's mark.
|
|
890
|
+
*/
|
|
891
|
+
export const DISCLAIMER_LINES: readonly string[] = [D.L1, D.L2, D.L3, D.L4, D.L5];
|
|
892
|
+
|
|
879
893
|
const DISCLAIMER_LOCALES: Partial<Record<Lang, Record<string, string>>> = {
|
|
880
894
|
da: {
|
|
881
895
|
[D.L1]: 'Fejlfunktion annullerer alle gevinster og spil.',
|
package/src/core/version.ts
CHANGED