浏览代码

ref: changeset

Sv443 3 月之前
父节点
当前提交
c5e08cf694
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .changeset/beige-dots-refuse.md

+ 1 - 0
.changeset/beige-dots-refuse.md

@@ -18,3 +18,4 @@
 - Added ability to specify transform patterns and functions for arbitrary modification of the translation string.
   - Added transform for template literal syntax (e.g. `${keyName}`) with `tr.addTransform(tr.transforms.templateLiteral)`. This transform supports positional argument injection, as well as named arguments via an object with the same keys as in the template literal pattern. See the documentation for more information and a code example.
 - Added TS type `TrKeys<T>` for extracting the keys of a translation object (both flat and nested).
+- Fixed bug with resolving translations for flat objects.