@molecule/app-locales-progress-bar 0.0.1-stage → 1.2.0

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.
Files changed (2) hide show
  1. package/README.md +53 -3
  2. package/package.json +5 -1
package/README.md CHANGED
@@ -1,11 +1,61 @@
1
+ <!--
2
+ AUTO-GENERATED — DO NOT EDIT THIS FILE.
3
+ Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
4
+ Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
5
+ To change this document, edit the module-level JSDoc in src/index.ts.
6
+ Generated: 2026-11-21T12:46:41.652Z
7
+ -->
8
+
1
9
  # @molecule/app-locales-progress-bar
2
10
 
3
11
  Translations for @molecule/app-progress-bar-react in 79 languages
4
12
 
13
+ > **Auto-generated, AI-first package reference** for the [molecule.dev](https://molecule.dev) ecosystem.
14
+ > It is written to be read by coding agents as much as by people, and is generated from this
15
+ > package's source — edit `src/index.ts` JSDoc, not this file.
16
+
17
+ ## Purpose
18
+
19
+ Provides translations for the `@molecule/app-progress-bar-react` package which has 1 translation key.
20
+
21
+ ## Languages
22
+
23
+ 80 languages supported: af, am, ar, az, be, bg, bn, bs, ca, cs, cy, da, de, el, en, es, et, eu, fa, fi, fil, fr, ga, gl, gu, ha, he, hi, hr, hu, hy, id, ig, is, it, ja, ka, kk, km, kn, ko, ky, lo, loader, lt, lv, mk, ml, mn, mr, ms, mt, my, nb, ne, nl, pa, pl, pt, ro, ru, si, sk, sl, sq, sr, sv, sw, ta, te, th, tr, uk, ur, uz, vi, yo, zh, zh-TW, zu.
24
+
25
+ ## Quick Start
26
+
27
+ ```typescript
28
+ import { af, am, ar } from '@molecule/app-locales-progress-bar'
29
+ import type {
30
+ ProgressBarTranslationKey,
31
+ ProgressBarTranslations,
32
+ } from '@molecule/app-locales-progress-bar'
5
33
  ```
6
- npm install @molecule/app-locales-progress-bar
34
+
35
+ ## Registration
36
+
37
+ In an mlcl-scaffolded app, installed locale bonds are registered automatically by the app's i18n setup at startup — installing this package is normally all you need. To register manually (or in a custom app), pass the whole module to `registerLocaleModule` from `@molecule/app-i18n` at startup:
38
+
39
+ ```typescript
40
+ import { registerLocaleModule } from '@molecule/app-i18n'
41
+ import * as locales from '@molecule/app-locales-progress-bar'
42
+
43
+ registerLocaleModule(locales)
7
44
  ```
8
45
 
9
- Part of the [Molecule](https://www.molecule.dev) package fleet. This page carries the manifest summary; the full generated documentation ships with the package's first committed version.
46
+ ## Editing translations
47
+
48
+ `en.ts` is the canonical key set — every other language file mirrors its keys. To change or add strings, edit the locale files in this package (add new keys to `en.ts` first) or merge overrides at runtime with `addTranslations(locale, map)`. Never hand-write translations inline in feature code: features call `t(key, values, { defaultValue })` and THIS bond supplies the translations — inline strings bypass every other language.
49
+
50
+ ## Translation Keys
51
+
52
+ | Key | English |
53
+ | ------------------- | -------- |
54
+ | `progressBar.label` | Progress |
55
+
56
+ ## Metadata
10
57
 
11
- License: Apache-2.0
58
+ - **Type:** locales
59
+ - **Category:** i18n
60
+ - **Stack:** app
61
+ - **Translates:** `@molecule/app-progress-bar-react`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/app-locales-progress-bar",
3
- "version": "0.0.1-stage",
3
+ "version": "1.2.0",
4
4
  "description": "Translations for @molecule/app-progress-bar-react in 79 languages",
5
5
  "homepage": "https://www.molecule.dev/packages/app-locales-progress-bar",
6
6
  "license": "Apache-2.0",
@@ -20,6 +20,10 @@
20
20
  "./loader.js": {
21
21
  "types": "./dist/loader.d.ts",
22
22
  "import": "./dist/loader.js"
23
+ },
24
+ "./*.js": {
25
+ "types": "./dist/*.d.ts",
26
+ "import": "./dist/*.js"
23
27
  }
24
28
  },
25
29
  "files": [