@everymatrix/casino-tournaments-list-controller 0.0.363 → 0.0.367

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 CasinoTournamentsListController from './CasinoTournamentsListController.svelte';
2
-
3
- !customElements.get('casino-tournaments-list-controller') && customElements.define('casino-tournaments-list-controller', CasinoTournamentsListController);
4
- export default CasinoTournamentsListController;
1
+ import CasinoTournamentsListController from './CasinoTournamentsListController.svelte';
2
+
3
+ !customElements.get('casino-tournaments-list-controller') && customElements.define('casino-tournaments-list-controller', CasinoTournamentsListController);
4
+ export default CasinoTournamentsListController;
@@ -1,47 +1,47 @@
1
- export const TournamentsListTranslations = {
2
- en: {
3
- tournamentsList: {
4
- nothing: 'Nothing to show here.'
5
- }
6
- },
7
- zh: {
8
- tournamentsList: {
9
- nothing: '這裡沒有什麼可顯示的。'
10
- }
11
- },
12
- fr: {
13
- tournamentsList: {
14
- nothing: 'Rien à montrer ici.'
15
- }
16
- },
17
- ro: {
18
- tournamentsList: {
19
- nothing: 'Niciun turneu disponibil aici.'
20
- }
21
- },
22
- tr: {
23
- tournamentsList: {
24
- nothing: 'Gösterilecek.'
25
- }
26
- },
27
- el: {
28
- tournamentsList: {
29
- nothing: 'Δεν υπάρχει τίποτα εδώ.'
30
- }
31
- },
32
- es: {
33
- tournamentsList: {
34
- nothing: 'Nada que mostrar aquí.'
35
- }
36
- },
37
- hu: {
38
- tournamentsList: {
39
- nothing: 'Nincs megjelenítendő adat.'
40
- }
41
- },
42
- pt: {
43
- tournamentsList: {
44
- nothing: 'Nada para mostrar aqui.'
45
- }
46
- }
47
- };
1
+ export const TournamentsListTranslations = {
2
+ en: {
3
+ tournamentsList: {
4
+ nothing: 'Nothing to show here.'
5
+ }
6
+ },
7
+ zh: {
8
+ tournamentsList: {
9
+ nothing: '這裡沒有什麼可顯示的。'
10
+ }
11
+ },
12
+ fr: {
13
+ tournamentsList: {
14
+ nothing: 'Rien à montrer ici.'
15
+ }
16
+ },
17
+ ro: {
18
+ tournamentsList: {
19
+ nothing: 'Niciun turneu disponibil aici.'
20
+ }
21
+ },
22
+ tr: {
23
+ tournamentsList: {
24
+ nothing: 'Gösterilecek.'
25
+ }
26
+ },
27
+ el: {
28
+ tournamentsList: {
29
+ nothing: 'Δεν υπάρχει τίποτα εδώ.'
30
+ }
31
+ },
32
+ es: {
33
+ tournamentsList: {
34
+ nothing: 'Nada que mostrar aquí.'
35
+ }
36
+ },
37
+ hu: {
38
+ tournamentsList: {
39
+ nothing: 'Nincs megjelenítendő adat.'
40
+ }
41
+ },
42
+ pt: {
43
+ tournamentsList: {
44
+ nothing: 'Nada para mostrar aqui.'
45
+ }
46
+ }
47
+ };
@@ -1,13 +1,13 @@
1
- import { html } from 'lit-element';
2
-
3
- import CasinoTournamentsListController from '../src/CasinoTournamentsListController';
4
-
5
- // This default export determines where your story goes in the story list
6
- export default {
7
- title: 'CasinoTournamentsListController',
8
- };
9
-
10
- // 👇 We create a “template” of how args map to rendering
11
- const CasinoTournamentsListController = ({ aProperty }) => html`<casino-tournaments-list-controller></casino-tournaments-list-controller>`;
12
-
13
- export const FirstStory = CasinoTournamentsListController.bind({});
1
+ import { html } from 'lit-element';
2
+
3
+ import CasinoTournamentsListController from '../src/CasinoTournamentsListController';
4
+
5
+ // This default export determines where your story goes in the story list
6
+ export default {
7
+ title: 'CasinoTournamentsListController',
8
+ };
9
+
10
+ // 👇 We create a “template” of how args map to rendering
11
+ const CasinoTournamentsListController = ({ aProperty }) => html`<casino-tournaments-list-controller></casino-tournaments-list-controller>`;
12
+
13
+ export const FirstStory = CasinoTournamentsListController.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
+ }