@everymatrix/player-sms-verification 1.52.6 → 1.53.10
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/dist/cjs/{index-1ab65bbf.js → index-29e54232.js} +161 -66
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/player-sms-verification.cjs.entry.js +110 -59
- package/dist/cjs/player-sms-verification.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/player-sms-verification/player-sms-verification.js +31 -10
- package/dist/collection/utils/utils.js +90 -48
- package/dist/esm/{index-2261775b.js → index-b1576640.js} +161 -66
- package/dist/esm/loader.js +2 -2
- package/dist/esm/player-sms-verification.entry.js +110 -59
- package/dist/esm/player-sms-verification.js +3 -3
- package/dist/player-sms-verification/p-13738c4c.js +2 -0
- package/dist/player-sms-verification/p-82fab0ba.entry.js +1 -0
- package/dist/player-sms-verification/player-sms-verification.esm.js +1 -1
- package/package.json +1 -1
- package/dist/player-sms-verification/p-3e6eb9ea.js +0 -2
- package/dist/player-sms-verification/p-b8d784c9.entry.js +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-29e54232.js');
|
|
6
6
|
|
|
7
7
|
const DEFAULT_LANGUAGE = 'en';
|
|
8
8
|
const TRANSLATIONS = {
|
|
@@ -21,32 +21,32 @@ const TRANSLATIONS = {
|
|
|
21
21
|
errInvalidPhone: 'The provided phone number is invalid'
|
|
22
22
|
},
|
|
23
23
|
ro: {
|
|
24
|
-
title: 'SMS
|
|
25
|
-
subtitle: '
|
|
26
|
-
btnSend: '
|
|
27
|
-
btnResend: '
|
|
28
|
-
btnActivate: '
|
|
29
|
-
msgEnterCode: '
|
|
30
|
-
msgResendNotice: '
|
|
31
|
-
errGenerateCode: '
|
|
32
|
-
errInvalidCode: '
|
|
33
|
-
errExceededAttempts: '
|
|
34
|
-
errExpiredToken: '
|
|
35
|
-
errInvalidPhone: '
|
|
24
|
+
title: 'Verificare SMS necesară',
|
|
25
|
+
subtitle: 'Trebuie să vă verificați numărul de telefon',
|
|
26
|
+
btnSend: 'Trimite cod',
|
|
27
|
+
btnResend: 'Retrimite cod',
|
|
28
|
+
btnActivate: 'Activează',
|
|
29
|
+
msgEnterCode: 'Introduceți codul de verificare primit pe numărul dvs.',
|
|
30
|
+
msgResendNotice: 'Un nou cod de verificare a fost trimis pe numărul dvs. de telefon',
|
|
31
|
+
errGenerateCode: 'A apărut o eroare la generarea codului. Apăsați butonul de retrimitere pentru a genera un nou cod',
|
|
32
|
+
errInvalidCode: 'Codul este incorect',
|
|
33
|
+
errExceededAttempts: 'Prea multe încercări. Încercați din nou mai târziu',
|
|
34
|
+
errExpiredToken: 'Codul a expirat, retrimiteți codul',
|
|
35
|
+
errInvalidPhone: 'Numărul de telefon furnizat este invalid'
|
|
36
36
|
},
|
|
37
37
|
fr: {
|
|
38
|
-
title: 'SMS
|
|
39
|
-
subtitle: '
|
|
40
|
-
btnSend: '
|
|
41
|
-
btnResend: '
|
|
42
|
-
btnActivate: '
|
|
43
|
-
msgEnterCode: '
|
|
44
|
-
msgResendNotice: '
|
|
45
|
-
errGenerateCode: '
|
|
46
|
-
errInvalidCode: '
|
|
47
|
-
errExceededAttempts: '
|
|
48
|
-
errExpiredToken: '
|
|
49
|
-
errInvalidPhone: '
|
|
38
|
+
title: 'Vérification SMS requise',
|
|
39
|
+
subtitle: 'Vous devez vérifier votre numéro de téléphone',
|
|
40
|
+
btnSend: 'Envoyer le code',
|
|
41
|
+
btnResend: 'Renvoyer le code',
|
|
42
|
+
btnActivate: 'Activer',
|
|
43
|
+
msgEnterCode: 'Veuillez entrer le code de vérification reçu sur votre numéro',
|
|
44
|
+
msgResendNotice: 'Un nouveau code de vérification a été envoyé à votre numéro de téléphone',
|
|
45
|
+
errGenerateCode: 'Une erreur est survenue lors de la génération de votre code. Cliquez sur le bouton renvoyer pour générer un nouveau code',
|
|
46
|
+
errInvalidCode: 'Le code est incorrect',
|
|
47
|
+
errExceededAttempts: 'Trop de tentatives. Réessayez plus tard',
|
|
48
|
+
errExpiredToken: 'Le code a expiré, renvoyez le code',
|
|
49
|
+
errInvalidPhone: 'Le numéro de téléphone fourni est invalide'
|
|
50
50
|
},
|
|
51
51
|
hu: {
|
|
52
52
|
title: 'SMS Verification required',
|
|
@@ -91,32 +91,32 @@ const TRANSLATIONS = {
|
|
|
91
91
|
errInvalidPhone: 'The provided phone number is invalid'
|
|
92
92
|
},
|
|
93
93
|
es: {
|
|
94
|
-
title: 'SMS
|
|
95
|
-
subtitle: '
|
|
96
|
-
btnSend: '
|
|
97
|
-
btnResend: '
|
|
98
|
-
btnActivate: '
|
|
99
|
-
msgEnterCode: '
|
|
100
|
-
msgResendNotice: '
|
|
101
|
-
errGenerateCode: '
|
|
102
|
-
errInvalidCode: '
|
|
103
|
-
errExceededAttempts: '
|
|
104
|
-
errExpiredToken: '
|
|
105
|
-
errInvalidPhone: '
|
|
94
|
+
title: 'Verificación por SMS requerida',
|
|
95
|
+
subtitle: 'Debe verificar su número de teléfono',
|
|
96
|
+
btnSend: 'Enviar código',
|
|
97
|
+
btnResend: 'Reenviar código',
|
|
98
|
+
btnActivate: 'Activar',
|
|
99
|
+
msgEnterCode: 'Por favor, introduzca el código de verificación recibido en su número',
|
|
100
|
+
msgResendNotice: 'Se ha enviado un nuevo código de verificación a su número de teléfono',
|
|
101
|
+
errGenerateCode: 'Ocurrió un error al generar su código. Haga clic en el botón de reenviar para generar un nuevo código',
|
|
102
|
+
errInvalidCode: 'El código es incorrecto',
|
|
103
|
+
errExceededAttempts: 'Demasiados intentos. Inténtelo más tarde',
|
|
104
|
+
errExpiredToken: 'El código ha expirado, reenviar código',
|
|
105
|
+
errInvalidPhone: 'El número de teléfono proporcionado no es válido'
|
|
106
106
|
},
|
|
107
107
|
pt: {
|
|
108
|
-
title: 'SMS
|
|
109
|
-
subtitle: '
|
|
110
|
-
btnSend: '
|
|
111
|
-
btnResend: '
|
|
112
|
-
btnActivate: '
|
|
113
|
-
msgEnterCode: '
|
|
114
|
-
msgResendNotice: '
|
|
115
|
-
errGenerateCode: '
|
|
116
|
-
errInvalidCode: '
|
|
117
|
-
errExceededAttempts: '
|
|
118
|
-
errExpiredToken: '
|
|
119
|
-
errInvalidPhone: '
|
|
108
|
+
title: 'Verificação SMS necessária',
|
|
109
|
+
subtitle: 'Você precisa verificar seu número de telefone',
|
|
110
|
+
btnSend: 'Enviar código',
|
|
111
|
+
btnResend: 'Reenviar código',
|
|
112
|
+
btnActivate: 'Ativar',
|
|
113
|
+
msgEnterCode: 'Por favor, insira o código de verificação recebido no seu número',
|
|
114
|
+
msgResendNotice: 'Um novo código de verificação foi enviado para o seu número de telefone',
|
|
115
|
+
errGenerateCode: 'Ocorreu um erro ao gerar seu código. Clique no botão reenviar para gerar um novo código',
|
|
116
|
+
errInvalidCode: 'O código está incorreto',
|
|
117
|
+
errExceededAttempts: 'Muitas tentativas. Tente novamente mais tarde',
|
|
118
|
+
errExpiredToken: 'O código expirou, reenviar código',
|
|
119
|
+
errInvalidPhone: 'O número de telefone fornecido é inválido'
|
|
120
120
|
},
|
|
121
121
|
hr: {
|
|
122
122
|
title: 'SMS verifikacija je potrebna',
|
|
@@ -132,6 +132,48 @@ const TRANSLATIONS = {
|
|
|
132
132
|
errExpiredToken: 'Verifikacijski kod je istekao, ponovno zatražite kod',
|
|
133
133
|
errInvalidPhone: 'Navedeni telefonski broj je nevažeći'
|
|
134
134
|
},
|
|
135
|
+
de: {
|
|
136
|
+
title: 'SMS-Verifizierung erforderlich',
|
|
137
|
+
subtitle: 'Sie müssen Ihre Telefonnummer verifizieren',
|
|
138
|
+
btnSend: 'Code senden',
|
|
139
|
+
btnResend: 'Code erneut senden',
|
|
140
|
+
btnActivate: 'Aktivieren',
|
|
141
|
+
msgEnterCode: 'Bitte geben Sie den Verifizierungscode ein, den Sie auf Ihrer Nummer erhalten haben',
|
|
142
|
+
msgResendNotice: 'Ein neuer Verifizierungscode wurde an Ihre Telefonnummer gesendet',
|
|
143
|
+
errGenerateCode: 'Es ist ein Fehler bei der Generierung Ihres Codes aufgetreten. Klicken Sie auf die Schaltfläche zum erneuten Senden, um einen neuen Code zu generieren',
|
|
144
|
+
errInvalidCode: 'Der Code ist falsch',
|
|
145
|
+
errExceededAttempts: 'Zu viele Versuche. Bitte versuchen Sie es später erneut',
|
|
146
|
+
errExpiredToken: 'Der Code ist abgelaufen, bitte erneut senden',
|
|
147
|
+
errInvalidPhone: 'Die angegebene Telefonnummer ist ungültig'
|
|
148
|
+
},
|
|
149
|
+
'es-mx': {
|
|
150
|
+
title: 'Verificación por SMS requerida',
|
|
151
|
+
subtitle: 'Debe verificar su número de teléfono',
|
|
152
|
+
btnSend: 'Enviar código',
|
|
153
|
+
btnResend: 'Reenviar código',
|
|
154
|
+
btnActivate: 'Activar',
|
|
155
|
+
msgEnterCode: 'Por favor, introduzca el código de verificación recibido en su número',
|
|
156
|
+
msgResendNotice: 'Se ha enviado un nuevo código de verificación a su número de teléfono',
|
|
157
|
+
errGenerateCode: 'Ocurrió un error al generar su código. Haga clic en el botón de reenviar para generar un nuevo código',
|
|
158
|
+
errInvalidCode: 'El código es incorrecto',
|
|
159
|
+
errExceededAttempts: 'Demasiados intentos. Inténtelo más tarde',
|
|
160
|
+
errExpiredToken: 'El código ha expirado, reenviar código',
|
|
161
|
+
errInvalidPhone: 'El número de teléfono proporcionado no es válido'
|
|
162
|
+
},
|
|
163
|
+
'pt-br': {
|
|
164
|
+
title: 'Verificação SMS necessária',
|
|
165
|
+
subtitle: 'Você precisa verificar seu número de telefone',
|
|
166
|
+
btnSend: 'Enviar código',
|
|
167
|
+
btnResend: 'Reenviar código',
|
|
168
|
+
btnActivate: 'Ativar',
|
|
169
|
+
msgEnterCode: 'Por favor, insira o código de verificação recebido no seu número',
|
|
170
|
+
msgResendNotice: 'Um novo código de verificação foi enviado para o seu número de telefone',
|
|
171
|
+
errGenerateCode: 'Ocorreu um erro ao gerar seu código. Clique no botão reenviar para gerar um novo código',
|
|
172
|
+
errInvalidCode: 'O código está incorreto',
|
|
173
|
+
errExceededAttempts: 'Muitas tentativas. Tente novamente mais tarde',
|
|
174
|
+
errExpiredToken: 'O código expirou, reenviar código',
|
|
175
|
+
errInvalidPhone: 'O número de telefone fornecido é inválido'
|
|
176
|
+
}
|
|
135
177
|
};
|
|
136
178
|
const getTranslations = (url) => {
|
|
137
179
|
return new Promise((resolve) => {
|
|
@@ -158,6 +200,25 @@ const PlayerSmsVerificationStyle0 = playerSmsVerificationCss;
|
|
|
158
200
|
const PlayerSmsVerification = class {
|
|
159
201
|
constructor(hostRef) {
|
|
160
202
|
index.registerInstance(this, hostRef);
|
|
203
|
+
/**
|
|
204
|
+
* Currently selected language
|
|
205
|
+
*/
|
|
206
|
+
this.lang = 'en';
|
|
207
|
+
/**
|
|
208
|
+
* Client custom styling via inline styles
|
|
209
|
+
*/
|
|
210
|
+
this.clientStyling = '';
|
|
211
|
+
/**
|
|
212
|
+
* Client custom styling via url
|
|
213
|
+
*/
|
|
214
|
+
this.clientStylingUrl = '';
|
|
215
|
+
/**
|
|
216
|
+
* Translations via URL
|
|
217
|
+
*/
|
|
218
|
+
this.translationUrl = '';
|
|
219
|
+
this.code = '';
|
|
220
|
+
this.errMsg = '';
|
|
221
|
+
this.msgEnterCode = '';
|
|
161
222
|
// Other variables
|
|
162
223
|
this.btnResendCount = 60;
|
|
163
224
|
this.isCodeSentOnce = false;
|
|
@@ -180,16 +241,6 @@ const PlayerSmsVerification = class {
|
|
|
180
241
|
console.log('error ', err);
|
|
181
242
|
});
|
|
182
243
|
};
|
|
183
|
-
this.endpoint = undefined;
|
|
184
|
-
this.userId = undefined;
|
|
185
|
-
this.lang = 'en';
|
|
186
|
-
this.clientStyling = '';
|
|
187
|
-
this.clientStylingUrl = '';
|
|
188
|
-
this.translationUrl = '';
|
|
189
|
-
this.tempBtnResendCount = undefined;
|
|
190
|
-
this.code = '';
|
|
191
|
-
this.errMsg = '';
|
|
192
|
-
this.msgEnterCode = '';
|
|
193
244
|
}
|
|
194
245
|
updateClientStyling() {
|
|
195
246
|
if (this.clientStyling)
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-29e54232.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.
|
|
9
|
+
Stencil Client Patch Browser v4.25.1 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
var patchBrowser = () => {
|
|
12
12
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('player-sms-verification.cjs.js', document.baseURI).href));
|
|
@@ -2,6 +2,25 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { getTranslations, translate } from "../../utils/utils";
|
|
3
3
|
export class PlayerSmsVerification {
|
|
4
4
|
constructor() {
|
|
5
|
+
/**
|
|
6
|
+
* Currently selected language
|
|
7
|
+
*/
|
|
8
|
+
this.lang = 'en';
|
|
9
|
+
/**
|
|
10
|
+
* Client custom styling via inline styles
|
|
11
|
+
*/
|
|
12
|
+
this.clientStyling = '';
|
|
13
|
+
/**
|
|
14
|
+
* Client custom styling via url
|
|
15
|
+
*/
|
|
16
|
+
this.clientStylingUrl = '';
|
|
17
|
+
/**
|
|
18
|
+
* Translations via URL
|
|
19
|
+
*/
|
|
20
|
+
this.translationUrl = '';
|
|
21
|
+
this.code = '';
|
|
22
|
+
this.errMsg = '';
|
|
23
|
+
this.msgEnterCode = '';
|
|
5
24
|
// Other variables
|
|
6
25
|
this.btnResendCount = 60;
|
|
7
26
|
this.isCodeSentOnce = false;
|
|
@@ -24,16 +43,6 @@ export class PlayerSmsVerification {
|
|
|
24
43
|
console.log('error ', err);
|
|
25
44
|
});
|
|
26
45
|
};
|
|
27
|
-
this.endpoint = undefined;
|
|
28
|
-
this.userId = undefined;
|
|
29
|
-
this.lang = 'en';
|
|
30
|
-
this.clientStyling = '';
|
|
31
|
-
this.clientStylingUrl = '';
|
|
32
|
-
this.translationUrl = '';
|
|
33
|
-
this.tempBtnResendCount = undefined;
|
|
34
|
-
this.code = '';
|
|
35
|
-
this.errMsg = '';
|
|
36
|
-
this.msgEnterCode = '';
|
|
37
46
|
}
|
|
38
47
|
updateClientStyling() {
|
|
39
48
|
if (this.clientStyling)
|
|
@@ -189,6 +198,8 @@ export class PlayerSmsVerification {
|
|
|
189
198
|
"tags": [],
|
|
190
199
|
"text": "NorWAy Endpoint for all the calls."
|
|
191
200
|
},
|
|
201
|
+
"getter": false,
|
|
202
|
+
"setter": false,
|
|
192
203
|
"attribute": "endpoint",
|
|
193
204
|
"reflect": true
|
|
194
205
|
},
|
|
@@ -206,6 +217,8 @@ export class PlayerSmsVerification {
|
|
|
206
217
|
"tags": [],
|
|
207
218
|
"text": "The NWA user id"
|
|
208
219
|
},
|
|
220
|
+
"getter": false,
|
|
221
|
+
"setter": false,
|
|
209
222
|
"attribute": "user-id",
|
|
210
223
|
"reflect": true
|
|
211
224
|
},
|
|
@@ -223,6 +236,8 @@ export class PlayerSmsVerification {
|
|
|
223
236
|
"tags": [],
|
|
224
237
|
"text": "Currently selected language"
|
|
225
238
|
},
|
|
239
|
+
"getter": false,
|
|
240
|
+
"setter": false,
|
|
226
241
|
"attribute": "lang",
|
|
227
242
|
"reflect": true,
|
|
228
243
|
"defaultValue": "'en'"
|
|
@@ -241,6 +256,8 @@ export class PlayerSmsVerification {
|
|
|
241
256
|
"tags": [],
|
|
242
257
|
"text": "Client custom styling via inline styles"
|
|
243
258
|
},
|
|
259
|
+
"getter": false,
|
|
260
|
+
"setter": false,
|
|
244
261
|
"attribute": "client-styling",
|
|
245
262
|
"reflect": true,
|
|
246
263
|
"defaultValue": "''"
|
|
@@ -259,6 +276,8 @@ export class PlayerSmsVerification {
|
|
|
259
276
|
"tags": [],
|
|
260
277
|
"text": "Client custom styling via url"
|
|
261
278
|
},
|
|
279
|
+
"getter": false,
|
|
280
|
+
"setter": false,
|
|
262
281
|
"attribute": "client-styling-url",
|
|
263
282
|
"reflect": true,
|
|
264
283
|
"defaultValue": "''"
|
|
@@ -277,6 +296,8 @@ export class PlayerSmsVerification {
|
|
|
277
296
|
"tags": [],
|
|
278
297
|
"text": "Translations via URL"
|
|
279
298
|
},
|
|
299
|
+
"getter": false,
|
|
300
|
+
"setter": false,
|
|
280
301
|
"attribute": "translation-url",
|
|
281
302
|
"reflect": true,
|
|
282
303
|
"defaultValue": "''"
|
|
@@ -15,32 +15,32 @@ const TRANSLATIONS = {
|
|
|
15
15
|
errInvalidPhone: 'The provided phone number is invalid'
|
|
16
16
|
},
|
|
17
17
|
ro: {
|
|
18
|
-
title: 'SMS
|
|
19
|
-
subtitle: '
|
|
20
|
-
btnSend: '
|
|
21
|
-
btnResend: '
|
|
22
|
-
btnActivate: '
|
|
23
|
-
msgEnterCode: '
|
|
24
|
-
msgResendNotice: '
|
|
25
|
-
errGenerateCode: '
|
|
26
|
-
errInvalidCode: '
|
|
27
|
-
errExceededAttempts: '
|
|
28
|
-
errExpiredToken: '
|
|
29
|
-
errInvalidPhone: '
|
|
18
|
+
title: 'Verificare SMS necesară',
|
|
19
|
+
subtitle: 'Trebuie să vă verificați numărul de telefon',
|
|
20
|
+
btnSend: 'Trimite cod',
|
|
21
|
+
btnResend: 'Retrimite cod',
|
|
22
|
+
btnActivate: 'Activează',
|
|
23
|
+
msgEnterCode: 'Introduceți codul de verificare primit pe numărul dvs.',
|
|
24
|
+
msgResendNotice: 'Un nou cod de verificare a fost trimis pe numărul dvs. de telefon',
|
|
25
|
+
errGenerateCode: 'A apărut o eroare la generarea codului. Apăsați butonul de retrimitere pentru a genera un nou cod',
|
|
26
|
+
errInvalidCode: 'Codul este incorect',
|
|
27
|
+
errExceededAttempts: 'Prea multe încercări. Încercați din nou mai târziu',
|
|
28
|
+
errExpiredToken: 'Codul a expirat, retrimiteți codul',
|
|
29
|
+
errInvalidPhone: 'Numărul de telefon furnizat este invalid'
|
|
30
30
|
},
|
|
31
31
|
fr: {
|
|
32
|
-
title: 'SMS
|
|
33
|
-
subtitle: '
|
|
34
|
-
btnSend: '
|
|
35
|
-
btnResend: '
|
|
36
|
-
btnActivate: '
|
|
37
|
-
msgEnterCode: '
|
|
38
|
-
msgResendNotice: '
|
|
39
|
-
errGenerateCode: '
|
|
40
|
-
errInvalidCode: '
|
|
41
|
-
errExceededAttempts: '
|
|
42
|
-
errExpiredToken: '
|
|
43
|
-
errInvalidPhone: '
|
|
32
|
+
title: 'Vérification SMS requise',
|
|
33
|
+
subtitle: 'Vous devez vérifier votre numéro de téléphone',
|
|
34
|
+
btnSend: 'Envoyer le code',
|
|
35
|
+
btnResend: 'Renvoyer le code',
|
|
36
|
+
btnActivate: 'Activer',
|
|
37
|
+
msgEnterCode: 'Veuillez entrer le code de vérification reçu sur votre numéro',
|
|
38
|
+
msgResendNotice: 'Un nouveau code de vérification a été envoyé à votre numéro de téléphone',
|
|
39
|
+
errGenerateCode: 'Une erreur est survenue lors de la génération de votre code. Cliquez sur le bouton renvoyer pour générer un nouveau code',
|
|
40
|
+
errInvalidCode: 'Le code est incorrect',
|
|
41
|
+
errExceededAttempts: 'Trop de tentatives. Réessayez plus tard',
|
|
42
|
+
errExpiredToken: 'Le code a expiré, renvoyez le code',
|
|
43
|
+
errInvalidPhone: 'Le numéro de téléphone fourni est invalide'
|
|
44
44
|
},
|
|
45
45
|
hu: {
|
|
46
46
|
title: 'SMS Verification required',
|
|
@@ -85,32 +85,32 @@ const TRANSLATIONS = {
|
|
|
85
85
|
errInvalidPhone: 'The provided phone number is invalid'
|
|
86
86
|
},
|
|
87
87
|
es: {
|
|
88
|
-
title: 'SMS
|
|
89
|
-
subtitle: '
|
|
90
|
-
btnSend: '
|
|
91
|
-
btnResend: '
|
|
92
|
-
btnActivate: '
|
|
93
|
-
msgEnterCode: '
|
|
94
|
-
msgResendNotice: '
|
|
95
|
-
errGenerateCode: '
|
|
96
|
-
errInvalidCode: '
|
|
97
|
-
errExceededAttempts: '
|
|
98
|
-
errExpiredToken: '
|
|
99
|
-
errInvalidPhone: '
|
|
88
|
+
title: 'Verificación por SMS requerida',
|
|
89
|
+
subtitle: 'Debe verificar su número de teléfono',
|
|
90
|
+
btnSend: 'Enviar código',
|
|
91
|
+
btnResend: 'Reenviar código',
|
|
92
|
+
btnActivate: 'Activar',
|
|
93
|
+
msgEnterCode: 'Por favor, introduzca el código de verificación recibido en su número',
|
|
94
|
+
msgResendNotice: 'Se ha enviado un nuevo código de verificación a su número de teléfono',
|
|
95
|
+
errGenerateCode: 'Ocurrió un error al generar su código. Haga clic en el botón de reenviar para generar un nuevo código',
|
|
96
|
+
errInvalidCode: 'El código es incorrecto',
|
|
97
|
+
errExceededAttempts: 'Demasiados intentos. Inténtelo más tarde',
|
|
98
|
+
errExpiredToken: 'El código ha expirado, reenviar código',
|
|
99
|
+
errInvalidPhone: 'El número de teléfono proporcionado no es válido'
|
|
100
100
|
},
|
|
101
101
|
pt: {
|
|
102
|
-
title: 'SMS
|
|
103
|
-
subtitle: '
|
|
104
|
-
btnSend: '
|
|
105
|
-
btnResend: '
|
|
106
|
-
btnActivate: '
|
|
107
|
-
msgEnterCode: '
|
|
108
|
-
msgResendNotice: '
|
|
109
|
-
errGenerateCode: '
|
|
110
|
-
errInvalidCode: '
|
|
111
|
-
errExceededAttempts: '
|
|
112
|
-
errExpiredToken: '
|
|
113
|
-
errInvalidPhone: '
|
|
102
|
+
title: 'Verificação SMS necessária',
|
|
103
|
+
subtitle: 'Você precisa verificar seu número de telefone',
|
|
104
|
+
btnSend: 'Enviar código',
|
|
105
|
+
btnResend: 'Reenviar código',
|
|
106
|
+
btnActivate: 'Ativar',
|
|
107
|
+
msgEnterCode: 'Por favor, insira o código de verificação recebido no seu número',
|
|
108
|
+
msgResendNotice: 'Um novo código de verificação foi enviado para o seu número de telefone',
|
|
109
|
+
errGenerateCode: 'Ocorreu um erro ao gerar seu código. Clique no botão reenviar para gerar um novo código',
|
|
110
|
+
errInvalidCode: 'O código está incorreto',
|
|
111
|
+
errExceededAttempts: 'Muitas tentativas. Tente novamente mais tarde',
|
|
112
|
+
errExpiredToken: 'O código expirou, reenviar código',
|
|
113
|
+
errInvalidPhone: 'O número de telefone fornecido é inválido'
|
|
114
114
|
},
|
|
115
115
|
hr: {
|
|
116
116
|
title: 'SMS verifikacija je potrebna',
|
|
@@ -126,6 +126,48 @@ const TRANSLATIONS = {
|
|
|
126
126
|
errExpiredToken: 'Verifikacijski kod je istekao, ponovno zatražite kod',
|
|
127
127
|
errInvalidPhone: 'Navedeni telefonski broj je nevažeći'
|
|
128
128
|
},
|
|
129
|
+
de: {
|
|
130
|
+
title: 'SMS-Verifizierung erforderlich',
|
|
131
|
+
subtitle: 'Sie müssen Ihre Telefonnummer verifizieren',
|
|
132
|
+
btnSend: 'Code senden',
|
|
133
|
+
btnResend: 'Code erneut senden',
|
|
134
|
+
btnActivate: 'Aktivieren',
|
|
135
|
+
msgEnterCode: 'Bitte geben Sie den Verifizierungscode ein, den Sie auf Ihrer Nummer erhalten haben',
|
|
136
|
+
msgResendNotice: 'Ein neuer Verifizierungscode wurde an Ihre Telefonnummer gesendet',
|
|
137
|
+
errGenerateCode: 'Es ist ein Fehler bei der Generierung Ihres Codes aufgetreten. Klicken Sie auf die Schaltfläche zum erneuten Senden, um einen neuen Code zu generieren',
|
|
138
|
+
errInvalidCode: 'Der Code ist falsch',
|
|
139
|
+
errExceededAttempts: 'Zu viele Versuche. Bitte versuchen Sie es später erneut',
|
|
140
|
+
errExpiredToken: 'Der Code ist abgelaufen, bitte erneut senden',
|
|
141
|
+
errInvalidPhone: 'Die angegebene Telefonnummer ist ungültig'
|
|
142
|
+
},
|
|
143
|
+
'es-mx': {
|
|
144
|
+
title: 'Verificación por SMS requerida',
|
|
145
|
+
subtitle: 'Debe verificar su número de teléfono',
|
|
146
|
+
btnSend: 'Enviar código',
|
|
147
|
+
btnResend: 'Reenviar código',
|
|
148
|
+
btnActivate: 'Activar',
|
|
149
|
+
msgEnterCode: 'Por favor, introduzca el código de verificación recibido en su número',
|
|
150
|
+
msgResendNotice: 'Se ha enviado un nuevo código de verificación a su número de teléfono',
|
|
151
|
+
errGenerateCode: 'Ocurrió un error al generar su código. Haga clic en el botón de reenviar para generar un nuevo código',
|
|
152
|
+
errInvalidCode: 'El código es incorrecto',
|
|
153
|
+
errExceededAttempts: 'Demasiados intentos. Inténtelo más tarde',
|
|
154
|
+
errExpiredToken: 'El código ha expirado, reenviar código',
|
|
155
|
+
errInvalidPhone: 'El número de teléfono proporcionado no es válido'
|
|
156
|
+
},
|
|
157
|
+
'pt-br': {
|
|
158
|
+
title: 'Verificação SMS necessária',
|
|
159
|
+
subtitle: 'Você precisa verificar seu número de telefone',
|
|
160
|
+
btnSend: 'Enviar código',
|
|
161
|
+
btnResend: 'Reenviar código',
|
|
162
|
+
btnActivate: 'Ativar',
|
|
163
|
+
msgEnterCode: 'Por favor, insira o código de verificação recebido no seu número',
|
|
164
|
+
msgResendNotice: 'Um novo código de verificação foi enviado para o seu número de telefone',
|
|
165
|
+
errGenerateCode: 'Ocorreu um erro ao gerar seu código. Clique no botão reenviar para gerar um novo código',
|
|
166
|
+
errInvalidCode: 'O código está incorreto',
|
|
167
|
+
errExceededAttempts: 'Muitas tentativas. Tente novamente mais tarde',
|
|
168
|
+
errExpiredToken: 'O código expirou, reenviar código',
|
|
169
|
+
errInvalidPhone: 'O número de telefone fornecido é inválido'
|
|
170
|
+
}
|
|
129
171
|
};
|
|
130
172
|
export const getTranslations = (url) => {
|
|
131
173
|
return new Promise((resolve) => {
|