You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+7-14Lines changed: 7 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,10 +179,11 @@ shared/ # Shared between app and server
179
179
└── types/ # TypeScript type definitions
180
180
181
181
cli/ # Local connector CLI (separate workspace)
182
+
182
183
test/ # Vitest tests
183
184
├── unit/ # Unit tests (*.spec.ts)
184
-
└── nuxt/ # Nuxt component tests
185
-
tests/ # Playwright E2E tests
185
+
├── nuxt/ # Nuxt component tests
186
+
└── e2e/ # Playwright E2E tests
186
187
```
187
188
188
189
> [!TIP]
@@ -465,6 +466,7 @@ The following scripts help manage translation files. `en.json` is the reference
465
466
|`pnpm i18n:check:fix [locale]`| Same as check, but adds missing keys to other locales with English placeholders. |
466
467
|`pnpm i18n:report`| Audits translation keys against code usage in `.vue` and `.ts` files. Reports missing keys (used in code but not in locale), unused keys (in locale but not in code), and dynamic keys. |
467
468
|`pnpm i18n:report:fix`| Removes unused keys from `en.json` and all other locale files. |
469
+
|`pnpm i18n:schema`| Generates a JSON Schema from `en.json` at `i18n/schema.json`. Locale files reference this schema for IDE validation and autocompletion. |
468
470
469
471
### Adding a new locale
470
472
@@ -490,17 +492,8 @@ To add a new locale:
490
492
},
491
493
```
492
494
493
-
4. Copy your translation file to `lunaria/files/` for translation tracking:
> This file must be committed. Lunaria uses git history to track translation progress, so the build will fail if this file is missing.
501
-
502
-
5. If the language is `right-to-left`, add `dir: 'rtl'` (see `ar-EG` in config for example)
503
-
6. If the language requires special pluralization rules, add a `pluralRule` callback (see `ar-EG` or `ru-RU` in config for examples)
495
+
4. If the language is `right-to-left`, add `dir: 'rtl'` (see `ar-EG` in config for example)
496
+
5. If the language requires special pluralization rules, add a `pluralRule` callback (see `ar-EG` or `ru-RU` in config for examples)
504
497
505
498
Check [Pluralization rule callback](https://vue-i18n.intlify.dev/guide/essentials/pluralization#custom-pluralization) and [Plural Rules](https://cldr.unicode.org/index/cldr-spec/plural-rules#TOC-Determining-Plural-Categories) for more info.
Copy file name to clipboardExpand all lines: README.md
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,9 +26,6 @@ What npmx offers:
26
26
27
27
## Shortcuts
28
28
29
-
> [!IMPORTANT]
30
-
> We're keeping the website, repository, and our discord community low-profile until the browser is polished enough. We'll do a formal announcement at that point. Please avoid sharing the website or the invite link to discord on social media directly. The repo is public, so people who care about the project can easily find it and join us. Anyone who wants to help is more than welcome to [join the community](https://chat.npmx.dev). If you know others who would be interested, please invite them too!
31
-
32
29
-[chat.npmx.dev](https://chat.npmx.dev) - Discord Server
0 commit comments