@everymatrix/general-player-register-form-step3 0.0.367 → 0.0.368

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/src/i18n.js CHANGED
@@ -1,27 +1,27 @@
1
- import {
2
- dictionary,
3
- locale,
4
- addMessages,
5
- _
6
- } from 'svelte-i18n';
7
-
8
- function setupI18n({ withLocale: _locale, translations }) {
9
- locale.subscribe((data) => {
10
- if (data == null) {
11
- dictionary.set(translations);
12
- locale.set(_locale);
13
- }
14
- }); // maybe we will need this to make sure that the i18n is set up only once
15
- /*dictionary.set(translations);
16
- locale.set(_locale);*/
17
- }
18
-
19
- function addNewMessages(lang, dict) {
20
- addMessages(lang, dict);
21
- }
22
-
23
- function setLocale(_locale) {
24
- locale.set(_locale);
25
- }
26
-
27
- export { _, setupI18n, addNewMessages, setLocale };
1
+ import {
2
+ dictionary,
3
+ locale,
4
+ addMessages,
5
+ _
6
+ } from 'svelte-i18n';
7
+
8
+ function setupI18n({ withLocale: _locale, translations }) {
9
+ locale.subscribe((data) => {
10
+ if (data == null) {
11
+ dictionary.set(translations);
12
+ locale.set(_locale);
13
+ }
14
+ }); // maybe we will need this to make sure that the i18n is set up only once
15
+ /*dictionary.set(translations);
16
+ locale.set(_locale);*/
17
+ }
18
+
19
+ function addNewMessages(lang, dict) {
20
+ addMessages(lang, dict);
21
+ }
22
+
23
+ function setLocale(_locale) {
24
+ locale.set(_locale);
25
+ }
26
+
27
+ export { _, setupI18n, addNewMessages, setLocale };
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- import GeneralPlayerRegisterFormStep3 from './GeneralPlayerRegisterFormStep3.svelte';
2
-
3
- !customElements.get('general-player-register-form-step3') && customElements.define('general-player-register-form-step3', GeneralPlayerRegisterFormStep3);
4
- export default GeneralPlayerRegisterFormStep3;
1
+ import GeneralPlayerRegisterFormStep3 from './GeneralPlayerRegisterFormStep3.svelte';
2
+
3
+ !customElements.get('general-player-register-form-step3') && customElements.define('general-player-register-form-step3', GeneralPlayerRegisterFormStep3);
4
+ export default GeneralPlayerRegisterFormStep3;
@@ -1,149 +1,149 @@
1
- export const RegisterFormStep3Translations = {
2
- en: {
3
- registerFormStep3: {
4
- registerBackButton: 'Back',
5
- registerAddress: 'Address',
6
- registerAddressError: 'Address must be at least 1 character long and 100 characters maximum.',
7
- registerPostalCode: 'Postal Code',
8
- registerPostalCodeError: 'Postal Code must be at least 1 character long and 20 characters maximum.',
9
- registerCity: 'City',
10
- registerCityError: 'City must be at least 1 character long and 50 characters maximum.',
11
- registerCountry: 'Country',
12
- registerNationality: 'Nationality',
13
- registerMobile: 'Mobile',
14
- registerMobileError: 'Mobile must be at least 5 character long and 20 characters maximum.',
15
- registerUserConsents: 'I want to receive exclusive offers and bonuses. I am aware that I can unsubscribe whenever I want to.',
16
- registerUserConsentsSMS: 'SMS',
17
- registerUserConsentsEmail: 'Email',
18
- registerTermsConditions: 'I am at least 18 years old and I have read and accepted the Terms of Conditions.',
19
- registerTermsConditionsError: 'Please accept the Terms and Conditions before proceeding.',
20
- registerOpenAccount: 'Open Account'
21
- }
22
- },
23
- zh: {
24
- registerFormStep3: {
25
- registerBackButton: '後退',
26
- registerAddress: '地址',
27
- registerAddressError: '地址必須至少 1 個字符長,最多 100 個字符。',
28
- registerPostalCode: '郵政編碼',
29
- registerPostalCodeError: '郵政編碼必須至少 1 個字符長,最多 20 個字符。',
30
- registerCity: '城市',
31
- registerCityError: '城市必須至少 1 個字符長,最多 50 個字符。',
32
- registerCountry: '國家',
33
- registerNationality: '國籍',
34
- registerMobile: '移動的',
35
- registerMobileError: '移動設備的長度必須至少為 5 個字符,最多 20 個字符。',
36
- registerUserConsents: '我想收到獨家優惠和獎金。 我知道我可以隨時取消訂閱。',
37
- registerUserConsentsSMS: '短信',
38
- registerUserConsentsEmail: '電子郵件',
39
- registerTermsConditions: '我至少 18 歲,並且我已閱讀並接受條件條款。',
40
- registerTermsConditionsError: '請在繼續之前接受條款和條件。',
41
- registerOpenAccount: '開戶口'
42
- }
43
- },
44
- fr: {
45
- registerFormStep3: {
46
- registerBackButton: 'Retour',
47
- registerAddress: 'Adresse',
48
- registerAddressError: 'L\'adresse doit comporter au moins un caractère et 100 caractères au maximum.',
49
- registerPostalCode: 'Code postal',
50
- registerPostalCodeError: 'Le code postal doit comporter au moins un caractère et 20 caractères au maximum.',
51
- registerCity: 'Ville',
52
- registerCityError: 'La ville doit comporter au moins un caractère et 50 caractères au maximum.',
53
- registerCountry: 'Pays',
54
- registerNationality: 'Nationalité',
55
- registerMobile: 'Téléphone',
56
- registerMobileError: 'Le téléphone doit comporter au moins 5 caractère et 20 caractères au maximum.',
57
- registerUserConsents: 'Je veux recevoir des offres exclusives et des bonus , je sais que je peux me désinscrire quand je le veux.',
58
- registerUserConsentsSMS: 'SMS',
59
- registerUserConsentsEmail: 'Email',
60
- registerTermsConditions: 'J\'ai au moins 18 ans et j\'ai lu et accepté les conditions d\'utilisation.',
61
- registerTermsConditionsError: 'Veuillez accepter les termes et conditions avant de poursuivre.',
62
- registerOpenAccount: 'Ouvrir un compte'
63
- }
64
- },
65
- tr: {
66
- registerFormStep3: {
67
- registerBackButton: 'Geri',
68
- registerAddress: 'Adres',
69
- registerAddressError: 'Adres en az 1 karakter uzunluğunda ve en fazla 100 karakter olmalıdır.',
70
- registerPostalCode: 'Posta kodu',
71
- registerPostalCodeError: 'Posta Kodu en az 1 karakter uzunluğunda ve en fazla 20 karakter olmalıdır.',
72
- registerCity: 'Şehir',
73
- registerCityError: 'Şehir en az 1 karakter uzunluğunda ve en fazla 50 karakter olmalıdır.',
74
- registerCountry: 'Ülke',
75
- registerNationality: 'Milliyet',
76
- registerMobile: 'Mobil',
77
- registerMobileError: 'Mobil en az 5 karakter uzunluğunda ve en fazla 20 karakter olmalıdır.',
78
- registerUserConsents: 'Özel teklifler ve bonuslar almak istiyorum. İstediğim zaman abonelikten çıkabileceğimin farkındayım.',
79
- registerUserConsentsSMS: 'SMS',
80
- registerUserConsentsEmail: 'E-posta',
81
- registerTermsConditions: 'En az 18 yaşındayım ve Koşullar\'ı okudum ve kabul ediyorum.',
82
- registerTermsConditionsError: 'Lütfen devam etmeden önce Şartlar ve Koşulları kabul edin.',
83
- registerOpenAccount: 'Hesap Aç'
84
- }
85
- },
86
- ro: {
87
- registerFormStep3: {
88
- registerBackButton: 'Inapoi',
89
- registerAddress: 'Adresa',
90
- registerAddressError: 'Adresa trebuie sa fie cuprinsa in 1 si 100 de litere.',
91
- registerPostalCode: 'Cod Postal',
92
- registerPostalCodeError: 'Codul postal trebuie sa fie cuprins intre 1 si 20 de caractere.',
93
- registerCity: 'Oras',
94
- registerCityError: 'Orasul trebuie sa fie cuprins intre 1 si 50 de litere.',
95
- registerCountry: 'Tara',
96
- registerNationality: 'Nationalitatea',
97
- registerMobile: 'Telefon',
98
- registerMobileError: 'Telefonul trebuie sa fie cuprins intre 5 si 20 de cifre.',
99
- registerUserConsents: 'Vreau sa primesc oferte si bonusuri exclusive. Sunt constient ca pot sa dau unsubscribe oricand.',
100
- registerUserConsentsSMS: 'SMS',
101
- registerUserConsentsEmail: 'Email',
102
- registerTermsConditions: 'Am minim 18 ani si am citit si acceptat Termenii si Conditiile',
103
- registerTermsConditionsError: 'Te rog accepta Termenii si Conditiile',
104
- registerOpenAccount: 'Inregistrare'
105
- }
106
- },
107
- es: {
108
- registerFormStep3: {
109
- registerBackButton: 'Regresar',
110
- registerAddress: 'Dirección',
111
- registerAddressError: 'La dirección debe tener al menos 1 carácter y un máximo de 100 caracteres.',
112
- registerPostalCode: 'Código postal',
113
- registerPostalCodeError: 'El código postal debe tener al menos 1 carácter y un máximo de 20 caracteres.',
114
- registerCity: 'Ciudad',
115
- registerCityError: 'La ciudad debe tener al menos 1 carácter y un máximo de 50 caracteres.',
116
- registerCountry: 'País',
117
- registerNationality: 'Nacionalidad',
118
- registerMobile: 'Móvil:',
119
- registerMobileError: 'El móvil debe tener mínimo 5 caracteres y máximo 20 caracteres.',
120
- registerUserConsents: 'Quiero recibir ofertas y bonos exclusivos. Entiendo que puedo darme de baja en cualquier momento.',
121
- registerUserConsentsSMS: 'SMS',
122
- registerUserConsentsEmail: 'E-mail',
123
- registerTermsConditions: 'Soy mayor de 18 años y he leído y acepto los Términos de Condiciones.',
124
- registerTermsConditionsError: 'Por favor, acepte los Términos y Condiciones antes de continuar.',
125
- registerOpenAccount: 'Abrir cuenta'
126
- }
127
- },
128
- pt: {
129
- registerFormStep3: {
130
- registerBackButton: 'Voltar',
131
- registerAddress: 'Endereço',
132
- registerAddressError: 'O endereço deve ter pelo menos 1 caractere e no máximo 100 caracteres.',
133
- registerPostalCode: 'CEP',
134
- registerPostalCodeError: 'O CEP deve ter pelo menos 1 caractere e no máximo 20 caracteres.',
135
- registerCity: 'Cidade',
136
- registerCityError: 'A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.',
137
- registerCountry: 'País',
138
- registerNationality: 'Nacionalidade',
139
- registerMobile: 'Celular',
140
- registerMobileError: 'O celular deve ter pelo menos 5 caracteres e no máximo 20 caracteres.',
141
- registerUserConsents: 'Quero receber ofertas e bônus exclusivos. Estou ciente de que posso cancelar a inscrição quando quiser.',
142
- registerUserConsentsSMS: 'SMS',
143
- registerUserConsentsEmail: 'E-mail',
144
- registerTermsConditions: 'Tenho pelo menos 18 anos e li e aceito os Termos de Condições.',
145
- registerTermsConditionsError: 'Por favor, aceite os Termos e Condições antes de prosseguir.',
146
- registerOpenAccount: 'Abrir conta'
147
- }
148
- },
149
- };
1
+ export const RegisterFormStep3Translations = {
2
+ en: {
3
+ registerFormStep3: {
4
+ registerBackButton: 'Back',
5
+ registerAddress: 'Address',
6
+ registerAddressError: 'Address must be at least 1 character long and 100 characters maximum.',
7
+ registerPostalCode: 'Postal Code',
8
+ registerPostalCodeError: 'Postal Code must be at least 1 character long and 20 characters maximum.',
9
+ registerCity: 'City',
10
+ registerCityError: 'City must be at least 1 character long and 50 characters maximum.',
11
+ registerCountry: 'Country',
12
+ registerNationality: 'Nationality',
13
+ registerMobile: 'Mobile',
14
+ registerMobileError: 'Mobile must be at least 5 character long and 20 characters maximum.',
15
+ registerUserConsents: 'I want to receive exclusive offers and bonuses. I am aware that I can unsubscribe whenever I want to.',
16
+ registerUserConsentsSMS: 'SMS',
17
+ registerUserConsentsEmail: 'Email',
18
+ registerTermsConditions: 'I am at least 18 years old and I have read and accepted the Terms of Conditions.',
19
+ registerTermsConditionsError: 'Please accept the Terms and Conditions before proceeding.',
20
+ registerOpenAccount: 'Open Account'
21
+ }
22
+ },
23
+ zh: {
24
+ registerFormStep3: {
25
+ registerBackButton: '後退',
26
+ registerAddress: '地址',
27
+ registerAddressError: '地址必須至少 1 個字符長,最多 100 個字符。',
28
+ registerPostalCode: '郵政編碼',
29
+ registerPostalCodeError: '郵政編碼必須至少 1 個字符長,最多 20 個字符。',
30
+ registerCity: '城市',
31
+ registerCityError: '城市必須至少 1 個字符長,最多 50 個字符。',
32
+ registerCountry: '國家',
33
+ registerNationality: '國籍',
34
+ registerMobile: '移動的',
35
+ registerMobileError: '移動設備的長度必須至少為 5 個字符,最多 20 個字符。',
36
+ registerUserConsents: '我想收到獨家優惠和獎金。 我知道我可以隨時取消訂閱。',
37
+ registerUserConsentsSMS: '短信',
38
+ registerUserConsentsEmail: '電子郵件',
39
+ registerTermsConditions: '我至少 18 歲,並且我已閱讀並接受條件條款。',
40
+ registerTermsConditionsError: '請在繼續之前接受條款和條件。',
41
+ registerOpenAccount: '開戶口'
42
+ }
43
+ },
44
+ fr: {
45
+ registerFormStep3: {
46
+ registerBackButton: 'Retour',
47
+ registerAddress: 'Adresse',
48
+ registerAddressError: 'L\'adresse doit comporter au moins un caractère et 100 caractères au maximum.',
49
+ registerPostalCode: 'Code postal',
50
+ registerPostalCodeError: 'Le code postal doit comporter au moins un caractère et 20 caractères au maximum.',
51
+ registerCity: 'Ville',
52
+ registerCityError: 'La ville doit comporter au moins un caractère et 50 caractères au maximum.',
53
+ registerCountry: 'Pays',
54
+ registerNationality: 'Nationalité',
55
+ registerMobile: 'Téléphone',
56
+ registerMobileError: 'Le téléphone doit comporter au moins 5 caractère et 20 caractères au maximum.',
57
+ registerUserConsents: 'Je veux recevoir des offres exclusives et des bonus , je sais que je peux me désinscrire quand je le veux.',
58
+ registerUserConsentsSMS: 'SMS',
59
+ registerUserConsentsEmail: 'Email',
60
+ registerTermsConditions: 'J\'ai au moins 18 ans et j\'ai lu et accepté les conditions d\'utilisation.',
61
+ registerTermsConditionsError: 'Veuillez accepter les termes et conditions avant de poursuivre.',
62
+ registerOpenAccount: 'Ouvrir un compte'
63
+ }
64
+ },
65
+ tr: {
66
+ registerFormStep3: {
67
+ registerBackButton: 'Geri',
68
+ registerAddress: 'Adres',
69
+ registerAddressError: 'Adres en az 1 karakter uzunluğunda ve en fazla 100 karakter olmalıdır.',
70
+ registerPostalCode: 'Posta kodu',
71
+ registerPostalCodeError: 'Posta Kodu en az 1 karakter uzunluğunda ve en fazla 20 karakter olmalıdır.',
72
+ registerCity: 'Şehir',
73
+ registerCityError: 'Şehir en az 1 karakter uzunluğunda ve en fazla 50 karakter olmalıdır.',
74
+ registerCountry: 'Ülke',
75
+ registerNationality: 'Milliyet',
76
+ registerMobile: 'Mobil',
77
+ registerMobileError: 'Mobil en az 5 karakter uzunluğunda ve en fazla 20 karakter olmalıdır.',
78
+ registerUserConsents: 'Özel teklifler ve bonuslar almak istiyorum. İstediğim zaman abonelikten çıkabileceğimin farkındayım.',
79
+ registerUserConsentsSMS: 'SMS',
80
+ registerUserConsentsEmail: 'E-posta',
81
+ registerTermsConditions: 'En az 18 yaşındayım ve Koşullar\'ı okudum ve kabul ediyorum.',
82
+ registerTermsConditionsError: 'Lütfen devam etmeden önce Şartlar ve Koşulları kabul edin.',
83
+ registerOpenAccount: 'Hesap Aç'
84
+ }
85
+ },
86
+ ro: {
87
+ registerFormStep3: {
88
+ registerBackButton: 'Inapoi',
89
+ registerAddress: 'Adresa',
90
+ registerAddressError: 'Adresa trebuie sa fie cuprinsa in 1 si 100 de litere.',
91
+ registerPostalCode: 'Cod Postal',
92
+ registerPostalCodeError: 'Codul postal trebuie sa fie cuprins intre 1 si 20 de caractere.',
93
+ registerCity: 'Oras',
94
+ registerCityError: 'Orasul trebuie sa fie cuprins intre 1 si 50 de litere.',
95
+ registerCountry: 'Tara',
96
+ registerNationality: 'Nationalitatea',
97
+ registerMobile: 'Telefon',
98
+ registerMobileError: 'Telefonul trebuie sa fie cuprins intre 5 si 20 de cifre.',
99
+ registerUserConsents: 'Vreau sa primesc oferte si bonusuri exclusive. Sunt constient ca pot sa dau unsubscribe oricand.',
100
+ registerUserConsentsSMS: 'SMS',
101
+ registerUserConsentsEmail: 'Email',
102
+ registerTermsConditions: 'Am minim 18 ani si am citit si acceptat Termenii si Conditiile',
103
+ registerTermsConditionsError: 'Te rog accepta Termenii si Conditiile',
104
+ registerOpenAccount: 'Inregistrare'
105
+ }
106
+ },
107
+ es: {
108
+ registerFormStep3: {
109
+ registerBackButton: 'Regresar',
110
+ registerAddress: 'Dirección',
111
+ registerAddressError: 'La dirección debe tener al menos 1 carácter y un máximo de 100 caracteres.',
112
+ registerPostalCode: 'Código postal',
113
+ registerPostalCodeError: 'El código postal debe tener al menos 1 carácter y un máximo de 20 caracteres.',
114
+ registerCity: 'Ciudad',
115
+ registerCityError: 'La ciudad debe tener al menos 1 carácter y un máximo de 50 caracteres.',
116
+ registerCountry: 'País',
117
+ registerNationality: 'Nacionalidad',
118
+ registerMobile: 'Móvil:',
119
+ registerMobileError: 'El móvil debe tener mínimo 5 caracteres y máximo 20 caracteres.',
120
+ registerUserConsents: 'Quiero recibir ofertas y bonos exclusivos. Entiendo que puedo darme de baja en cualquier momento.',
121
+ registerUserConsentsSMS: 'SMS',
122
+ registerUserConsentsEmail: 'E-mail',
123
+ registerTermsConditions: 'Soy mayor de 18 años y he leído y acepto los Términos de Condiciones.',
124
+ registerTermsConditionsError: 'Por favor, acepte los Términos y Condiciones antes de continuar.',
125
+ registerOpenAccount: 'Abrir cuenta'
126
+ }
127
+ },
128
+ pt: {
129
+ registerFormStep3: {
130
+ registerBackButton: 'Voltar',
131
+ registerAddress: 'Endereço',
132
+ registerAddressError: 'O endereço deve ter pelo menos 1 caractere e no máximo 100 caracteres.',
133
+ registerPostalCode: 'CEP',
134
+ registerPostalCodeError: 'O CEP deve ter pelo menos 1 caractere e no máximo 20 caracteres.',
135
+ registerCity: 'Cidade',
136
+ registerCityError: 'A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.',
137
+ registerCountry: 'País',
138
+ registerNationality: 'Nacionalidade',
139
+ registerMobile: 'Celular',
140
+ registerMobileError: 'O celular deve ter pelo menos 5 caracteres e no máximo 20 caracteres.',
141
+ registerUserConsents: 'Quero receber ofertas e bônus exclusivos. Estou ciente de que posso cancelar a inscrição quando quiser.',
142
+ registerUserConsentsSMS: 'SMS',
143
+ registerUserConsentsEmail: 'E-mail',
144
+ registerTermsConditions: 'Tenho pelo menos 18 anos e li e aceito os Termos de Condições.',
145
+ registerTermsConditionsError: 'Por favor, aceite os Termos e Condições antes de prosseguir.',
146
+ registerOpenAccount: 'Abrir conta'
147
+ }
148
+ },
149
+ };
@@ -1,13 +1,13 @@
1
- import { html } from 'lit-element';
2
-
3
- import GeneralPlayerRegisterFormStep3 from '../src/GeneralPlayerRegisterFormStep3';
4
-
5
- // This default export determines where your story goes in the story list
6
- export default {
7
- title: 'GeneralPlayerRegisterFormStep3',
8
- };
9
-
10
- // 👇 We create a “template” of how args map to rendering
11
- const GeneralPlayerRegisterFormStep3 = ({ aProperty }) => html`<general-player-register-form-step3></general-player-register-form-step3>`;
12
-
13
- export const FirstStory = GeneralPlayerRegisterFormStep3.bind({});
1
+ import { html } from 'lit-element';
2
+
3
+ import GeneralPlayerRegisterFormStep3 from '../src/GeneralPlayerRegisterFormStep3';
4
+
5
+ // This default export determines where your story goes in the story list
6
+ export default {
7
+ title: 'GeneralPlayerRegisterFormStep3',
8
+ };
9
+
10
+ // 👇 We create a “template” of how args map to rendering
11
+ const GeneralPlayerRegisterFormStep3 = ({ aProperty }) => html`<general-player-register-form-step3></general-player-register-form-step3>`;
12
+
13
+ export const FirstStory = GeneralPlayerRegisterFormStep3.bind({});
package/tsconfig.json CHANGED
@@ -1,6 +1,6 @@
1
- {
2
- "extends": "@tsconfig/svelte/tsconfig.json",
3
-
4
- "include": ["src/**/*"],
5
- "exclude": ["node_modules/*", "__sapper__/*", "public/*"]
6
- }
1
+ {
2
+ "extends": "@tsconfig/svelte/tsconfig.json",
3
+
4
+ "include": ["src/**/*"],
5
+ "exclude": ["node_modules/*", "__sapper__/*", "public/*"]
6
+ }