@ultimat3/i18n 31.32.0 → 31.33.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultimat3/i18n",
3
- "version": "31.32.0",
3
+ "version": "31.33.0",
4
4
  "description": "Dependency-free translator, catalog flattening, locale negotiation and loud missing-key rendering",
5
5
  "keywords": [
6
6
  "ultimate",
@@ -48,6 +48,6 @@
48
48
  "test": "bun test"
49
49
  },
50
50
  "dependencies": {
51
- "@ultimat3/core": "31.32.0"
51
+ "@ultimat3/core": "31.33.0"
52
52
  }
53
53
  }
@@ -1,9 +1,10 @@
1
1
  /**
2
2
  * A locale in the URL, against the APP's configured locales: how a leading `/<locale>/` segment is
3
- * split off a pathname, and how a path is spelled in a locale. The arithmetic is core's
4
- * (`locale-path.ts`, tier 0 so a browser chunk can spell a link without this barrel); this file
5
- * supplies the routed locales and the default, so `@ultimat3/http` routes, `@ultimat3/render` hands
6
- * `meta` and the prerender writes files from one answer.
3
+ * split off a pathname, and how a path is spelled in a locale.
4
+ *
5
+ * The arithmetic is core's (`locale-path.ts`, tier 0 so a browser chunk can spell a link without
6
+ * this barrel); this file supplies the routed locales and the default, so `@ultimat3/http` routes,
7
+ * `@ultimat3/render` hands `meta` and the prerender writes files from one answer.
7
8
  */
8
9
 
9
10
  import { type LocalePathSplit, localizePath, splitLocalePath } from '@ultimat3/core';
package/src/subset.ts CHANGED
@@ -1,8 +1,10 @@
1
1
  // A slice of a catalog that can cross into an island. A translator is a function and cannot be an
2
2
  // island's prop, so the server resolves the raw templates the island will read — plural variants
3
- // included — and the island builds a full translator over them: the same lookup, interpolation
4
- // and loud `⟦key⟧` miss as the server's. Its own entry (`@ultimat3/i18n/subset`): the barrel
5
- // installs the framework catalog at import, and an island chunk must not carry it.
3
+ // included — and the island builds a full translator over them: the same lookup, interpolation and
4
+ // loud `⟦key⟧` miss as the server's.
5
+ //
6
+ // Its own entry (`@ultimat3/i18n/subset`): the barrel installs the framework catalog at import, and
7
+ // an island chunk must not carry it.
6
8
 
7
9
  import type { Catalog } from './catalog';
8
10
  import { pluralVariantsOf } from './interpolate';