@everymatrix/casino-collections-providers 1.2.0 → 1.2.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.2.
|
3
|
+
"version": "1.2.2",
|
4
4
|
"main": "index.js",
|
5
5
|
"svelte": "src/index.ts",
|
6
6
|
"scripts": {
|
@@ -36,5 +36,5 @@
|
|
36
36
|
"publishConfig": {
|
37
37
|
"access": "public"
|
38
38
|
},
|
39
|
-
"gitHead": "
|
39
|
+
"gitHead": "02dbae5b4d167acdb57c72905b756343a318870a"
|
40
40
|
}
|
@@ -12,7 +12,7 @@
|
|
12
12
|
export let titletype:string = '';
|
13
13
|
export let clientstyling:string = '';
|
14
14
|
export let clientstylingurl:string = '';
|
15
|
-
export let
|
15
|
+
export let translationurl:string = '';
|
16
16
|
|
17
17
|
let gameCategories:Array<any> = [];
|
18
18
|
let isLoading:boolean = true;
|
@@ -30,7 +30,7 @@
|
|
30
30
|
let mobile:boolean;
|
31
31
|
|
32
32
|
const setTranslationUrl = ():void => {
|
33
|
-
let url:string =
|
33
|
+
let url:string = translationurl;
|
34
34
|
|
35
35
|
fetch(url).then((res:any) => res.json())
|
36
36
|
.then((res) => {
|
@@ -174,7 +174,7 @@
|
|
174
174
|
$: lang && setActiveLanguage();
|
175
175
|
$: clientstyling && customStylingContainer && setClientStyling();
|
176
176
|
$: clientstylingurl && customStylingContainer && setClientStylingURL();
|
177
|
-
$:
|
177
|
+
$: translationurl && setTranslationUrl();
|
178
178
|
|
179
179
|
</script>
|
180
180
|
|
@@ -184,7 +184,7 @@
|
|
184
184
|
{:else}
|
185
185
|
<div class="CasinoCollectionsProviders {mobile ? 'Mobile' : ''}">
|
186
186
|
<div class="CategoriesHeader">
|
187
|
-
<p class="Title">
|
187
|
+
<p class="Title"> {type == 'vendor' ? $_('Translations.providers') : $_('Translations.collections')} </p>
|
188
188
|
<div class="ButtonsContainer">
|
189
189
|
<button on:click={() => sliderScrollLeft()}>
|
190
190
|
<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">
|
package/src/translations.js
CHANGED
@@ -1,114 +1,98 @@
|
|
1
1
|
export const Translations = {
|
2
2
|
en: {
|
3
3
|
Translations: {
|
4
|
-
|
5
|
-
|
6
|
-
providers: 'Providers'
|
4
|
+
collections: 'Game Collections',
|
5
|
+
providers: 'Game Providers'
|
7
6
|
},
|
8
7
|
},
|
9
8
|
zh: {
|
10
9
|
Translations: {
|
11
|
-
|
12
|
-
|
13
|
-
providers: 'Providers'
|
10
|
+
collections: 'Game Collections',
|
11
|
+
providers: 'Game Providers'
|
14
12
|
},
|
15
13
|
},
|
16
14
|
de: {
|
17
15
|
Translations: {
|
18
|
-
|
19
|
-
|
20
|
-
providers: 'Providers'
|
16
|
+
collections: 'Game Collections',
|
17
|
+
providers: 'Game Providers'
|
21
18
|
},
|
22
19
|
},
|
23
20
|
it: {
|
24
21
|
Translations: {
|
25
|
-
|
26
|
-
|
27
|
-
providers: 'Providers'
|
22
|
+
collections: 'Game Collections',
|
23
|
+
providers: 'Game Providers'
|
28
24
|
},
|
29
25
|
},
|
30
26
|
fr: {
|
31
27
|
Translations: {
|
32
|
-
|
33
|
-
|
34
|
-
providers: 'Providers'
|
28
|
+
collections: 'Game Collections',
|
29
|
+
providers: 'Game Providers'
|
35
30
|
},
|
36
31
|
},
|
37
32
|
es: {
|
38
33
|
Translations: {
|
39
|
-
|
40
|
-
|
41
|
-
providers: 'Providers'
|
34
|
+
collections: 'Game Collections',
|
35
|
+
providers: 'Game Providers'
|
42
36
|
},
|
43
37
|
},
|
44
38
|
el: {
|
45
39
|
Translations: {
|
46
|
-
|
47
|
-
|
48
|
-
providers: 'Providers'
|
40
|
+
collections: 'Game Collections',
|
41
|
+
providers: 'Game Providers'
|
49
42
|
},
|
50
43
|
},
|
51
44
|
tr: {
|
52
45
|
Translations: {
|
53
|
-
|
54
|
-
|
55
|
-
providers: 'Providers'
|
46
|
+
collections: 'Game Collections',
|
47
|
+
providers: 'Game Providers'
|
56
48
|
},
|
57
49
|
},
|
58
50
|
ru: {
|
59
51
|
Translations: {
|
60
|
-
|
61
|
-
|
62
|
-
providers: 'Providers'
|
52
|
+
collections: 'Game Collections',
|
53
|
+
providers: 'Game Providers'
|
63
54
|
},
|
64
55
|
},
|
65
56
|
ro: {
|
66
57
|
Translations: {
|
67
|
-
|
68
|
-
|
69
|
-
providers: 'Providers'
|
58
|
+
collections: 'Game Collections',
|
59
|
+
providers: 'Game Providers'
|
70
60
|
},
|
71
61
|
},
|
72
62
|
hr: {
|
73
63
|
Translations: {
|
74
|
-
|
75
|
-
|
76
|
-
providers: 'Providers'
|
64
|
+
collections: 'Game Collections',
|
65
|
+
providers: 'Game Providers'
|
77
66
|
},
|
78
67
|
},
|
79
68
|
hu: {
|
80
69
|
Translations: {
|
81
|
-
|
82
|
-
|
83
|
-
providers: 'Providers'
|
70
|
+
collections: 'Game Collections',
|
71
|
+
providers: 'Game Providers'
|
84
72
|
},
|
85
73
|
},
|
86
74
|
pl: {
|
87
75
|
Translations: {
|
88
|
-
|
89
|
-
|
90
|
-
providers: 'Providers'
|
76
|
+
collections: 'Game Collections',
|
77
|
+
providers: 'Game Providers'
|
91
78
|
},
|
92
79
|
},
|
93
80
|
pt: {
|
94
81
|
Translations: {
|
95
|
-
|
96
|
-
|
97
|
-
providers: 'Providers'
|
82
|
+
collections: 'Game Collections',
|
83
|
+
providers: 'Game Providers'
|
98
84
|
},
|
99
85
|
},
|
100
86
|
sl: {
|
101
87
|
Translations: {
|
102
|
-
|
103
|
-
|
104
|
-
providers: 'Providers'
|
88
|
+
collections: 'Game Collections',
|
89
|
+
providers: 'Game Providers'
|
105
90
|
},
|
106
91
|
},
|
107
92
|
sr: {
|
108
93
|
Translations: {
|
109
|
-
|
110
|
-
|
111
|
-
providers: 'Providers'
|
94
|
+
collections: 'Game Collections',
|
95
|
+
providers: 'Game Providers'
|
112
96
|
},
|
113
97
|
},
|
114
98
|
};
|