@everymatrix/casino-404 1.11.1 → 1.12.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-404",
3
- "version": "1.11.1",
3
+ "version": "1.12.1",
4
4
  "main": "dist/casino-404.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "a74cb23abc28e2a5ca4a61858da32c86640ebd43"
38
+ "gitHead": "b07d8c9aee6584ea4b4d1718d7d928d4f2dfb523"
39
39
  }
@@ -1,7 +1,7 @@
1
1
  <svelte:options tag={null} />
2
2
  <script lang="ts">
3
3
  import { _, addNewMessages, setLocale } from './i18n';
4
- import { Translations } from './translations';
4
+ import { TRANSLATIONS } from './translations';
5
5
 
6
6
  export let lang:string = 'en';
7
7
  export let clientstyling:string = '';
@@ -23,8 +23,8 @@
23
23
  });
24
24
  }
25
25
 
26
- Object.keys(Translations).forEach((item:any):void => {
27
- addNewMessages(item, Translations[item]);
26
+ Object.keys(TRANSLATIONS).forEach((item:any):void => {
27
+ addNewMessages(item, TRANSLATIONS[item]);
28
28
  });
29
29
 
30
30
  const goToHome = ():void => {
@@ -64,12 +64,12 @@
64
64
  <div class="NotFoundPage">
65
65
  <svg class="svgColor" xmlns="http://www.w3.org/2000/svg" width="130.345" height="130.345" viewBox="0 0 130.345 130.345"><g transform="translate(-9.37 -9.34)"><path class="a" d="M753.094,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,0,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.262,3.262,0,0,0-3.517,1.552l-14.483,26.9a3.305,3.305,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62H756.2Z" transform="translate(-658.898 -446.452)"/><path class="a" d="M508.259,555.422a11.346,11.346,0,0,0,11.379-11.379V522.319a11.379,11.379,0,1,0-22.757,0v21.725A11.346,11.346,0,0,0,508.259,555.422Zm-5.172-33.1a5.172,5.172,0,1,1,10.345,0v21.725a5.172,5.172,0,0,1-10.345,0Z" transform="translate(-433.716 -446.252)"/><path class="a" d="M237.474,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,1,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.2,3.2,0,0,0-3.517,1.552l-14.483,26.9a3.3,3.3,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62h-8.276Z" transform="translate(-200.173 -446.452)"/><path class="a" d="M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"/><path class="a" d="M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z" transform="translate(-116.772 -116.794)"/><path class="a" d="M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z" transform="translate(-250.22 -116.794)"/></g></svg>
66
66
  <p class="PageTitle">
67
- {$_('Translations.pageNotFound')}
67
+ {$_('pageNotFound')}
68
68
  </p>
69
69
  <p class="PageContent">
70
- {$_('Translations.pageNotFoundMessage')}
70
+ {$_('pageNotFoundMessage')}
71
71
  </p>
72
- <button class="ButtonDefaultSmall" on:click={() => goToHome()}>{$_('Translations.home')}</button>
72
+ <button class="ButtonDefaultSmall" on:click={() => goToHome()}>{$_('home')}</button>
73
73
  </div>
74
74
  </div>
75
75
 
@@ -1,107 +1,77 @@
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
- },
1
+ export const TRANSLATIONS = {
2
+ "en": {
3
+ "pageNotFound": "Page not found",
4
+ "pageNotFoundMessage": "The page you were looking for could not be found. Please go back to our Homepage.",
5
+ "home": "Go to homepage"
8
6
  },
9
- 'zh-hk': {
10
- Translations: {
11
- pageNotFound: '网页未找到',
12
- pageNotFoundMessage: '找不到您要查找的页面。 请返回我们的主页',
13
- home: '去首页'
14
- },
7
+ "zh-hk": {
8
+ "pageNotFound": "网页未找到",
9
+ "pageNotFoundMessage": "找不到您要查找的页面。 请返回我们的主页",
10
+ "home": "去首页"
15
11
  },
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
- },
12
+ "de": {
13
+ "pageNotFound": "Page not found",
14
+ "pageNotFoundMessage": "The page you were looking for could not be found. Please go back to our Homepage.",
15
+ "home": "Go to homepage"
22
16
  },
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
- },
17
+ "it": {
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"
29
21
  },
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
- },
22
+ "fr": {
23
+ "pageNotFound": "Page non trouvée",
24
+ "pageNotFoundMessage": "La page que vous recherchez est introuvable. Veuillez retourner à notre page d'accueil.",
25
+ "home": "Accéder à la page d'accueil"
36
26
  },
37
- es: {
38
- Translations: {
39
- pageNotFound: 'Página no encontrada',
40
- pageNotFoundMessage: 'La página no se puedo encontrar. Por favor regrese a nuestra Página de inicio.',
41
- home: 'Ir a Página de inicio'
42
- },
27
+ "es": {
28
+ "pageNotFound": "Página no encontrada",
29
+ "pageNotFoundMessage": "La página no se puedo encontrar. Por favor regrese a nuestra Página de inicio.",
30
+ "home": "Ir a Página de inicio"
43
31
  },
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
- },
32
+ "tr": {
33
+ "pageNotFound": "Page not found",
34
+ "pageNotFoundMessage": "The page you were looking for could not be found. Please go back to our Homepage.",
35
+ "home": "Go to homepage"
50
36
  },
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
- },
37
+ "ru": {
38
+ "pageNotFound": "Page not found",
39
+ "pageNotFoundMessage": "The page you were looking for could not be found. Please go back to our Homepage.",
40
+ "home": "Go to homepage"
57
41
  },
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
- },
42
+ "ro": {
43
+ "pageNotFound": "Pagina negasita",
44
+ "pageNotFoundMessage": "The page you were looking for could not be found. Please go back to our Homepage.",
45
+ "home": "Go to homepage"
64
46
  },
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
- },
47
+ "hr": {
48
+ "pageNotFound": "Page not found",
49
+ "pageNotFoundMessage": "The page you were looking for could not be found. Please go back to our Homepage.",
50
+ "home": "Go to homepage"
71
51
  },
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
- },
52
+ "hu": {
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"
78
56
  },
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
- },
57
+ "pl": {
58
+ "pageNotFound": "Page not found",
59
+ "pageNotFoundMessage": "The page you were looking for could not be found. Please go back to our Homepage.",
60
+ "home": "Go to homepage"
85
61
  },
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
- },
62
+ "pt": {
63
+ "pageNotFound": "Page not found",
64
+ "pageNotFoundMessage": "The page you were looking for could not be found. Please go back to our Homepage.",
65
+ "home": "Go to homepage"
92
66
  },
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
- },
67
+ "sl": {
68
+ "pageNotFound": "Page not found",
69
+ "pageNotFoundMessage": "The page you were looking for could not be found. Please go back to our Homepage.",
70
+ "home": "Go to homepage"
99
71
  },
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
- },
72
+ "sr": {
73
+ "pageNotFound": "Page not found",
74
+ "pageNotFoundMessage": "The page you were looking for could not be found. Please go back to our Homepage.",
75
+ "home": "Go to homepage"
106
76
  }
107
- };
77
+ }