@everymatrix/player-withdrawal 0.0.367 → 0.0.369

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 PlayerWithdrawal from './PlayerWithdrawal.svelte';
2
-
3
- !customElements.get('player-withdrawal') && customElements.define('player-withdrawal', PlayerWithdrawal);
4
- export default PlayerWithdrawal;
1
+ import PlayerWithdrawal from './PlayerWithdrawal.svelte';
2
+
3
+ !customElements.get('player-withdrawal') && customElements.define('player-withdrawal', PlayerWithdrawal);
4
+ export default PlayerWithdrawal;
@@ -1,38 +1,38 @@
1
- export const PlayerWithdrawalTranslations = {
2
- en: {
3
- withdrawal: {
4
- title: `Withdrawal`,
5
- loading: `Loading, please wait ...`
6
- }
7
- },
8
- zh: {
9
- withdrawal: {
10
- title: `退出`,
11
- loading: `加載請稍候…`
12
- }
13
- },
14
- fr: {
15
- withdrawal: {
16
- title: `Retrait`,
17
- loading: `Chargement, veuillez patienter ...`
18
- }
19
- },
20
- ro: {
21
- withdrawal: {
22
- title: `Retragere`,
23
- loading: `Se încarcă...`
24
- }
25
- },
26
- es: {
27
- withdrawal: {
28
- title: `Retiro`,
29
- loading: `Cargando ... Por favor espere ...`
30
- }
31
- },
32
- pt: {
33
- withdrawal: {
34
- title: `Retirada`,
35
- loading: `Carregando, por favor espere ...`
36
- }
37
- },
38
- };
1
+ export const PlayerWithdrawalTranslations = {
2
+ en: {
3
+ withdrawal: {
4
+ title: `Withdrawal`,
5
+ loading: `Loading, please wait ...`
6
+ }
7
+ },
8
+ zh: {
9
+ withdrawal: {
10
+ title: `退出`,
11
+ loading: `加載請稍候…`
12
+ }
13
+ },
14
+ fr: {
15
+ withdrawal: {
16
+ title: `Retrait`,
17
+ loading: `Chargement, veuillez patienter ...`
18
+ }
19
+ },
20
+ ro: {
21
+ withdrawal: {
22
+ title: `Retragere`,
23
+ loading: `Se încarcă...`
24
+ }
25
+ },
26
+ es: {
27
+ withdrawal: {
28
+ title: `Retiro`,
29
+ loading: `Cargando ... Por favor espere ...`
30
+ }
31
+ },
32
+ pt: {
33
+ withdrawal: {
34
+ title: `Retirada`,
35
+ loading: `Carregando, por favor espere ...`
36
+ }
37
+ },
38
+ };
@@ -1,13 +1,13 @@
1
- import { html } from 'lit-element';
2
-
3
- import PlayerWithdrawal from '../src/PlayerWithdrawal';
4
-
5
- // This default export determines where your story goes in the story list
6
- export default {
7
- title: 'PlayerWithdrawal',
8
- };
9
-
10
- // 👇 We create a “template” of how args map to rendering
11
- const PlayerWithdrawal = ({ aProperty }) => html`<player-withdrawal></player-withdrawal>`;
12
-
13
- export const FirstStory = PlayerWithdrawal.bind({});
1
+ import { html } from 'lit-element';
2
+
3
+ import PlayerWithdrawal from '../src/PlayerWithdrawal';
4
+
5
+ // This default export determines where your story goes in the story list
6
+ export default {
7
+ title: 'PlayerWithdrawal',
8
+ };
9
+
10
+ // 👇 We create a “template” of how args map to rendering
11
+ const PlayerWithdrawal = ({ aProperty }) => html`<player-withdrawal></player-withdrawal>`;
12
+
13
+ export const FirstStory = PlayerWithdrawal.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
+ }