@everymatrix/casino-footer-v2 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 CasinoFooterV2 from './CasinoFooterV2.svelte';
2
-
3
- !customElements.get('casino-footer-v2') && customElements.define('casino-footer-v2', CasinoFooterV2);
4
- export default CasinoFooterV2;
1
+ import CasinoFooterV2 from './CasinoFooterV2.svelte';
2
+
3
+ !customElements.get('casino-footer-v2') && customElements.define('casino-footer-v2', CasinoFooterV2);
4
+ export default CasinoFooterV2;
@@ -1,38 +1,38 @@
1
- export const CasinoFooterTranslations = {
2
- en: {
3
- casinoFooter: {
4
- timeText: `Time`,
5
- sessionTimer: 'logged in for',
6
- }
7
- },
8
- de: {
9
- casinoFooter: {
10
- timeText: `Time`,
11
- sessionTimer: 'logged in for',
12
- }
13
- },
14
- fr: {
15
- casinoFooter: {
16
- timeText: `Catégories`,
17
- sessionTimer: 'logged in for',
18
- }
19
- },
20
- ro: {
21
- casinoFooter: {
22
- timeText: `Ora`,
23
- sessionTimer: 'online de',
24
- }
25
- },
26
- es: {
27
- casinoFooter: {
28
- timeText: `Categorías`,
29
- sessionTimer: 'logged in for',
30
- }
31
- },
32
- pt: {
33
- casinoFooter: {
34
- timeText: `Categorias`,
35
- sessionTimer: 'logged in for',
36
- }
37
- },
38
- };
1
+ export const CasinoFooterTranslations = {
2
+ en: {
3
+ casinoFooter: {
4
+ timeText: `Time`,
5
+ sessionTimer: 'logged in for',
6
+ }
7
+ },
8
+ de: {
9
+ casinoFooter: {
10
+ timeText: `Time`,
11
+ sessionTimer: 'logged in for',
12
+ }
13
+ },
14
+ fr: {
15
+ casinoFooter: {
16
+ timeText: `Catégories`,
17
+ sessionTimer: 'logged in for',
18
+ }
19
+ },
20
+ ro: {
21
+ casinoFooter: {
22
+ timeText: `Ora`,
23
+ sessionTimer: 'online de',
24
+ }
25
+ },
26
+ es: {
27
+ casinoFooter: {
28
+ timeText: `Categorías`,
29
+ sessionTimer: 'logged in for',
30
+ }
31
+ },
32
+ pt: {
33
+ casinoFooter: {
34
+ timeText: `Categorias`,
35
+ sessionTimer: 'logged in for',
36
+ }
37
+ },
38
+ };
@@ -1,13 +1,13 @@
1
- import { html } from 'lit-element';
2
-
3
- import CasinoFooterV2 from '../src/CasinoFooterV2';
4
-
5
- // This default export determines where your story goes in the story list
6
- export default {
7
- title: 'CasinoFooterV2',
8
- };
9
-
10
- // 👇 We create a “template” of how args map to rendering
11
- const CasinoFooterV2 = ({ aProperty }) => html`<casino-footer-v2></casino-footer-v2>`;
12
-
13
- export const FirstStory = CasinoFooterV2.bind({});
1
+ import { html } from 'lit-element';
2
+
3
+ import CasinoFooterV2 from '../src/CasinoFooterV2';
4
+
5
+ // This default export determines where your story goes in the story list
6
+ export default {
7
+ title: 'CasinoFooterV2',
8
+ };
9
+
10
+ // 👇 We create a “template” of how args map to rendering
11
+ const CasinoFooterV2 = ({ aProperty }) => html`<casino-footer-v2></casino-footer-v2>`;
12
+
13
+ export const FirstStory = CasinoFooterV2.bind({});
package/translations.js CHANGED
@@ -1,32 +1,32 @@
1
- export const CasinoFooterTranslations = {
2
- en: {
3
- casinoFooter: {
4
- timeText: `Time`,
5
- sessionTimer: 'Logged in for',
6
- }
7
- },
8
- fr: {
9
- casinoFooter: {
10
- timeText: `Catégories`,
11
- sessionTimer: 'Logged in for',
12
- }
13
- },
14
- ro: {
15
- casinoFooter: {
16
- timeText: `Ora`,
17
- sessionTimer: 'Online de',
18
- }
19
- },
20
- es: {
21
- casinoFooter: {
22
- timeText: `Categorías`,
23
- sessionTimer: 'Logged in for',
24
- }
25
- },
26
- pt: {
27
- casinoFooter: {
28
- timeText: `Categorias`,
29
- sessionTimer: 'Logged in for',
30
- }
31
- },
32
- };
1
+ export const CasinoFooterTranslations = {
2
+ en: {
3
+ casinoFooter: {
4
+ timeText: `Time`,
5
+ sessionTimer: 'Logged in for',
6
+ }
7
+ },
8
+ fr: {
9
+ casinoFooter: {
10
+ timeText: `Catégories`,
11
+ sessionTimer: 'Logged in for',
12
+ }
13
+ },
14
+ ro: {
15
+ casinoFooter: {
16
+ timeText: `Ora`,
17
+ sessionTimer: 'Online de',
18
+ }
19
+ },
20
+ es: {
21
+ casinoFooter: {
22
+ timeText: `Categorías`,
23
+ sessionTimer: 'Logged in for',
24
+ }
25
+ },
26
+ pt: {
27
+ casinoFooter: {
28
+ timeText: `Categorias`,
29
+ sessionTimer: 'Logged in for',
30
+ }
31
+ },
32
+ };
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
+ }