@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.
@@ -5184,60 +5184,48 @@
5184
5184
  derived([$locale], () => formatNumber);
5185
5185
  derived([$locale, $dictionary], () => getJSON);
5186
5186
 
5187
- const translations = {
5188
- en: {
5189
- wof: {
5190
- NoContent: `You don't have any lottery programs available now.`,
5191
- NoNext: `You don't have any spins available. Please check <a href="javascript:void(0)">Terms and Conditions</a>`,
5192
- NoHistories: `No histories`,
5193
- Program: `Program`,
5194
- History: `History`,
5195
- ActiveTickets: `Active Tickets`,
5196
- ImplicitTickets: `Implicit Tickets`,
5197
- RemainingTimes: `Remaining Times`,
5198
- Retry: 'Network is a bit busy now, please click OK to re-spin',
5199
- ShowNext: `The Wheel will be available on<br /> <strong>{startTime}</strong> <br />Please wait till it is open.`,
5200
- DrawFailed: 'The prize assignment may be failed, please contact customer support for more details',
5201
- Timeout: 'Network is a bit busy now, please try again later.',
5202
- ErrorNetwork: 'You are offline, please check your network settings',
5203
- ErrorJSON: 'Unexpected Data Response, please contact customer support',
5204
- Congratulation: `Congratulations! You won a {prize}!`,
5205
- OK: `OK`,
5206
- Rewards: `Rewards`,
5207
- Status: `Status`,
5208
- Time: `Time`,
5209
- Loss: `OOPs! You are close to a prize!`,
5187
+ const TRANSLATIONS = {
5188
+ "en": {
5189
+ "wof": {
5190
+ "NoContent": "You don't have any lottery programs available now.",
5191
+ "NoNext": "You don't have any spins available. Please check <a href=\"javascript:void(0)\">Terms and Conditions</a>",
5192
+ "NoHistories": "No histories",
5193
+ "Program": "Program",
5194
+ "History": "History",
5195
+ "ActiveTickets": "Active Tickets",
5196
+ "ImplicitTickets": "Implicit Tickets",
5197
+ "RemainingTimes": "Remaining Times",
5198
+ "Retry": "Network is a bit busy now, please click OK to re-spin",
5199
+ "ShowNext": "The Wheel will be available on<br /> <strong>{startTime}</strong> <br />Please wait till it is open.",
5200
+ "DrawFailed": "The prize assignment may be failed, please contact customer support for more details",
5201
+ "Timeout": "Network is a bit busy now, please try again later.",
5202
+ "ErrorNetwork": "You are offline, please check your network settings",
5203
+ "ErrorJSON": "Unexpected Data Response, please contact customer support",
5204
+ "Congratulation": "Congratulations! You won a {prize}!",
5205
+ "OK": "OK",
5206
+ "Rewards": "Rewards",
5207
+ "Status": "Status",
5208
+ "Time": "Time",
5209
+ "Loss": "OOPs! You are close to a prize!"
5210
5210
  }
5211
5211
  },
5212
- zh: {
5213
- wof: {
5214
-
5215
- }
5212
+ "zh": {
5213
+ "wof": {}
5216
5214
  },
5217
- fr: {
5218
- wof: {
5219
-
5220
- }
5215
+ "fr": {
5216
+ "wof": {}
5221
5217
  },
5222
- ro: {
5223
- wof: {
5224
-
5225
- }
5218
+ "ro": {
5219
+ "wof": {}
5226
5220
  },
5227
- es: {
5228
- wof: {
5229
-
5230
- }
5221
+ "es": {
5222
+ "wof": {}
5231
5223
  },
5232
- pt: {
5233
- wof: {
5234
-
5235
- }
5224
+ "pt": {
5225
+ "wof": {}
5236
5226
  },
5237
- de: {
5238
- wof: {
5239
-
5240
- }
5227
+ "de": {
5228
+ "wof": {}
5241
5229
  }
5242
5230
  };
5243
5231
 
@@ -5259,8 +5247,8 @@
5259
5247
  }
5260
5248
  const setLocaleWhenInit = () => {
5261
5249
  setupI18n({ withLocale: 'en', translations: {} });
5262
- Object.keys(translations).forEach((item) => {
5263
- addNewMessages(item, translations[item]);
5250
+ Object.keys(TRANSLATIONS).forEach((item) => {
5251
+ addNewMessages(item, TRANSLATIONS[item]);
5264
5252
  });
5265
5253
  };
5266
5254