@dargmuesli/nuxt-vio 15.0.0 → 15.0.1

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.
@@ -0,0 +1,3 @@
1
+ import { I18N_VUE_CONFIG } from '../utils/constants'
2
+
3
+ export default defineI18nConfig(() => I18N_VUE_CONFIG)
@@ -0,0 +1,14 @@
1
+ {
2
+ "globalPlaceholderEmailAddress": "e-mail{'@'}adres.se",
3
+ "globalPlaceholderUrl": "https://websei.te",
4
+ "globalStatusError": "Fehler",
5
+ "globalStatusLoading": "Lade...",
6
+ "globalValidationFailed": "Bitte überprüfe deine Eingaben 🙈",
7
+ "globalValidationFormat": "Falsches Format",
8
+ "globalValidationFormatUrlHttps": "Muss mit \"https://\" beginnen",
9
+ "globalValidationLength": "Zu lang",
10
+ "globalValidationRequired": "Pflichtfeld",
11
+ "nuxtSiteConfig": {
12
+ "description": "Vio ist {'@'}dargmueslis Nuxt layer."
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "globalPlaceholderEmailAddress": "email{'@'}addre.ss",
3
+ "globalPlaceholderUrl": "https://websi.te",
4
+ "globalStatusError": "Error",
5
+ "globalStatusLoading": "Loading...",
6
+ "globalValidationFailed": "Please check your input 🙈",
7
+ "globalValidationFormat": "Incorrect format",
8
+ "globalValidationFormatUrlHttps": "Must start with \"https://\"",
9
+ "globalValidationLength": "Too long",
10
+ "globalValidationRequired": "Required",
11
+ "nuxtSiteConfig": {
12
+ "description": "Vio is {'@'}dargmuesli's Nuxt layer."
13
+ }
14
+ }
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "@nuxt/image": "1.8.1",
11
11
  "@nuxtjs/color-mode": "3.5.2",
12
12
  "@nuxtjs/html-validator": "1.8.2",
13
- "@nuxtjs/i18n": "9.0.0",
13
+ "@nuxtjs/i18n": "9.1.1",
14
14
  "@nuxtjs/seo": "2.0.2",
15
15
  "@nuxtjs/tailwindcss": "6.12.2",
16
16
  "@pinia/nuxt": "0.9.0",
@@ -68,8 +68,8 @@
68
68
  "assets",
69
69
  "components",
70
70
  "composables",
71
+ "i18n",
71
72
  "layouts",
72
- "locales",
73
73
  "pages",
74
74
  "plugins",
75
75
  "server",
@@ -117,5 +117,5 @@
117
117
  "start:static": "serve .playground/.output/public --ssl-cert ./.config/certificates/ssl.crt --ssl-key ./.config/certificates/ssl.key"
118
118
  },
119
119
  "type": "module",
120
- "version": "15.0.0"
120
+ "version": "15.0.1"
121
121
  }
package/utils/nuxt.ts CHANGED
@@ -31,7 +31,7 @@ export const VIO_NUXT_BASE_CONFIG = ({
31
31
 
32
32
  // modules
33
33
  i18n: {
34
- ...I18N_MODULE_CONFIG, // `langDir`, `lazy` and `locales` must be configured to extend a layer having lazy-loaded translations (https://v8.i18n.nuxtjs.org/guide/layers#locales)
34
+ ...I18N_MODULE_CONFIG, // `lazy` and `locales` must be configured to extend a layer having lazy-loaded translations (https://i18n.nuxtjs.org/docs/guide/layers#locales)
35
35
  },
36
36
  site: {
37
37
  name: siteName,