@everymatrix/casino-404 0.0.365 → 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 Casino_404 from './Casino_404.svelte';
2
-
3
- !customElements.get('casino-404') && customElements.define('casino-404', Casino_404);
4
- export default Casino_404;
1
+ import Casino_404 from './Casino_404.svelte';
2
+
3
+ !customElements.get('casino-404') && customElements.define('casino-404', Casino_404);
4
+ export default Casino_404;
@@ -1,107 +1,107 @@
1
- export const Translations = {
2
- en: {
3
- Translations: {
4
- pageNotFound: 'Page not found',
5
- pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
6
- home: 'Go to homepage'
7
- },
8
- },
9
- zh: {
10
- Translations: {
11
- pageNotFound: '网页未找到',
12
- pageNotFoundMessage: '找不到您要查找的页面。 请返回我们的主页',
13
- home: '去首页'
14
- },
15
- },
16
- de: {
17
- Translations: {
18
- pageNotFound: 'Page not found',
19
- pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
20
- home: 'Go to homepage'
21
- },
22
- },
23
- it: {
24
- Translations: {
25
- pageNotFound: 'Page not found',
26
- pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
27
- home: 'Go to homepage'
28
- },
29
- },
30
- fr: {
31
- Translations: {
32
- pageNotFound: 'Page non trouvée',
33
- pageNotFoundMessage: 'La page que vous recherchez est introuvable. Veuillez retourner à notre page d\'accueil.',
34
- home: 'Accéder à la page d\'accueil'
35
- },
36
- },
37
- es: {
38
- Translations: {
39
- pageNotFound: 'Page not found',
40
- pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
41
- home: 'Go to homepage'
42
- },
43
- },
44
- tr: {
45
- Translations: {
46
- pageNotFound: 'Page not found',
47
- pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
48
- home: 'Go to homepage'
49
- },
50
- },
51
- ru: {
52
- Translations: {
53
- pageNotFound: 'Page not found',
54
- pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
55
- home: 'Go to homepage'
56
- },
57
- },
58
- ro: {
59
- Translations: {
60
- pageNotFound: 'Pagina negasita',
61
- pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
62
- home: 'Go to homepage'
63
- },
64
- },
65
- hr: {
66
- Translations: {
67
- pageNotFound: 'Page not found',
68
- pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
69
- home: 'Go to homepage'
70
- },
71
- },
72
- hu: {
73
- Translations: {
74
- pageNotFound: 'Page not found',
75
- pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
76
- home: 'Go to homepage'
77
- },
78
- },
79
- pl: {
80
- Translations: {
81
- pageNotFound: 'Page not found',
82
- pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
83
- home: 'Go to homepage'
84
- },
85
- },
86
- pt: {
87
- Translations: {
88
- pageNotFound: 'Page not found',
89
- pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
90
- home: 'Go to homepage'
91
- },
92
- },
93
- sl: {
94
- Translations: {
95
- pageNotFound: 'Page not found',
96
- pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
97
- home: 'Go to homepage'
98
- },
99
- },
100
- sr: {
101
- Translations: {
102
- pageNotFound: 'Page not found',
103
- pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
104
- home: 'Go to homepage'
105
- },
106
- }
107
- };
1
+ export const Translations = {
2
+ en: {
3
+ Translations: {
4
+ pageNotFound: 'Page not found',
5
+ pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
6
+ home: 'Go to homepage'
7
+ },
8
+ },
9
+ zh: {
10
+ Translations: {
11
+ pageNotFound: '网页未找到',
12
+ pageNotFoundMessage: '找不到您要查找的页面。 请返回我们的主页',
13
+ home: '去首页'
14
+ },
15
+ },
16
+ de: {
17
+ Translations: {
18
+ pageNotFound: 'Page not found',
19
+ pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
20
+ home: 'Go to homepage'
21
+ },
22
+ },
23
+ it: {
24
+ Translations: {
25
+ pageNotFound: 'Page not found',
26
+ pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
27
+ home: 'Go to homepage'
28
+ },
29
+ },
30
+ fr: {
31
+ Translations: {
32
+ pageNotFound: 'Page non trouvée',
33
+ pageNotFoundMessage: 'La page que vous recherchez est introuvable. Veuillez retourner à notre page d\'accueil.',
34
+ home: 'Accéder à la page d\'accueil'
35
+ },
36
+ },
37
+ es: {
38
+ Translations: {
39
+ pageNotFound: 'Page not found',
40
+ pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
41
+ home: 'Go to homepage'
42
+ },
43
+ },
44
+ tr: {
45
+ Translations: {
46
+ pageNotFound: 'Page not found',
47
+ pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
48
+ home: 'Go to homepage'
49
+ },
50
+ },
51
+ ru: {
52
+ Translations: {
53
+ pageNotFound: 'Page not found',
54
+ pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
55
+ home: 'Go to homepage'
56
+ },
57
+ },
58
+ ro: {
59
+ Translations: {
60
+ pageNotFound: 'Pagina negasita',
61
+ pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
62
+ home: 'Go to homepage'
63
+ },
64
+ },
65
+ hr: {
66
+ Translations: {
67
+ pageNotFound: 'Page not found',
68
+ pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
69
+ home: 'Go to homepage'
70
+ },
71
+ },
72
+ hu: {
73
+ Translations: {
74
+ pageNotFound: 'Page not found',
75
+ pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
76
+ home: 'Go to homepage'
77
+ },
78
+ },
79
+ pl: {
80
+ Translations: {
81
+ pageNotFound: 'Page not found',
82
+ pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
83
+ home: 'Go to homepage'
84
+ },
85
+ },
86
+ pt: {
87
+ Translations: {
88
+ pageNotFound: 'Page not found',
89
+ pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
90
+ home: 'Go to homepage'
91
+ },
92
+ },
93
+ sl: {
94
+ Translations: {
95
+ pageNotFound: 'Page not found',
96
+ pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
97
+ home: 'Go to homepage'
98
+ },
99
+ },
100
+ sr: {
101
+ Translations: {
102
+ pageNotFound: 'Page not found',
103
+ pageNotFoundMessage: 'The page you were looking for could not be found. Please go back to our Homepage.',
104
+ home: 'Go to homepage'
105
+ },
106
+ }
107
+ };
@@ -1,13 +1,13 @@
1
- import { html } from 'lit-element';
2
-
3
- import Casino_404 from '../src/Casino_404';
4
-
5
- // This default export determines where your story goes in the story list
6
- export default {
7
- title: 'Casino_404',
8
- };
9
-
10
- // 👇 We create a “template” of how args map to rendering
11
- const Casino_404 = ({ aProperty }) => html`<casino-404></casino-404>`;
12
-
13
- export const FirstStory = Casino_404.bind({});
1
+ import { html } from 'lit-element';
2
+
3
+ import Casino_404 from '../src/Casino_404';
4
+
5
+ // This default export determines where your story goes in the story list
6
+ export default {
7
+ title: 'Casino_404',
8
+ };
9
+
10
+ // 👇 We create a “template” of how args map to rendering
11
+ const Casino_404 = ({ aProperty }) => html`<casino-404></casino-404>`;
12
+
13
+ export const FirstStory = Casino_404.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
+ }