Docs: fix stale localization, module and contributing docs
- localization.md: the label seeders are StorefrontTranslationsSeeder (and the checkout/validation ones), not a StorefrontLabels class or lunar:install; when each runs (storefront isn't seeded on boot); translations:pull; examples use the same slug in every locale. - modules.md: core's JS/CSS is a real npm package (@boboko/core) with a Vite plugin, not files read from vendor/; bin/core-mode does the swap; open 0.x ranges instead of ^1.0; a real shop as the example app. - CONTRIBUTE.md, README.md: seeding on boot corrected; 0.* range. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bfc1f92b2e
commit
79e7e9b4fd
4 files changed
+60
-75
No files matched your search
+1
-1
@@ -108,7 +108,7 @@ export default defineConfig({
|
||||
|
||||
## Translations added in the UI
|
||||
|
||||
Default translation lines ship in core's seeders (`StorefrontTranslationsSeeder`, `CheckoutTranslationsSeeder`, `ValidationTranslationsSeeder`), which every app runs on boot and which only ever add missing keys. Lines added while building a storefront usually start in the Filament Language Lines UI instead. To move them into core:
|
||||
Default translation lines ship in core's seeders (`StorefrontTranslationsSeeder`, `CheckoutTranslationsSeeder`, `ValidationTranslationsSeeder`), which only ever add missing keys. A shop's entrypoint runs the checkout and validation seeders on every boot; `StorefrontTranslationsSeeder` currently has to be run explicitly (see `docs/localization.md`, "Seeding"). Lines added while building a storefront usually start in the Filament Language Lines UI instead. To move them into core:
|
||||
|
||||
```bash
|
||||
bin/dc-core.sh exec app php artisan boboko:translations:pull # local mode: writes into ../boboko-core
|
||||
|
||||
Reference in new issue
Block a user