@everymatrix/casino-game-thumbnail 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-game-thumbnail",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.2",
|
|
4
4
|
"main": "dist/casino-game-thumbnail.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": "
|
|
38
|
+
"gitHead": "22bb69e504862fb909bc5d21d62ba4178aaefe3d"
|
|
39
39
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { onMount, tick } from "svelte";
|
|
6
6
|
import { isMobile, getDevice } from 'rvhelper';
|
|
7
7
|
import { _, addNewMessages, setLocale} from './i18n';
|
|
8
|
-
import {
|
|
8
|
+
import { TRANSLATIONS } from './translations';
|
|
9
9
|
import { currenciesSymbols } from './currency-symbols';
|
|
10
10
|
|
|
11
11
|
export let session:string = '';
|
|
@@ -151,8 +151,8 @@
|
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
Object.keys(
|
|
155
|
-
addNewMessages(item,
|
|
154
|
+
Object.keys(TRANSLATIONS).forEach((item:any):void => {
|
|
155
|
+
addNewMessages(item, TRANSLATIONS[item]);
|
|
156
156
|
});
|
|
157
157
|
|
|
158
158
|
const enter = ():void => {
|
|
@@ -437,7 +437,7 @@
|
|
|
437
437
|
}
|
|
438
438
|
return `
|
|
439
439
|
<p class="LiveLimits">
|
|
440
|
-
<span class="DealerName">${$_('
|
|
440
|
+
<span class="DealerName">${$_('dealer')}: ${dealername}</span>
|
|
441
441
|
</p>
|
|
442
442
|
`;
|
|
443
443
|
}
|
|
@@ -619,7 +619,7 @@
|
|
|
619
619
|
{/if}
|
|
620
620
|
<p class="GameInfoName" part="GameInfoName" title="{gamename}">{gamename}</p>
|
|
621
621
|
{#if lang}
|
|
622
|
-
<button class="GameInfoBtn" part="GameInfoBtn" on:click="{() => toggleGameFrame(gameid)}">{$_('
|
|
622
|
+
<button class="GameInfoBtn" part="GameInfoBtn" on:click="{() => toggleGameFrame(gameid)}">{$_('playNow')}</button>
|
|
623
623
|
{/if}
|
|
624
624
|
</div>
|
|
625
625
|
<span class="GameInfoVendor" part="GameInfoVendor">
|
|
@@ -641,7 +641,7 @@
|
|
|
641
641
|
{/if}
|
|
642
642
|
<div class="GameExtraInfo" part="GameExtraInfo">
|
|
643
643
|
{#if gameisnew}
|
|
644
|
-
<span class="GameExtraInfoLabel NewGameTag" part="GameExtraInfoLabel NewGameTag">{$_('
|
|
644
|
+
<span class="GameExtraInfoLabel NewGameTag" part="GameExtraInfoLabel NewGameTag">{$_('new')}</span>
|
|
645
645
|
{/if}
|
|
646
646
|
{#if gametag}
|
|
647
647
|
<span class="GameExtraInfoLabel PopularGameTag" part="GameExtraInfoLabel PopularGameTag">{gametag}</span>
|
|
@@ -650,7 +650,7 @@
|
|
|
650
650
|
{#if !isopen && starttime && timeformat}
|
|
651
651
|
<div class="GameProp LiveProps" part="GameProp LiveProps">
|
|
652
652
|
<div class="ClosedGame" part="ClosedGame">
|
|
653
|
-
{$_('
|
|
653
|
+
{$_('opens')}
|
|
654
654
|
<span>
|
|
655
655
|
{moment.utc(starttime).local().format(timeformat)}
|
|
656
656
|
</span>
|
|
@@ -664,7 +664,7 @@
|
|
|
664
664
|
<div class="LiveIcons" part="LiveIcons">
|
|
665
665
|
{#if istablefull}
|
|
666
666
|
<span class="FullTable" part="FullTable">
|
|
667
|
-
{$_('
|
|
667
|
+
{$_('full')}
|
|
668
668
|
</span>
|
|
669
669
|
{:else}
|
|
670
670
|
{#each seats as seatData}
|
package/src/translations.js
CHANGED
|
@@ -1,153 +1,122 @@
|
|
|
1
|
-
export const
|
|
2
|
-
en: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
dealer: 'Dealer',
|
|
10
|
-
},
|
|
1
|
+
export const TRANSLATIONS = {
|
|
2
|
+
"en": {
|
|
3
|
+
"playNow": "Start now!",
|
|
4
|
+
"new": "NEW",
|
|
5
|
+
"hot": "Hot",
|
|
6
|
+
"opens": "Opens",
|
|
7
|
+
"full": "table full - bet behind",
|
|
8
|
+
"dealer": "Dealer"
|
|
11
9
|
},
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
dealer: '經銷商',
|
|
20
|
-
},
|
|
10
|
+
"zh-hk": {
|
|
11
|
+
"playNow": "現在開始!",
|
|
12
|
+
"new": "新的",
|
|
13
|
+
"hot": "熱的",
|
|
14
|
+
"opens": "打開",
|
|
15
|
+
"full": "滿桌 - 下注",
|
|
16
|
+
"dealer": "經銷商"
|
|
21
17
|
},
|
|
22
|
-
de: {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
dealer: 'Dealer',
|
|
30
|
-
}
|
|
18
|
+
"de": {
|
|
19
|
+
"playNow": "Jetzt beginnen!",
|
|
20
|
+
"new": "NEU",
|
|
21
|
+
"hot": "Hot",
|
|
22
|
+
"opens": "Öffnet",
|
|
23
|
+
"full": "full - bet behind",
|
|
24
|
+
"dealer": "Dealer"
|
|
31
25
|
},
|
|
32
|
-
it: {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
full: 'table full - bet behind',
|
|
40
|
-
dealer: 'Dealer',
|
|
41
|
-
}
|
|
26
|
+
"it": {
|
|
27
|
+
"playNow": "Inizia ora!",
|
|
28
|
+
"new": "NOVITÀ",
|
|
29
|
+
"hot": "HOT",
|
|
30
|
+
"opens": "Opens",
|
|
31
|
+
"full": "table full - bet behind",
|
|
32
|
+
"dealer": "Dealer"
|
|
42
33
|
},
|
|
43
|
-
fr: {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
dealer: 'Concessionnaire',
|
|
51
|
-
}
|
|
34
|
+
"fr": {
|
|
35
|
+
"playNow": "Commencez maintenant",
|
|
36
|
+
"new": "Nouveau",
|
|
37
|
+
"hot": "Chaud",
|
|
38
|
+
"opens": "Ouvre",
|
|
39
|
+
"full": "Table pleine - pari derrière",
|
|
40
|
+
"dealer": "Concessionnaire"
|
|
52
41
|
},
|
|
53
|
-
es: {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
dealer: 'Dealer',
|
|
61
|
-
}
|
|
42
|
+
"es": {
|
|
43
|
+
"playNow": "Juega ahora!",
|
|
44
|
+
"new": "NUEVO",
|
|
45
|
+
"hot": "HOT",
|
|
46
|
+
"opens": "Abiertas",
|
|
47
|
+
"full": "Mesa llena - Apostar de pie",
|
|
48
|
+
"dealer": "Dealer"
|
|
62
49
|
},
|
|
63
|
-
tr: {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
dealer: 'Dealer',
|
|
71
|
-
}
|
|
50
|
+
"tr": {
|
|
51
|
+
"playNow": "Şimdi oyna",
|
|
52
|
+
"new": "YENİ",
|
|
53
|
+
"hot": "SICAK",
|
|
54
|
+
"opens": "Açılır",
|
|
55
|
+
"full": "masa dolu - bet behind",
|
|
56
|
+
"dealer": "Dealer"
|
|
72
57
|
},
|
|
73
|
-
ru: {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
dealer: 'Dealer',
|
|
81
|
-
}
|
|
58
|
+
"ru": {
|
|
59
|
+
"playNow": "Играть сейчас",
|
|
60
|
+
"new": "НОВАЯ",
|
|
61
|
+
"hot": "ГОРЯЧЕЙ",
|
|
62
|
+
"opens": "Opens",
|
|
63
|
+
"full": "table full - bet behind",
|
|
64
|
+
"dealer": "Dealer"
|
|
82
65
|
},
|
|
83
|
-
ro: {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
dealer: 'Dealer',
|
|
91
|
-
}
|
|
66
|
+
"ro": {
|
|
67
|
+
"playNow": "Joaca acum",
|
|
68
|
+
"new": "NOU",
|
|
69
|
+
"hot": "POPULAR",
|
|
70
|
+
"opens": "Opens",
|
|
71
|
+
"full": "table full - bet behind",
|
|
72
|
+
"dealer": "Dealer"
|
|
92
73
|
},
|
|
93
|
-
hr: {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
dealer: 'Dealer',
|
|
101
|
-
}
|
|
74
|
+
"hr": {
|
|
75
|
+
"playNow": "Započnite sada!",
|
|
76
|
+
"new": "NOVO",
|
|
77
|
+
"hot": "Vruće",
|
|
78
|
+
"opens": "Opens",
|
|
79
|
+
"full": "table full - bet behind",
|
|
80
|
+
"dealer": "Dealer"
|
|
102
81
|
},
|
|
103
|
-
hu: {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
dealer: 'Dealer',
|
|
111
|
-
}
|
|
82
|
+
"hu": {
|
|
83
|
+
"playNow": "Játsszon most!",
|
|
84
|
+
"new": "ÚJ",
|
|
85
|
+
"hot": "Hot",
|
|
86
|
+
"opens": "Opens",
|
|
87
|
+
"full": "table full - bet behind",
|
|
88
|
+
"dealer": "Dealer"
|
|
112
89
|
},
|
|
113
|
-
pl: {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
dealer: 'Dealer',
|
|
121
|
-
}
|
|
90
|
+
"pl": {
|
|
91
|
+
"playNow": "Rozpocznij teraz!",
|
|
92
|
+
"new": "NOWOŚĆ",
|
|
93
|
+
"hot": "Hot",
|
|
94
|
+
"opens": "Opens",
|
|
95
|
+
"full": "table full - bet behind",
|
|
96
|
+
"dealer": "Dealer"
|
|
122
97
|
},
|
|
123
|
-
pt: {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
dealer: 'Dealer',
|
|
131
|
-
}
|
|
98
|
+
"pt": {
|
|
99
|
+
"playNow": "Comece agora!",
|
|
100
|
+
"new": "NOVO",
|
|
101
|
+
"hot": "Hot",
|
|
102
|
+
"opens": "Abrir",
|
|
103
|
+
"full": "Mesa cheia - aposta atrás",
|
|
104
|
+
"dealer": "Dealer"
|
|
132
105
|
},
|
|
133
|
-
sl: {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
dealer: 'Dealer',
|
|
141
|
-
}
|
|
106
|
+
"sl": {
|
|
107
|
+
"playNow": "Začnite zdaj!",
|
|
108
|
+
"new": "NOVO",
|
|
109
|
+
"hot": "Vroče",
|
|
110
|
+
"opens": "Opens",
|
|
111
|
+
"full": "table full - bet behind",
|
|
112
|
+
"dealer": "Dealer"
|
|
142
113
|
},
|
|
143
|
-
sr: {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
dealer: 'Dealer',
|
|
151
|
-
}
|
|
114
|
+
"sr": {
|
|
115
|
+
"playNow": "Započnite sada!",
|
|
116
|
+
"new": "NOVO",
|
|
117
|
+
"hot": "Vruće",
|
|
118
|
+
"opens": "Opens",
|
|
119
|
+
"full": "table full - bet behind",
|
|
120
|
+
"dealer": "Dealer"
|
|
152
121
|
}
|
|
153
|
-
}
|
|
122
|
+
}
|