@everymatrix/casino-tournaments-table 0.0.415 → 0.0.417
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-tournaments-table",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.417",
|
|
4
4
|
"main": "dist/casino-tournaments-table.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": "485b86006a0a51408cc0b4716e4ee2b7e7b71a04"
|
|
40
40
|
}
|
|
@@ -186,6 +186,8 @@
|
|
|
186
186
|
showTable = !showTable;
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
+
const shownPlayer = (name: string) => name === 'me' ? $_('tournamentsTable.me') : name
|
|
190
|
+
|
|
189
191
|
const setClientStyling = ():void => {
|
|
190
192
|
let sheet = document.createElement('style');
|
|
191
193
|
sheet.innerHTML = clientstyling;
|
|
@@ -208,7 +210,7 @@
|
|
|
208
210
|
setTimeout(() => { displayNone = false; }, 500);
|
|
209
211
|
}
|
|
210
212
|
});
|
|
211
|
-
}
|
|
213
|
+
}
|
|
212
214
|
|
|
213
215
|
onMount(() => {
|
|
214
216
|
window.addEventListener('message', messageHandler, false);
|
|
@@ -267,7 +269,7 @@
|
|
|
267
269
|
{#each display as row}
|
|
268
270
|
<div class="TableUser {row.isCurrentUser ? 'CurrentUserRow' : ''}" part="TableUser {row.isCurrentUser ? 'CurrentUserRow' : ''}">
|
|
269
271
|
<div class="TableCell TableRank {row.Prize? 'Qualified' : ''}" part="TableCell Rank-{row.Rank} TableRank {row.Prize? 'Qualified' : ''}">{row.Rank}</div>
|
|
270
|
-
<div class="TableCell TablePlayer" part="TableCell TablePlayer">{row.Player}</div>
|
|
272
|
+
<div class="TableCell TablePlayer" part="TableCell TablePlayer">{shownPlayer(row.Player)}</div>
|
|
271
273
|
<div class="TableCell TablePoints" part="TableCell TablePoints">{row.Points.toLocaleString('en-US', {minimumFractionDigits: _fractiondigit, maximumFractionDigits: _fractiondigit})}</div>
|
|
272
274
|
{#if row.Prize}
|
|
273
275
|
<div class="TableCell TablePrize {!row.Unqualified? 'Qualified' : ''}" part="TableCell TablePrize {!row.Unqualified? 'Qualified' : ''}">{row.Prize}</div>
|
|
@@ -348,7 +350,7 @@
|
|
|
348
350
|
</div>
|
|
349
351
|
|
|
350
352
|
</em></strong></td>
|
|
351
|
-
<td part="LeftTableTd">{row.Player}</td>
|
|
353
|
+
<td part="LeftTableTd">{shownPlayer(row.Player)}</td>
|
|
352
354
|
<td part="LeftTableTd"><div class="Flex ScoreUp" part="Flex ScoreUp">{row.Points.toLocaleString('en-US', {minimumFractionDigits: _fractiondigit, maximumFractionDigits: _fractiondigit})}</div></td>
|
|
353
355
|
<td class="LeftTableTd {!row.Unqualified? 'Qualified' : ''}" part="LeftTableTd {!row.Unqualified? 'Qualified' : ''}">
|
|
354
356
|
{#if row.Prize}
|
package/src/translations.js
CHANGED
|
@@ -11,7 +11,8 @@ export const TournamentsTableTranslations = {
|
|
|
11
11
|
Player: 'Player',
|
|
12
12
|
Points: 'Points',
|
|
13
13
|
Prize: 'Prize',
|
|
14
|
-
UnqualifiedTips: 'The minimum number of bets has not been reached. Check tournament rules.'
|
|
14
|
+
UnqualifiedTips: 'The minimum number of bets has not been reached. Check tournament rules.',
|
|
15
|
+
me: 'Me',
|
|
15
16
|
}
|
|
16
17
|
},
|
|
17
18
|
zh: {
|
|
@@ -26,7 +27,8 @@ export const TournamentsTableTranslations = {
|
|
|
26
27
|
Player: '播放器',
|
|
27
28
|
Points: '積分',
|
|
28
29
|
Prize: '獎',
|
|
29
|
-
UnqualifiedTips: '未达到最低投注数。检查比赛规则。'
|
|
30
|
+
UnqualifiedTips: '未达到最低投注数。检查比赛规则。',
|
|
31
|
+
me: '我',
|
|
30
32
|
}
|
|
31
33
|
},
|
|
32
34
|
fr: {
|
|
@@ -41,7 +43,8 @@ export const TournamentsTableTranslations = {
|
|
|
41
43
|
Player: 'Joueur',
|
|
42
44
|
Points: 'Points',
|
|
43
45
|
Prize: 'Prix',
|
|
44
|
-
UnqualifiedTips: 'Le nombre de mises minimum n\'est pas terminé. Vérifiez les règles.'
|
|
46
|
+
UnqualifiedTips: 'Le nombre de mises minimum n\'est pas terminé. Vérifiez les règles.',
|
|
47
|
+
me: 'Me',
|
|
45
48
|
}
|
|
46
49
|
},
|
|
47
50
|
ro: {
|
|
@@ -57,6 +60,7 @@ export const TournamentsTableTranslations = {
|
|
|
57
60
|
Points: 'Puncte',
|
|
58
61
|
Prize: 'Premiu',
|
|
59
62
|
UnqualifiedTips: 'Numărul minim de pariuri nu a fost atins. Verificați regulile.',
|
|
63
|
+
me: 'Eu',
|
|
60
64
|
}
|
|
61
65
|
},
|
|
62
66
|
hu: {
|
|
@@ -71,7 +75,8 @@ export const TournamentsTableTranslations = {
|
|
|
71
75
|
Player: 'Játékos',
|
|
72
76
|
Points: 'Pontok',
|
|
73
77
|
Prize: 'Díj',
|
|
74
|
-
UnqualifiedTips: 'A minimális fogadási értéket nem érte el. Kérjük ellenőrizze a szabályokat.'
|
|
78
|
+
UnqualifiedTips: 'A minimális fogadási értéket nem érte el. Kérjük ellenőrizze a szabályokat.',
|
|
79
|
+
me: 'Én',
|
|
75
80
|
}
|
|
76
81
|
},
|
|
77
82
|
tr: {
|
|
@@ -85,7 +90,9 @@ export const TournamentsTableTranslations = {
|
|
|
85
90
|
Rank: 'Rütbe',
|
|
86
91
|
Player: 'oyuncu',
|
|
87
92
|
Points: 'Puan',
|
|
88
|
-
Prize: 'Ödül'
|
|
93
|
+
Prize: 'Ödül',
|
|
94
|
+
UnqualifiedTips: 'The minimum number of bets has not been reached. Check tournament rules.',
|
|
95
|
+
me: 'Me',
|
|
89
96
|
}
|
|
90
97
|
},
|
|
91
98
|
el: {
|
|
@@ -100,7 +107,8 @@ export const TournamentsTableTranslations = {
|
|
|
100
107
|
Player: 'Όνομα',
|
|
101
108
|
Points: 'Πόντοι',
|
|
102
109
|
Prize: 'Έπαθλο',
|
|
103
|
-
UnqualifiedTips: 'Ο ελάχιστος αριθμός στοιχημάτων δεν έχει επιτευχθεί. Ελέγξτε τους κανόνες του τουρνουά.'
|
|
110
|
+
UnqualifiedTips: 'Ο ελάχιστος αριθμός στοιχημάτων δεν έχει επιτευχθεί. Ελέγξτε τους κανόνες του τουρνουά.',
|
|
111
|
+
me: 'Εγώ',
|
|
104
112
|
}
|
|
105
113
|
},
|
|
106
114
|
es: {
|
|
@@ -116,6 +124,7 @@ export const TournamentsTableTranslations = {
|
|
|
116
124
|
Points: 'Puntos',
|
|
117
125
|
Prize: 'Premio',
|
|
118
126
|
UnqualifiedTips: 'No se ha completado el recuento mínimo de apuestas. Compruebe las reglas.',
|
|
127
|
+
me: 'Yo',
|
|
119
128
|
}
|
|
120
129
|
},
|
|
121
130
|
hu: {
|
|
@@ -131,6 +140,7 @@ export const TournamentsTableTranslations = {
|
|
|
131
140
|
Points: 'Pontszám',
|
|
132
141
|
Prize: 'Nyeremény',
|
|
133
142
|
UnqualifiedTips: 'Minimális tét nincs elérve. Ellenőrizze a szabályokat.',
|
|
143
|
+
me: 'Én',
|
|
134
144
|
}
|
|
135
145
|
},
|
|
136
146
|
pt: {
|
|
@@ -145,7 +155,8 @@ export const TournamentsTableTranslations = {
|
|
|
145
155
|
Player: 'Jogador',
|
|
146
156
|
Points: 'Pontos',
|
|
147
157
|
Prize: 'Prêmio',
|
|
148
|
-
UnqualifiedTips: 'Contagem mínima de apostas não concluída. Confira Regras.'
|
|
158
|
+
UnqualifiedTips: 'Contagem mínima de apostas não concluída. Confira Regras.',
|
|
159
|
+
me: 'Me',
|
|
149
160
|
}
|
|
150
161
|
}
|
|
151
162
|
};
|