@everymatrix/casino-collections-providers 1.12.0 → 1.12.2

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/casino-collections-providers",
3
- "version": "1.12.0",
3
+ "version": "1.12.2",
4
4
  "main": "index.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "5ba32db088ec6ebf8eb6110b6172d8c9409b9f70"
38
+ "gitHead": "22bb69e504862fb909bc5d21d62ba4178aaefe3d"
39
39
  }
@@ -1,7 +1,7 @@
1
1
  <svelte:options tag={null} />
2
2
  <script lang="ts">
3
3
  import { _, addNewMessages, setLocale } from './i18n';
4
- import { Translations } from './translations.js';
4
+ import { TRANSLATIONS } from './translations.js';
5
5
  import { isMobile } from 'rvhelper';
6
6
  import { onMount } from 'svelte';
7
7
 
@@ -42,8 +42,8 @@
42
42
  });
43
43
  }
44
44
 
45
- Object.keys(Translations).forEach((item:any):void => {
46
- addNewMessages(item, Translations[item]);
45
+ Object.keys(TRANSLATIONS).forEach((item:any):void => {
46
+ addNewMessages(item, TRANSLATIONS[item]);
47
47
  });
48
48
 
49
49
  const getGameCategories = ():void => {
@@ -181,7 +181,7 @@
181
181
  {:else}
182
182
  <div class="CasinoCollectionsProviders {mobile ? 'Mobile' : ''}">
183
183
  <div class="CategoriesHeader">
184
- <p class="Title"> {type == 'vendor' ? $_('Translations.providers') : $_('Translations.collections')} </p>
184
+ <p class="Title"> {type == 'vendor' ? $_('providers') : $_('collections')} </p>
185
185
  <div class="ButtonsContainer">
186
186
  <button on:click={() => sliderScrollLeft()}>
187
187
  <svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656">
@@ -199,7 +199,7 @@
199
199
  <div class="CategoriesSlider" bind:this={categoriesSlider}>
200
200
  {#each gameCategories as category}
201
201
  <div class="CategoriesSliderWrapper Animation">
202
- <div class="CategorySlide {category?.flag[0] == 'vendor' ? 'CategorySlideNoHighlight' : ''}" style="background-image:url({category?.background})" on:click={() => openCategory(category.id)}>
202
+ <div class="CategorySlide {category?.flag[0] == 'vendor' ? 'CategorySlideNoHighlight' : ''}" style="background-image:url({category?.background}); background-size: cover;" on:click={() => openCategory(category.id)}>
203
203
  <div class="CategorySlideTopContainer">
204
204
  {#if titletype == 'logo'}
205
205
  <img class="CategorySlideLogo" src="{category.icon}" alt="{category.name} icon">
@@ -220,7 +220,7 @@
220
220
  </div>
221
221
  </div>
222
222
  {/each}
223
- </div>
223
+ </div>
224
224
  </div>
225
225
  {/if}
226
226
  </div>
@@ -283,6 +283,7 @@
283
283
  position: relative;
284
284
  height: 230px;
285
285
  overflow: hidden;
286
+ cursor: pointer;
286
287
 
287
288
  &Wrapper {
288
289
  position: absolute;
@@ -1,114 +1,82 @@
1
- export const Translations = {
2
- en: {
3
- Translations: {
4
- collections: 'Game Collections',
5
- providers: 'Game Providers',
6
- loading: 'Loading, please wait ...',
7
- },
8
- },
9
- 'zh-hk': {
10
- Translations: {
11
- collections: '收藏品',
12
- providers: '供应商',
13
- loading: '加載請稍候 ...',
14
- },
15
- },
16
- de: {
17
- Translations: {
18
- collections: 'Game Collections',
19
- providers: 'Game Providers',
20
- loading: 'Laden, bitte warten...',
21
- },
22
- },
23
- it: {
24
- Translations: {
25
- collections: 'Game Collections',
26
- providers: 'Game Providers',
27
- loading: 'Loading, please wait ...',
28
- },
29
- },
30
- fr: {
31
- Translations: {
32
- collections: 'Collections',
33
- providers: 'Fournisseurs',
34
- loading: 'Chargement, veuillez patienter ...',
35
- },
36
- },
37
- es: {
38
- Translations: {
39
- collections: 'Colecciones de juegos',
40
- providers: 'Proveedores de juegos',
41
- loading: 'Cargando…',
42
- },
43
- },
44
- el: {
45
- Translations: {
46
- collections: 'Game Collections',
47
- providers: 'Game Providers',
48
- loading: 'Φορτώνει, παρακαλούμε περιμένετε ...',
49
- },
50
- },
51
- tr: {
52
- Translations: {
53
- collections: 'Game Collections',
54
- providers: 'Game Providers',
55
- loading: 'Yükleniyor, lütfen bekleyin...',
56
- },
57
- },
58
- ru: {
59
- Translations: {
60
- collections: 'Game Collections',
61
- providers: 'Game Providers',
62
- loading: 'Loading, please wait ...',
63
- },
64
- },
65
- ro: {
66
- Translations: {
67
- collections: 'Game Collections',
68
- providers: 'Game Providers',
69
- loading: 'Se încarcă, asteptati ...',
70
- },
71
- },
72
- hr: {
73
- Translations: {
74
- collections: 'Game Collections',
75
- providers: 'Game Providers',
76
- loading: 'Loading, please wait ...',
77
- },
78
- },
79
- hu: {
80
- Translations: {
81
- collections: 'Game Collections',
82
- providers: 'Game Providers',
83
- loading: 'Betöltés, kérjük várjon...',
84
- },
85
- },
86
- pl: {
87
- Translations: {
88
- collections: 'Game Collections',
89
- providers: 'Game Providers',
90
- loading: 'Loading, please wait ...',
91
- },
92
- },
93
- pt: {
94
- Translations: {
95
- collections: 'Game Collections',
96
- providers: 'Game Providers',
97
- loading: 'Carregando, por favor espere ...',
98
- },
99
- },
100
- sl: {
101
- Translations: {
102
- collections: 'Game Collections',
103
- providers: 'Game Providers',
104
- loading: 'Loading, please wait ...',
105
- },
106
- },
107
- sr: {
108
- Translations: {
109
- collections: 'Game Collections',
110
- providers: 'Game Providers',
111
- loading: 'Loading, please wait ...',
112
- },
113
- },
114
- };
1
+ export const TRANSLATIONS = {
2
+ "en": {
3
+ "collections": "Game Collections",
4
+ "providers": "Game Providers",
5
+ "loading": "Loading, please wait ..."
6
+ },
7
+ "zh-hk": {
8
+ "collections": "收藏品",
9
+ "providers": "供应商",
10
+ "loading": "加載請稍候 ..."
11
+ },
12
+ "de": {
13
+ "collections": "Game Collections",
14
+ "providers": "Game Providers",
15
+ "loading": "Laden, bitte warten..."
16
+ },
17
+ "it": {
18
+ "collections": "Game Collections",
19
+ "providers": "Game Providers",
20
+ "loading": "Loading, please wait ..."
21
+ },
22
+ "fr": {
23
+ "collections": "Collections",
24
+ "providers": "Fournisseurs",
25
+ "loading": "Chargement, veuillez patienter ..."
26
+ },
27
+ "es": {
28
+ "collections": "Colecciones de juegos",
29
+ "providers": "Proveedores de juegos",
30
+ "loading": "Cargando…"
31
+ },
32
+ "el": {
33
+ "collections": "Game Collections",
34
+ "providers": "Game Providers",
35
+ "loading": "Φορτώνει, παρακαλούμε περιμένετε ..."
36
+ },
37
+ "tr": {
38
+ "collections": "Game Collections",
39
+ "providers": "Game Providers",
40
+ "loading": "Yükleniyor, lütfen bekleyin..."
41
+ },
42
+ "ru": {
43
+ "collections": "Game Collections",
44
+ "providers": "Game Providers",
45
+ "loading": "Loading, please wait ..."
46
+ },
47
+ "ro": {
48
+ "collections": "Game Collections",
49
+ "providers": "Game Providers",
50
+ "loading": "Se încarcă, asteptati ..."
51
+ },
52
+ "hr": {
53
+ "collections": "Game Collections",
54
+ "providers": "Game Providers",
55
+ "loading": "Loading, please wait ..."
56
+ },
57
+ "hu": {
58
+ "collections": "Game Collections",
59
+ "providers": "Game Providers",
60
+ "loading": "Betöltés, kérjük várjon..."
61
+ },
62
+ "pl": {
63
+ "collections": "Game Collections",
64
+ "providers": "Game Providers",
65
+ "loading": "Loading, please wait ..."
66
+ },
67
+ "pt": {
68
+ "collections": "Game Collections",
69
+ "providers": "Game Providers",
70
+ "loading": "Carregando, por favor espere ..."
71
+ },
72
+ "sl": {
73
+ "collections": "Game Collections",
74
+ "providers": "Game Providers",
75
+ "loading": "Loading, please wait ..."
76
+ },
77
+ "sr": {
78
+ "collections": "Game Collections",
79
+ "providers": "Game Providers",
80
+ "loading": "Loading, please wait ..."
81
+ }
82
+ }