@everymatrix/casino-tournaments-controller 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 CasinoTournamentsController from './CasinoTournamentsController.svelte';
2
-
3
- !customElements.get('casino-tournaments-controller') && customElements.define('casino-tournaments-controller', CasinoTournamentsController);
4
- export default CasinoTournamentsController;
1
+ import CasinoTournamentsController from './CasinoTournamentsController.svelte';
2
+
3
+ !customElements.get('casino-tournaments-controller') && customElements.define('casino-tournaments-controller', CasinoTournamentsController);
4
+ export default CasinoTournamentsController;
@@ -1,101 +1,101 @@
1
- export const TournamentsControllerTranslations = {
2
- en: {
3
- tournamentsController: {
4
- 500: '500 - Internal server error',
5
- showMore: 'Show more',
6
- Scheduled: 'Scheduled',
7
- Ongoing: 'OnGoing',
8
- Finished: 'Finished',
9
- loading: 'Loading, please wait ...',
10
- noTournaments: 'No tournaments found'
11
- }
12
- },
13
- zh: {
14
- tournamentsController: {
15
- 500: '500內部服務器錯誤',
16
- showMore: '顯示更多',
17
- Scheduled: '預定的',
18
- Ongoing: '進行中',
19
- Finished: '完成的',
20
- loading: '加載請稍候 ...',
21
- noTournaments: '沒有找到比賽'
22
- }
23
- },
24
- fr: {
25
- tournamentsController: {
26
- 500: '500 - erreur de serveur interne',
27
- showMore: 'Afficher plus',
28
- Scheduled: 'Programmé',
29
- Ongoing: 'En cours',
30
- Finished: 'Fini',
31
- loading: 'Chargement , veuillez patienter ...',
32
- noTournaments: 'Aucun tournoi trouvé'
33
- }
34
- },
35
- ro: {
36
- tournamentsController: {
37
- 500: '500 - Internal server error',
38
- showMore: 'Mai mult',
39
- Scheduled: 'Programate',
40
- Ongoing: 'În desfășurare',
41
- Finished: 'Finalizat',
42
- loading: 'Se încarcă, asteptati ...',
43
- noTournaments: 'Niciun turneu gasit'
44
- }
45
- },
46
- tr: {
47
- tournamentsController: {
48
- 500: '500 - Dahili sunucu hatası',
49
- showMore: 'Daha fazla',
50
- Scheduled: 'Planlanmış',
51
- Ongoing: 'Devam Eden',
52
- Finished: 'Sona Ermiş',
53
- loading: 'Yükelniyor, lütfen bekleyin ...',
54
- noTournaments: 'Herhangi bir turnuva bulunamadı.'
55
- }
56
- },
57
- el: {
58
- tournamentsController: {
59
- 500: '500 - Σφάλμα Διακομιστή',
60
- showMore: 'Περισσότερα',
61
- Scheduled: 'Προγραμματισμένα',
62
- Ongoing: 'Τρέχοντα',
63
- Finished: 'Ολοκληρωμένα',
64
- loading: 'Φορτώνει, παρακαλούμε περιμένετε ...',
65
- noTournaments: 'Δεν βρέθηκαν τουρνουά'
66
- }
67
- },
68
- es: {
69
- tournamentsController: {
70
- 500: '500 - Error interno del servidor',
71
- showMore: 'Mostrar más',
72
- Scheduled: 'Programado',
73
- Ongoing: 'En marcha',
74
- Finished: 'Terminado',
75
- loading: 'cargando, por favor espere…',
76
- noTournaments: 'No se han encontrado torneos',
77
- }
78
- },
79
- hu: {
80
- tournamentsController: {
81
- 500: '500 - Belső szerver hiba',
82
- showMore: 'Mutass többet',
83
- Scheduled: 'Ütemezés',
84
- Ongoing: 'Folyamatban',
85
- Finished: 'Befejezett',
86
- loading: 'Betöltés, kérjük várjon...',
87
- noTournaments: 'Verseny nem található',
88
- }
89
- },
90
- pt: {
91
- tournamentsController: {
92
- 500: 'Erro 500 - Erro interno do servidor',
93
- showMore: 'Ver mais',
94
- Scheduled: 'Agendado',
95
- Ongoing: 'Em progresso',
96
- Finished: 'Finalizado',
97
- loading: 'Carregando, por favor espere ...',
98
- noTournaments: 'Nenhum torneio encontrado'
99
- }
100
- }
101
- };
1
+ export const TournamentsControllerTranslations = {
2
+ en: {
3
+ tournamentsController: {
4
+ 500: '500 - Internal server error',
5
+ showMore: 'Show more',
6
+ Scheduled: 'Scheduled',
7
+ Ongoing: 'OnGoing',
8
+ Finished: 'Finished',
9
+ loading: 'Loading, please wait ...',
10
+ noTournaments: 'No tournaments found'
11
+ }
12
+ },
13
+ zh: {
14
+ tournamentsController: {
15
+ 500: '500內部服務器錯誤',
16
+ showMore: '顯示更多',
17
+ Scheduled: '預定的',
18
+ Ongoing: '進行中',
19
+ Finished: '完成的',
20
+ loading: '加載請稍候 ...',
21
+ noTournaments: '沒有找到比賽'
22
+ }
23
+ },
24
+ fr: {
25
+ tournamentsController: {
26
+ 500: '500 - erreur de serveur interne',
27
+ showMore: 'Afficher plus',
28
+ Scheduled: 'Programmé',
29
+ Ongoing: 'En cours',
30
+ Finished: 'Fini',
31
+ loading: 'Chargement , veuillez patienter ...',
32
+ noTournaments: 'Aucun tournoi trouvé'
33
+ }
34
+ },
35
+ ro: {
36
+ tournamentsController: {
37
+ 500: '500 - Internal server error',
38
+ showMore: 'Mai mult',
39
+ Scheduled: 'Programate',
40
+ Ongoing: 'În desfășurare',
41
+ Finished: 'Finalizat',
42
+ loading: 'Se încarcă, asteptati ...',
43
+ noTournaments: 'Niciun turneu gasit'
44
+ }
45
+ },
46
+ tr: {
47
+ tournamentsController: {
48
+ 500: '500 - Dahili sunucu hatası',
49
+ showMore: 'Daha fazla',
50
+ Scheduled: 'Planlanmış',
51
+ Ongoing: 'Devam Eden',
52
+ Finished: 'Sona Ermiş',
53
+ loading: 'Yükelniyor, lütfen bekleyin ...',
54
+ noTournaments: 'Herhangi bir turnuva bulunamadı.'
55
+ }
56
+ },
57
+ el: {
58
+ tournamentsController: {
59
+ 500: '500 - Σφάλμα Διακομιστή',
60
+ showMore: 'Περισσότερα',
61
+ Scheduled: 'Προγραμματισμένα',
62
+ Ongoing: 'Τρέχοντα',
63
+ Finished: 'Ολοκληρωμένα',
64
+ loading: 'Φορτώνει, παρακαλούμε περιμένετε ...',
65
+ noTournaments: 'Δεν βρέθηκαν τουρνουά'
66
+ }
67
+ },
68
+ es: {
69
+ tournamentsController: {
70
+ 500: '500 - Error interno del servidor',
71
+ showMore: 'Mostrar más',
72
+ Scheduled: 'Programado',
73
+ Ongoing: 'En marcha',
74
+ Finished: 'Terminado',
75
+ loading: 'cargando, por favor espere…',
76
+ noTournaments: 'No se han encontrado torneos',
77
+ }
78
+ },
79
+ hu: {
80
+ tournamentsController: {
81
+ 500: '500 - Belső szerver hiba',
82
+ showMore: 'Mutass többet',
83
+ Scheduled: 'Ütemezés',
84
+ Ongoing: 'Folyamatban',
85
+ Finished: 'Befejezett',
86
+ loading: 'Betöltés, kérjük várjon...',
87
+ noTournaments: 'Verseny nem található',
88
+ }
89
+ },
90
+ pt: {
91
+ tournamentsController: {
92
+ 500: 'Erro 500 - Erro interno do servidor',
93
+ showMore: 'Ver mais',
94
+ Scheduled: 'Agendado',
95
+ Ongoing: 'Em progresso',
96
+ Finished: 'Finalizado',
97
+ loading: 'Carregando, por favor espere ...',
98
+ noTournaments: 'Nenhum torneio encontrado'
99
+ }
100
+ }
101
+ };
@@ -1,13 +1,13 @@
1
- import { html } from 'lit-element';
2
-
3
- import CasinoTournamentsController from '../src/CasinoTournamentsController';
4
-
5
- // This default export determines where your story goes in the story list
6
- export default {
7
- title: 'CasinoTournamentsController',
8
- };
9
-
10
- // 👇 We create a “template” of how args map to rendering
11
- const CasinoTournamentsController = ({ aProperty }) => html`<casino-tournaments-controller></casino-tournaments-controller>`;
12
-
13
- export const FirstStory = CasinoTournamentsController.bind({});
1
+ import { html } from 'lit-element';
2
+
3
+ import CasinoTournamentsController from '../src/CasinoTournamentsController';
4
+
5
+ // This default export determines where your story goes in the story list
6
+ export default {
7
+ title: 'CasinoTournamentsController',
8
+ };
9
+
10
+ // 👇 We create a “template” of how args map to rendering
11
+ const CasinoTournamentsController = ({ aProperty }) => html`<casino-tournaments-controller></casino-tournaments-controller>`;
12
+
13
+ export const FirstStory = CasinoTournamentsController.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
+ }