@everymatrix/lottery-program-wof 1.29.0 → 1.29.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/lottery-program-wof",
3
- "version": "1.29.0",
3
+ "version": "1.29.4",
4
4
  "main": "dist/lottery-program-wof.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -39,5 +39,5 @@
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "97cea3025cb353ba5ec695d9a2ac6fe4825d7fba"
42
+ "gitHead": "70873f2feed3be9c071d9ad09343a833b236b4fc"
43
43
  }
package/src/i18n.ts CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  _
6
6
  } from 'svelte-i18n';
7
7
 
8
- import { translations } from './translations'
8
+ import { TRANSLATIONS } from './translations';
9
9
 
10
10
  function setupI18n({ withLocale: _locale, translations }) {
11
11
  locale.subscribe((data) => {
@@ -30,8 +30,8 @@ const setLocaleWhenInit = () => {
30
30
 
31
31
  setupI18n({ withLocale: 'en', translations: {}});
32
32
 
33
- Object.keys(translations).forEach((item) => {
34
- addNewMessages(item, translations[item]);
33
+ Object.keys(TRANSLATIONS).forEach((item) => {
34
+ addNewMessages(item, TRANSLATIONS[item]);
35
35
  });
36
36
  }
37
37
 
@@ -1,56 +1,44 @@
1
- export const translations = {
2
- en: {
3
- wof: {
4
- NoContent: `You don't have any lottery programs available now.`,
5
- NoNext: `You don't have any spins available. Please check <a href="javascript:void(0)">Terms and Conditions</a>`,
6
- NoHistories: `No histories`,
7
- Program: `Program`,
8
- History: `History`,
9
- ActiveTickets: `Active Tickets`,
10
- ImplicitTickets: `Implicit Tickets`,
11
- RemainingTimes: `Remaining Times`,
12
- Retry: 'Network is a bit busy now, please click OK to re-spin',
13
- ShowNext: `The Wheel will be available on<br /> <strong>{startTime}</strong> <br />Please wait till it is open.`,
14
- DrawFailed: 'The prize assignment may be failed, please contact customer support for more details',
15
- Timeout: 'Network is a bit busy now, please try again later.',
16
- ErrorNetwork: 'You are offline, please check your network settings',
17
- ErrorJSON: 'Unexpected Data Response, please contact customer support',
18
- Congratulation: `Congratulations! You won a {prize}!`,
19
- OK: `OK`,
20
- Rewards: `Rewards`,
21
- Status: `Status`,
22
- Time: `Time`,
23
- Loss: `OOPs! You are close to a prize!`,
1
+ export const TRANSLATIONS = {
2
+ "en": {
3
+ "wof": {
4
+ "NoContent": "You don't have any lottery programs available now.",
5
+ "NoNext": "You don't have any spins available. Please check <a href=\"javascript:void(0)\">Terms and Conditions</a>",
6
+ "NoHistories": "No histories",
7
+ "Program": "Program",
8
+ "History": "History",
9
+ "ActiveTickets": "Active Tickets",
10
+ "ImplicitTickets": "Implicit Tickets",
11
+ "RemainingTimes": "Remaining Times",
12
+ "Retry": "Network is a bit busy now, please click OK to re-spin",
13
+ "ShowNext": "The Wheel will be available on<br /> <strong>{startTime}</strong> <br />Please wait till it is open.",
14
+ "DrawFailed": "The prize assignment may be failed, please contact customer support for more details",
15
+ "Timeout": "Network is a bit busy now, please try again later.",
16
+ "ErrorNetwork": "You are offline, please check your network settings",
17
+ "ErrorJSON": "Unexpected Data Response, please contact customer support",
18
+ "Congratulation": "Congratulations! You won a {prize}!",
19
+ "OK": "OK",
20
+ "Rewards": "Rewards",
21
+ "Status": "Status",
22
+ "Time": "Time",
23
+ "Loss": "OOPs! You are close to a prize!"
24
24
  }
25
25
  },
26
- zh: {
27
- wof: {
28
-
29
- }
26
+ "zh": {
27
+ "wof": {}
30
28
  },
31
- fr: {
32
- wof: {
33
-
34
- }
29
+ "fr": {
30
+ "wof": {}
35
31
  },
36
- ro: {
37
- wof: {
38
-
39
- }
32
+ "ro": {
33
+ "wof": {}
40
34
  },
41
- es: {
42
- wof: {
43
-
44
- }
35
+ "es": {
36
+ "wof": {}
45
37
  },
46
- pt: {
47
- wof: {
48
-
49
- }
38
+ "pt": {
39
+ "wof": {}
50
40
  },
51
- de: {
52
- wof: {
53
-
54
- }
41
+ "de": {
42
+ "wof": {}
55
43
  }
56
- };
44
+ }