@everymatrix/player-account-menu 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 PlayerAccountMenu from './PlayerAccountMenu.svelte';
2
-
3
- !customElements.get('player-account-menu') && customElements.define('player-account-menu', PlayerAccountMenu);
4
- export default PlayerAccountMenu;
1
+ import PlayerAccountMenu from './PlayerAccountMenu.svelte';
2
+
3
+ !customElements.get('player-account-menu') && customElements.define('player-account-menu', PlayerAccountMenu);
4
+ export default PlayerAccountMenu;
@@ -1,37 +1,37 @@
1
- export const PlayerMyAccountTranslations = {
2
- en: {
3
- myAccount: {
4
- title: `My Account`,
5
- },
6
- },
7
- zh: {
8
- myAccount: {
9
- title: `我的帳戶`,
10
- },
11
- },
12
- fr: {
13
- myAccount: {
14
- title: `Mon compte`,
15
- },
16
- },
17
- tr: {
18
- myAccount: {
19
- title: `Hesabım`,
20
- },
21
- },
22
- ro: {
23
- myAccount: {
24
- title: `Contul meu`,
25
- },
26
- },
27
- es: {
28
- myAccount: {
29
- title: `Mi Cuenta`,
30
- },
31
- },
32
- pt: {
33
- myAccount: {
34
- title: `Minha Conta`,
35
- },
36
- },
37
- };
1
+ export const PlayerMyAccountTranslations = {
2
+ en: {
3
+ myAccount: {
4
+ title: `My Account`,
5
+ },
6
+ },
7
+ zh: {
8
+ myAccount: {
9
+ title: `我的帳戶`,
10
+ },
11
+ },
12
+ fr: {
13
+ myAccount: {
14
+ title: `Mon compte`,
15
+ },
16
+ },
17
+ tr: {
18
+ myAccount: {
19
+ title: `Hesabım`,
20
+ },
21
+ },
22
+ ro: {
23
+ myAccount: {
24
+ title: `Contul meu`,
25
+ },
26
+ },
27
+ es: {
28
+ myAccount: {
29
+ title: `Mi Cuenta`,
30
+ },
31
+ },
32
+ pt: {
33
+ myAccount: {
34
+ title: `Minha Conta`,
35
+ },
36
+ },
37
+ };
@@ -1,13 +1,13 @@
1
- import { html } from 'lit-element';
2
-
3
- import PlayerAccountMenu from '../src/PlayerAccountMenu';
4
-
5
- // This default export determines where your story goes in the story list
6
- export default {
7
- title: 'PlayerAccountMenu',
8
- };
9
-
10
- // 👇 We create a “template” of how args map to rendering
11
- const PlayerAccountMenu = ({ aProperty }) => html`<player-account-menu></player-account-menu>`;
12
-
13
- export const FirstStory = PlayerAccountMenu.bind({});
1
+ import { html } from 'lit-element';
2
+
3
+ import PlayerAccountMenu from '../src/PlayerAccountMenu';
4
+
5
+ // This default export determines where your story goes in the story list
6
+ export default {
7
+ title: 'PlayerAccountMenu',
8
+ };
9
+
10
+ // 👇 We create a “template” of how args map to rendering
11
+ const PlayerAccountMenu = ({ aProperty }) => html`<player-account-menu></player-account-menu>`;
12
+
13
+ export const FirstStory = PlayerAccountMenu.bind({});
@@ -1,82 +1,82 @@
1
- export const PlayerAccountMenuTranslations = {
2
- en: {
3
- myAccount: 'My Account',
4
- profileInfo: 'Profile info',
5
- accountSecurity: 'Account Security',
6
- deposit: 'Deposit',
7
- withdrawal: 'Withdrawal',
8
- activeBonuses: 'Active bonuses',
9
- selfExclusion: 'Self-exclusion',
10
- accountClosure: 'Account closure'
11
- },
12
- de: {
13
- myAccount: 'Mein Konto',
14
- profileInfo: 'Profil Information',
15
- accountSecurity: 'Konto Sicherheit',
16
- deposit: 'Anzahlung',
17
- withdrawal: 'Rückzug',
18
- activeBonuses: 'Aktive Boni',
19
- selfExclusion: 'Selbstausschluss',
20
- accountClosure: 'Kontoschließung'
21
- },
22
- it: {
23
- myAccount: 'Il mio conto',
24
- profileInfo: 'Informazioni sul profilo',
25
- accountSecurity: 'Sicurezza dell \'Account',
26
- deposit: 'Depositare',
27
- withdrawal: 'Ritiro',
28
- activeBonuses: 'Bonus attivi',
29
- selfExclusion: 'Autoesclusione',
30
- accountClosure: 'Chiusura del conto'
31
- },
32
- fr: {
33
- myAccount: 'Mon compte',
34
- profileInfo: 'Informations sur le profil',
35
- accountSecurity: 'Sécurité du compte',
36
- deposit: 'Dépôt',
37
- withdrawal: 'Retrait',
38
- activeBonuses: 'Bonus actifs',
39
- selfExclusion: 'Auto-exclusion',
40
- accountClosure: 'La fermeture du compte'
41
- },
42
- es: {
43
- myAccount: 'Mi cuenta',
44
- profileInfo: 'Información de perfil',
45
- accountSecurity: 'Seguridad de la cuenta',
46
- deposit: 'Depositar',
47
- withdrawal: 'Retiro',
48
- activeBonuses: 'Bonificaciones activas',
49
- selfExclusion: 'Autoexclusión',
50
- accountClosure: 'Cierre de cuenta'
51
- },
52
- tr: {
53
- myAccount: 'Hesabım',
54
- profileInfo: 'Profil bilgisi',
55
- accountSecurity: 'hesap Güvenliği',
56
- deposit: 'Depozito',
57
- withdrawal: 'Para çekme',
58
- activeBonuses: 'Aktif bonuslar',
59
- selfExclusion: 'Kendini dışlama',
60
- accountClosure: 'Hesap kapatma'
61
- },
62
- ru: {
63
- myAccount: 'Мой аккаунт',
64
- profileInfo: 'Информация о профиле',
65
- accountSecurity: 'Безопасность аккаунта',
66
- deposit: 'Депозит',
67
- withdrawal: 'Вывод',
68
- activeBonuses: 'Активные бонусы',
69
- selfExclusion: 'Самоисключение',
70
- accountClosure: 'Закрытие счета'
71
- },
72
- ro: {
73
- myAccount: 'Contul meu',
74
- profileInfo: 'Informatii despre profil',
75
- accountSecurity: 'Securitatea contului',
76
- deposit: 'Depunere',
77
- withdrawal: 'Retragere',
78
- activeBonuses: 'Bonusuri active',
79
- selfExclusion: 'Auto-excludere',
80
- accountClosure: 'Inchiderea contului'
81
- }
82
- };
1
+ export const PlayerAccountMenuTranslations = {
2
+ en: {
3
+ myAccount: 'My Account',
4
+ profileInfo: 'Profile info',
5
+ accountSecurity: 'Account Security',
6
+ deposit: 'Deposit',
7
+ withdrawal: 'Withdrawal',
8
+ activeBonuses: 'Active bonuses',
9
+ selfExclusion: 'Self-exclusion',
10
+ accountClosure: 'Account closure'
11
+ },
12
+ de: {
13
+ myAccount: 'Mein Konto',
14
+ profileInfo: 'Profil Information',
15
+ accountSecurity: 'Konto Sicherheit',
16
+ deposit: 'Anzahlung',
17
+ withdrawal: 'Rückzug',
18
+ activeBonuses: 'Aktive Boni',
19
+ selfExclusion: 'Selbstausschluss',
20
+ accountClosure: 'Kontoschließung'
21
+ },
22
+ it: {
23
+ myAccount: 'Il mio conto',
24
+ profileInfo: 'Informazioni sul profilo',
25
+ accountSecurity: 'Sicurezza dell \'Account',
26
+ deposit: 'Depositare',
27
+ withdrawal: 'Ritiro',
28
+ activeBonuses: 'Bonus attivi',
29
+ selfExclusion: 'Autoesclusione',
30
+ accountClosure: 'Chiusura del conto'
31
+ },
32
+ fr: {
33
+ myAccount: 'Mon compte',
34
+ profileInfo: 'Informations sur le profil',
35
+ accountSecurity: 'Sécurité du compte',
36
+ deposit: 'Dépôt',
37
+ withdrawal: 'Retrait',
38
+ activeBonuses: 'Bonus actifs',
39
+ selfExclusion: 'Auto-exclusion',
40
+ accountClosure: 'La fermeture du compte'
41
+ },
42
+ es: {
43
+ myAccount: 'Mi cuenta',
44
+ profileInfo: 'Información de perfil',
45
+ accountSecurity: 'Seguridad de la cuenta',
46
+ deposit: 'Depositar',
47
+ withdrawal: 'Retiro',
48
+ activeBonuses: 'Bonificaciones activas',
49
+ selfExclusion: 'Autoexclusión',
50
+ accountClosure: 'Cierre de cuenta'
51
+ },
52
+ tr: {
53
+ myAccount: 'Hesabım',
54
+ profileInfo: 'Profil bilgisi',
55
+ accountSecurity: 'hesap Güvenliği',
56
+ deposit: 'Depozito',
57
+ withdrawal: 'Para çekme',
58
+ activeBonuses: 'Aktif bonuslar',
59
+ selfExclusion: 'Kendini dışlama',
60
+ accountClosure: 'Hesap kapatma'
61
+ },
62
+ ru: {
63
+ myAccount: 'Мой аккаунт',
64
+ profileInfo: 'Информация о профиле',
65
+ accountSecurity: 'Безопасность аккаунта',
66
+ deposit: 'Депозит',
67
+ withdrawal: 'Вывод',
68
+ activeBonuses: 'Активные бонусы',
69
+ selfExclusion: 'Самоисключение',
70
+ accountClosure: 'Закрытие счета'
71
+ },
72
+ ro: {
73
+ myAccount: 'Contul meu',
74
+ profileInfo: 'Informatii despre profil',
75
+ accountSecurity: 'Securitatea contului',
76
+ deposit: 'Depunere',
77
+ withdrawal: 'Retragere',
78
+ activeBonuses: 'Bonusuri active',
79
+ selfExclusion: 'Auto-excludere',
80
+ accountClosure: 'Inchiderea contului'
81
+ }
82
+ };
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
+ }