@uipkge/nuxt 0.1.36 → 0.1.37

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/bin/cli.mjs CHANGED
@@ -158,21 +158,21 @@ const { t, locale } = useI18now()
158
158
 
159
159
  <template>
160
160
  <div style="padding: 20px; font-family: sans-serif; max-width: 600px;">
161
- <h1>i18now Test Page</h1>
161
+ <h1>{{ t('test.title', 'i18now Test Page') }}</h1>
162
162
 
163
- <h2>Translation Keys (try adding new ones):</h2>
164
- <p>{{ t('welcome_message', 'Welcome to i18now!') }}</p>
165
- <p>{{ t('description', 'This is a test page for translations.') }}</p>
166
- <p>{{ t('feature_sync', 'Key sync is enabled in development mode.') }}</p>
163
+ <h2>{{ t('test.translation_keys_heading', 'Translation Keys (try adding new ones):') }}</h2>
164
+ <p>{{ t('test.welcome_message', 'Welcome to i18now!') }}</p>
165
+ <p>{{ t('test.description', 'This is a test page for translations.') }}</p>
166
+ <p>{{ t('test.feature_sync', 'Key sync is enabled in development mode.') }}</p>
167
167
 
168
- <h2>Language Switcher:</h2>
168
+ <h2>{{ t('test.language_switcher', 'Language Switcher:') }}</h2>
169
169
  <select v-model="locale" style="padding: 8px; margin: 10px 0;">
170
170
  <option value="en">English</option>
171
171
  <option value="es">Espa\u00f1ol</option>
172
172
  </select>
173
173
 
174
- <p><small>Current locale: {{ locale }}</small></p>
175
- <p><small>Add new t() calls above to test key sync!</small></p>
174
+ <p><small>{{ t('test.current_locale', 'Current locale:') }} {{ locale }}</small></p>
175
+ <p><small>{{ t('test.hint', 'Add new t() calls above to test key sync!') }}</small></p>
176
176
  </div>
177
177
  </template>
178
178
  `,
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.0.0"
6
6
  },
7
- "version": "0.1.36",
7
+ "version": "0.1.37",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "unknown"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipkge/nuxt",
3
- "version": "0.1.36",
3
+ "version": "0.1.37",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "bin": {