@energy8platform/shell 0.3.0 → 0.4.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 +26 -3
- package/dist/html.cjs.js.map +1 -1
- package/dist/html.d.ts +2 -2
- package/dist/html.esm.js +26 -3
- package/dist/html.esm.js.map +1 -1
- package/dist/index.cjs.js +26 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +26 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/pixi.cjs.js +26 -3
- package/dist/pixi.cjs.js.map +1 -1
- package/dist/pixi.d.ts +2 -2
- package/dist/pixi.esm.js +26 -3
- package/dist/pixi.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/core/locales.ts +26 -2
- package/src/core/version.ts +1 -1
package/dist/html.cjs.js
CHANGED
|
@@ -1167,8 +1167,31 @@ const DISCLAIMER_LOCALES = {
|
|
|
1167
1167
|
[D.L5]: '奖金根据从 Remote Game Server 收到的金额结算,而非依据网页浏览器内的事件。',
|
|
1168
1168
|
},
|
|
1169
1169
|
};
|
|
1170
|
-
|
|
1171
|
-
|
|
1170
|
+
// ── Replay summary labels ──────────────────────────────────────────────────────────────────────
|
|
1171
|
+
// The replay modal (html + pixi) renders these row labels via host.t(); grouped here (merged into
|
|
1172
|
+
// LOCALES below) so the whole replay screen localizes. Terminology matches the base Bet/Win keys.
|
|
1173
|
+
const REPLAY_LOCALES = {
|
|
1174
|
+
da: { Mode: 'Tilstand', 'Base bet': 'Grundindsats', 'Cost multiplier': 'Omkostningsmultiplikator', 'Total cost': 'Samlede omkostninger', 'Win multiplier': 'Gevinstmultiplikator' },
|
|
1175
|
+
de: { Mode: 'Modus', 'Base bet': 'Grundeinsatz', 'Cost multiplier': 'Kostenmultiplikator', 'Total cost': 'Gesamtkosten', 'Win multiplier': 'Gewinnmultiplikator' },
|
|
1176
|
+
es: { Mode: 'Modo', 'Base bet': 'Apuesta base', 'Cost multiplier': 'Multiplicador de coste', 'Total cost': 'Coste total', 'Win multiplier': 'Multiplicador de premio' },
|
|
1177
|
+
fi: { Mode: 'Tila', 'Base bet': 'Peruspanos', 'Cost multiplier': 'Kustannuskerroin', 'Total cost': 'Kokonaiskustannus', 'Win multiplier': 'Voittokerroin' },
|
|
1178
|
+
fr: { Mode: 'Mode', 'Base bet': 'Mise de base', 'Cost multiplier': 'Multiplicateur de coût', 'Total cost': 'Coût total', 'Win multiplier': 'Multiplicateur de gain' },
|
|
1179
|
+
hi: { Mode: 'मोड', 'Base bet': 'आधार दांव', 'Cost multiplier': 'लागत गुणक', 'Total cost': 'कुल लागत', 'Win multiplier': 'जीत गुणक' },
|
|
1180
|
+
id: { Mode: 'Mode', 'Base bet': 'Taruhan dasar', 'Cost multiplier': 'Pengganda biaya', 'Total cost': 'Total biaya', 'Win multiplier': 'Pengganda kemenangan' },
|
|
1181
|
+
ja: { Mode: 'モード', 'Base bet': '基本ベット', 'Cost multiplier': 'コスト倍率', 'Total cost': '合計コスト', 'Win multiplier': '当選倍率' },
|
|
1182
|
+
ko: { Mode: '모드', 'Base bet': '기본 베팅', 'Cost multiplier': '비용 배수', 'Total cost': '총 비용', 'Win multiplier': '당첨 배수' },
|
|
1183
|
+
pl: { Mode: 'Tryb', 'Base bet': 'Zakład podstawowy', 'Cost multiplier': 'Mnożnik kosztu', 'Total cost': 'Całkowity koszt', 'Win multiplier': 'Mnożnik wygranej' },
|
|
1184
|
+
pt: { Mode: 'Modo', 'Base bet': 'Aposta base', 'Cost multiplier': 'Multiplicador de custo', 'Total cost': 'Custo total', 'Win multiplier': 'Multiplicador de ganho' },
|
|
1185
|
+
ru: { Mode: 'Режим', 'Base bet': 'Базовая ставка', 'Cost multiplier': 'Множитель стоимости', 'Total cost': 'Общая стоимость', 'Win multiplier': 'Множитель выигрыша' },
|
|
1186
|
+
tr: { Mode: 'Mod', 'Base bet': 'Temel bahis', 'Cost multiplier': 'Maliyet çarpanı', 'Total cost': 'Toplam maliyet', 'Win multiplier': 'Kazanç çarpanı' },
|
|
1187
|
+
vi: { Mode: 'Chế độ', 'Base bet': 'Cược cơ bản', 'Cost multiplier': 'Hệ số chi phí', 'Total cost': 'Tổng chi phí', 'Win multiplier': 'Hệ số thắng' },
|
|
1188
|
+
zh: { Mode: '模式', 'Base bet': '基础投注', 'Cost multiplier': '成本倍数', 'Total cost': '总成本', 'Win multiplier': '奖金倍数' },
|
|
1189
|
+
};
|
|
1190
|
+
/** Merge the base UI catalog with the separately-authored disclaimer + replay lines, per language. */
|
|
1191
|
+
const LOCALES = Object.fromEntries(Object.keys(BASE_LOCALES).map((l) => [
|
|
1192
|
+
l,
|
|
1193
|
+
{ ...BASE_LOCALES[l], ...DISCLAIMER_LOCALES[l], ...REPLAY_LOCALES[l] },
|
|
1194
|
+
]));
|
|
1172
1195
|
|
|
1173
1196
|
// Social-casino language. English is the source (and, for now, the only) language; `socialize`
|
|
1174
1197
|
// rewrites the restricted gambling vocabulary into social-safe phrasing while preserving case.
|
|
@@ -1415,7 +1438,7 @@ class KeyboardController {
|
|
|
1415
1438
|
|
|
1416
1439
|
// AUTO-GENERATED by scripts/gen-version.mjs — do not edit. Mirrors package.json "version".
|
|
1417
1440
|
/** The @energy8platform/shell package version, stamped into the game-info footer. */
|
|
1418
|
-
const PACKAGE_VERSION = '0.
|
|
1441
|
+
const PACKAGE_VERSION = '0.4.0';
|
|
1419
1442
|
|
|
1420
1443
|
/** Apply defaults to the raw config (the mount target lives on the renderer, not here). */
|
|
1421
1444
|
function resolveConfig(config) {
|