@molecule/app-locales-audio-recorder 1.0.0 → 1.0.2

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/README.md ADDED
@@ -0,0 +1,72 @@
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-08-04T00:39:41.263Z
7
+ -->
8
+
9
+ # @molecule/app-locales-audio-recorder
10
+
11
+ > **Auto-generated, AI-first package reference** for the [molecule.dev](https://molecule.dev) ecosystem.
12
+ > It is written to be read by coding agents as much as by people, and is generated from this
13
+ > package's source — edit `src/index.ts` JSDoc, not this file.
14
+
15
+ Translations for @molecule/app-audio-recorder-react in 79 languages
16
+
17
+ ## Purpose
18
+
19
+ Provides translations for the `@molecule/app-audio-recorder-react` package which has 12 translation keys.
20
+
21
+ ## Languages
22
+
23
+ 79 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, 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-audio-recorder'
29
+ import type {
30
+ AudioRecorderTranslationKey,
31
+ AudioRecorderTranslations,
32
+ } from '@molecule/app-locales-audio-recorder'
33
+ ```
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-audio-recorder'
42
+
43
+ registerLocaleModule(locales)
44
+ ```
45
+
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
+ | `audioRecorder.unsupported` | Audio recording is not supported in this browser |
55
+ | `audioRecorder.error` | Recording failed. Please try again. |
56
+ | `audioRecorder.permissionDenied` | Microphone permission denied. Allow access and try again. |
57
+ | `audioRecorder.pause` | Pause |
58
+ | `audioRecorder.resume` | Resume |
59
+ | `audioRecorder.stop` | Stop |
60
+ | `audioRecorder.elapsed` | Elapsed {{time}} |
61
+ | `audioRecorder.statusPaused` | Paused |
62
+ | `audioRecorder.statusProcessed` | Recorded |
63
+ | `audioRecorder.statusError` | Error |
64
+ | `audioRecorder.statusIdle` | Ready to record |
65
+ | `audioRecorder.group` | Audio recorder |
66
+
67
+ ## Metadata
68
+
69
+ - **Type:** locales
70
+ - **Category:** i18n
71
+ - **Stack:** app
72
+ - **Translates:** `@molecule/app-audio-recorder-react`
package/dist/et.js CHANGED
@@ -6,7 +6,7 @@ export const et = {
6
6
  'audioRecorder.pause': 'Paus',
7
7
  'audioRecorder.resume': 'CV',
8
8
  'audioRecorder.stop': 'Stopp',
9
- 'audioRecorder.elapsed': 'Möödunud aeg',
9
+ 'audioRecorder.elapsed': 'Elapsed {{time}}',
10
10
  'audioRecorder.statusPaused': 'Peatatud',
11
11
  'audioRecorder.statusProcessed': 'Salvestatud',
12
12
  'audioRecorder.statusError': 'Viga',
package/dist/et.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"et.js","sourceRoot":"","sources":["../src/et.ts"],"names":[],"mappings":"AAEA,yCAAyC;AACzC,MAAM,CAAC,MAAM,EAAE,GAAuC;IACpD,2BAA2B,EAAE,oDAAoD;IACjF,qBAAqB,EAAE,kDAAkD;IACzE,gCAAgC,EAC9B,mEAAmE;IACrE,qBAAqB,EAAE,MAAM;IAC7B,sBAAsB,EAAE,IAAI;IAC5B,oBAAoB,EAAE,OAAO;IAC7B,uBAAuB,EAAE,cAAc;IACvC,4BAA4B,EAAE,UAAU;IACxC,+BAA+B,EAAE,aAAa;IAC9C,2BAA2B,EAAE,MAAM;IACnC,0BAA0B,EAAE,uBAAuB;IACnD,qBAAqB,EAAE,cAAc;CACtC,CAAA"}
1
+ {"version":3,"file":"et.js","sourceRoot":"","sources":["../src/et.ts"],"names":[],"mappings":"AAEA,yCAAyC;AACzC,MAAM,CAAC,MAAM,EAAE,GAAuC;IACpD,2BAA2B,EAAE,oDAAoD;IACjF,qBAAqB,EAAE,kDAAkD;IACzE,gCAAgC,EAC9B,mEAAmE;IACrE,qBAAqB,EAAE,MAAM;IAC7B,sBAAsB,EAAE,IAAI;IAC5B,oBAAoB,EAAE,OAAO;IAC7B,uBAAuB,EAAE,kBAAkB;IAC3C,4BAA4B,EAAE,UAAU;IACxC,+BAA+B,EAAE,aAAa;IAC9C,2BAA2B,EAAE,MAAM;IACnC,0BAA0B,EAAE,uBAAuB;IACnD,qBAAqB,EAAE,cAAc;CACtC,CAAA"}
package/dist/lt.js CHANGED
@@ -6,7 +6,7 @@ export const lt = {
6
6
  'audioRecorder.pause': 'Pauzė',
7
7
  'audioRecorder.resume': 'Gyvenimo aprašymas',
8
8
  'audioRecorder.stop': 'Stop',
9
- 'audioRecorder.elapsed': 'Praėjęs laikas laikas',
9
+ 'audioRecorder.elapsed': 'Elapsed {{time}}',
10
10
  'audioRecorder.statusPaused': 'Pristabdyta',
11
11
  'audioRecorder.statusProcessed': 'Įrašyta',
12
12
  'audioRecorder.statusError': 'Klaida',
package/dist/lt.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"lt.js","sourceRoot":"","sources":["../src/lt.ts"],"names":[],"mappings":"AAEA,yCAAyC;AACzC,MAAM,CAAC,MAAM,EAAE,GAAuC;IACpD,2BAA2B,EAAE,8CAA8C;IAC3E,qBAAqB,EAAE,wCAAwC;IAC/D,gCAAgC,EAC9B,wEAAwE;IAC1E,qBAAqB,EAAE,OAAO;IAC9B,sBAAsB,EAAE,oBAAoB;IAC5C,oBAAoB,EAAE,MAAM;IAC5B,uBAAuB,EAAE,uBAAuB;IAChD,4BAA4B,EAAE,aAAa;IAC3C,+BAA+B,EAAE,SAAS;IAC1C,2BAA2B,EAAE,QAAQ;IACrC,0BAA0B,EAAE,kBAAkB;IAC9C,qBAAqB,EAAE,yBAAyB;CACjD,CAAA"}
1
+ {"version":3,"file":"lt.js","sourceRoot":"","sources":["../src/lt.ts"],"names":[],"mappings":"AAEA,yCAAyC;AACzC,MAAM,CAAC,MAAM,EAAE,GAAuC;IACpD,2BAA2B,EAAE,8CAA8C;IAC3E,qBAAqB,EAAE,wCAAwC;IAC/D,gCAAgC,EAC9B,wEAAwE;IAC1E,qBAAqB,EAAE,OAAO;IAC9B,sBAAsB,EAAE,oBAAoB;IAC5C,oBAAoB,EAAE,MAAM;IAC5B,uBAAuB,EAAE,kBAAkB;IAC3C,4BAA4B,EAAE,aAAa;IAC3C,+BAA+B,EAAE,SAAS;IAC1C,2BAA2B,EAAE,QAAQ;IACrC,0BAA0B,EAAE,kBAAkB;IAC9C,qBAAqB,EAAE,yBAAyB;CACjD,CAAA"}
package/dist/lv.js CHANGED
@@ -6,7 +6,7 @@ export const lv = {
6
6
  'audioRecorder.pause': 'Pauze',
7
7
  'audioRecorder.resume': 'CV',
8
8
  'audioRecorder.stop': 'Apstāties',
9
- 'audioRecorder.elapsed': 'Pagājis laiks',
9
+ 'audioRecorder.elapsed': 'Elapsed {{time}}',
10
10
  'audioRecorder.statusPaused': 'Apturēts',
11
11
  'audioRecorder.statusProcessed': 'Ierakstīts',
12
12
  'audioRecorder.statusError': 'Kļūda',
package/dist/lv.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"lv.js","sourceRoot":"","sources":["../src/lv.ts"],"names":[],"mappings":"AAEA,yCAAyC;AACzC,MAAM,CAAC,MAAM,EAAE,GAAuC;IACpD,2BAA2B,EAAE,4DAA4D;IACzF,qBAAqB,EAAE,kDAAkD;IACzE,gCAAgC,EAC9B,mEAAmE;IACrE,qBAAqB,EAAE,OAAO;IAC9B,sBAAsB,EAAE,IAAI;IAC5B,oBAAoB,EAAE,WAAW;IACjC,uBAAuB,EAAE,eAAe;IACxC,4BAA4B,EAAE,UAAU;IACxC,+BAA+B,EAAE,YAAY;IAC7C,2BAA2B,EAAE,OAAO;IACpC,0BAA0B,EAAE,sBAAsB;IAClD,qBAAqB,EAAE,oBAAoB;CAC5C,CAAA"}
1
+ {"version":3,"file":"lv.js","sourceRoot":"","sources":["../src/lv.ts"],"names":[],"mappings":"AAEA,yCAAyC;AACzC,MAAM,CAAC,MAAM,EAAE,GAAuC;IACpD,2BAA2B,EAAE,4DAA4D;IACzF,qBAAqB,EAAE,kDAAkD;IACzE,gCAAgC,EAC9B,mEAAmE;IACrE,qBAAqB,EAAE,OAAO;IAC9B,sBAAsB,EAAE,IAAI;IAC5B,oBAAoB,EAAE,WAAW;IACjC,uBAAuB,EAAE,kBAAkB;IAC3C,4BAA4B,EAAE,UAAU;IACxC,+BAA+B,EAAE,YAAY;IAC7C,2BAA2B,EAAE,OAAO;IACpC,0BAA0B,EAAE,sBAAsB;IAClD,qBAAqB,EAAE,oBAAoB;CAC5C,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,12 @@
1
1
  {
2
2
  "name": "@molecule/app-locales-audio-recorder",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "license": "Apache-2.0",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/molecule-dev/molecule.git",
8
+ "directory": "packages/app/locales/audio-recorder"
9
+ },
5
10
  "type": "module",
6
11
  "main": "dist/index.js",
7
12
  "types": "dist/index.d.ts",
@@ -12,17 +17,18 @@
12
17
  }
13
18
  },
14
19
  "files": [
15
- "dist"
20
+ "dist",
21
+ "README.md"
16
22
  ],
17
23
  "scripts": {
18
24
  "build": "tsc",
19
25
  "test": "vitest run"
20
26
  },
21
27
  "peerDependencies": {
22
- "@molecule/app-i18n": "^1.0.0"
28
+ "@molecule/app-i18n": "^1.0.1"
23
29
  },
24
30
  "devDependencies": {
25
31
  "typescript": "6.0.3",
26
- "vitest": "4.1.10"
32
+ "vitest": "4.1.11"
27
33
  }
28
34
  }