mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-16 21:08:17 +00:00
* fix: Pair English Plural Keys as _one/_other for Locize Locize groups keys by plural suffix and generates every form a language needs. Families that paired a bare base key with _one surfaced empty-source _other rows, and literal keys ending in _other or _one spawned unrelated plural siblings. Rename the bases to _other, rename the colliding literal keys, and guard the English file against a regression. * test: Cover Plural Version Count and Other Issue Feedback Tag * fix: Announce a Single Running or Finished Chat in the Singular * fix: Resolve Plural Forms From Base Keys So Locale Plural Rules Apply Selecting an explicit _other key bypassed i18next's plural resolution, so a single running chat was announced in the plural and locale forms such as _zero and _many were never chosen. Call sites pass the base key with a numeric count again, and TranslationKeys accepts plural base keys. * fix: Let i18next Pick Duration Plural Forms From a Numeric Count Duration and elapsed announcements selected an explicit _one or _other key and passed the formatted number as count, so locale forms such as _few and _many were unreachable. They now pass the base key with a numeric count and interpolate the locale-formatted number as value. |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| sw | ||
| test | ||
| babel.config.cjs | ||
| check_updates.sh | ||
| index.html | ||
| jest.config.cjs | ||
| jest.resolver.cjs | ||
| nginx.conf | ||
| package.json | ||
| postcss.config.cjs | ||
| tailwind.config.cjs | ||
| tsconfig.json | ||
| vite.config.ts | ||