@everymatrix/player-profile-info 1.37.2 → 1.37.4

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-profile-info",
3
- "version": "1.37.2",
3
+ "version": "1.37.4",
4
4
  "main": "dist/player-profile-info.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": "0a314fe46510038a31ea77b611f22f5429a56d49"
38
+ "gitHead": "863252ebf7c846696d9b388f0d288993dbd5065c"
39
39
  }
@@ -54,6 +54,7 @@
54
54
  }
55
55
 
56
56
  const setTranslationUrl = ():void => {
57
+
57
58
  let url:string = translationurl;
58
59
 
59
60
  fetch(url).then((res:any) => res.json())
@@ -154,7 +155,7 @@
154
155
  initialValuesArray.postalCode = profileDetails.postalCode;
155
156
  initialValuesArray.securityAnswer = profileDetails.securityAnswer;
156
157
  initialValuesArray.securityQuestion = profileDetails.securityQuestion;
157
-
158
+
158
159
  break;
159
160
 
160
161
  case 'ProfileConsentData':
@@ -279,7 +280,7 @@
279
280
  return true;
280
281
  }
281
282
  break;
282
-
283
+
283
284
  case 'false':
284
285
  if (securityAnswer && securityAnswer.length <= 120) {
285
286
  return true;
@@ -421,6 +422,7 @@
421
422
  }
422
423
 
423
424
  onMount(() => {
425
+
424
426
  window.addEventListener('message', messageHandler, false);
425
427
 
426
428
  return () => {
@@ -449,11 +451,11 @@
449
451
  <path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"/>
450
452
  </g></g>
451
453
  </svg>
452
- <h2 class="MyAccountCategoryTitleMobile">{$_('title')}</h2>
454
+ <h2 class="MyAccountCategoryTitleMobile">{$_('titleProfileInfo')}</h2>
453
455
  </div>
454
456
  {/if}
455
457
 
456
- <h2 class="MyAccountCategoryTitle {isMobile ? 'MyAccountCategoryTitleNone' : ''}">{$_('title')}</h2>
458
+ <h2 class="MyAccountCategoryTitle {isMobile ? 'MyAccountCategoryTitleNone' : ''}">{$_('titleProfileInfo')}</h2>
457
459
 
458
460
  <div class="PlayerNotificationsHeader">
459
461
  <h3>{$_('personalDetails')}</h3>
@@ -894,7 +896,7 @@
894
896
  }
895
897
  }
896
898
  }
897
- .PlayerDetailsButtonsArea {
899
+ .PlayerDetailsButtonsArea {
898
900
  grid-column-gap: 10px;
899
901
  }
900
902
  .PlayerDetailsSaveButton, .PlayerDetailsCancelButton {
@@ -1,6 +1,6 @@
1
1
  export const TRANSLATIONS = {
2
2
  "en": {
3
- "title": "Profile Info",
3
+ "titleProfileInfo": "Profile Info",
4
4
  "personalDetails": "Personal Details",
5
5
  "userName": "Username:",
6
6
  "userPhone": "Phone:",
@@ -35,7 +35,7 @@ export const TRANSLATIONS = {
35
35
  "userProfileConfirmationMessage": "Your changes have been saved!"
36
36
  },
37
37
  "zh-hk": {
38
- "title": "資料信息",
38
+ "titleProfileInfo": "資料信息",
39
39
  "personalDetails": "個人資料",
40
40
  "userName": "用戶名:",
41
41
  "userPhone": "電話:",
@@ -70,7 +70,7 @@ export const TRANSLATIONS = {
70
70
  "userProfileConfirmationMessage": "你的修改已被保存!"
71
71
  },
72
72
  "fr": {
73
- "title": "Information sur le profil",
73
+ "titleProfileInfo": "Information sur le profil",
74
74
  "personalDetails": "Détail personnel",
75
75
  "userName": "Nom d'utilisateur:",
76
76
  "userPhone": "Téléphone:",
@@ -105,7 +105,7 @@ export const TRANSLATIONS = {
105
105
  "userProfileConfirmationMessage": "Vos modifications ont été enregistrées!"
106
106
  },
107
107
  "ro": {
108
- "title": "Informații profil",
108
+ "titleProfileInfo": "Informații profil",
109
109
  "personalDetails": "Detalii Personale",
110
110
  "userName": "Nume utilizator:",
111
111
  "userPhone": "Telefon:",
@@ -140,7 +140,7 @@ export const TRANSLATIONS = {
140
140
  "userProfileConfirmationMessage": "Modificările au fost salvate!"
141
141
  },
142
142
  "tr": {
143
- "title": "Profil bilgisi",
143
+ "titleProfileInfo": "Profil bilgisi",
144
144
  "personalDetails": "Kişisel detaylar",
145
145
  "userName": "Kullanıcı adı:",
146
146
  "userPhone": "Telefon:",
@@ -179,7 +179,7 @@ export const TRANSLATIONS = {
179
179
  "securityAnswerError": "Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır."
180
180
  },
181
181
  "es": {
182
- "title": "Información de Perfil",
182
+ "titleProfileInfo": "Información de Perfil",
183
183
  "personalDetails": "Detalles Personales",
184
184
  "userName": "Usuario",
185
185
  "userPhone": "Celular / Número / Número Celular",
@@ -214,7 +214,7 @@ export const TRANSLATIONS = {
214
214
  "userProfileConfirmationMessage": "Sus cambios han sido guardados!"
215
215
  },
216
216
  "pt": {
217
- "title": "Informações do perfil",
217
+ "titleProfileInfo": "Informações do perfil",
218
218
  "personalDetails": "Detalhes pessoais",
219
219
  "userName": "Nome do usuário:",
220
220
  "userPhone": "Celular:",
@@ -249,7 +249,7 @@ export const TRANSLATIONS = {
249
249
  "userProfileConfirmationMessage": "Suas alterações foram salvas!"
250
250
  },
251
251
  "hr": {
252
- "title": "Informacije o profilu",
252
+ "titleProfileInfo": "Informacije o profilu",
253
253
  "personalDetails": "Osobni podatci",
254
254
  "userName": "Korisničko ime:",
255
255
  "userPhone": "Telefon:",
@@ -284,7 +284,7 @@ export const TRANSLATIONS = {
284
284
  "userProfileConfirmationMessage": "Vaše izmjene su spremljene!"
285
285
  },
286
286
  "pt-br": {
287
- "title": "Informação do Perfil",
287
+ "titleProfileInfo": "Informação do Perfil",
288
288
  "personalDetails": "Detalhes pessoais",
289
289
  "userName": "Do utilizador:",
290
290
  "userPhone": "Telefone:",
@@ -319,7 +319,7 @@ export const TRANSLATIONS = {
319
319
  "userProfileConfirmationMessage": "Suas alterações foram salvas!"
320
320
  },
321
321
  "es-mx": {
322
- "title": "Información de Perfil",
322
+ "titleProfileInfo": "Información de Perfil",
323
323
  "personalDetails": "Detalles personales",
324
324
  "userName": "Usuario:",
325
325
  "userPhone": "Teléfono:",