bump lingui, rm patch

This commit is contained in:
Samuel Newman
2026-02-23 22:02:23 +02:00
parent f1d2d0b387
commit 045160264e
3 changed files with 49 additions and 69 deletions
-20
View File
@@ -1,20 +0,0 @@
diff --git a/node_modules/@lingui/cli/dist/api/catalog.js b/node_modules/@lingui/cli/dist/api/catalog.js
index 191b281..4af924e 100644
--- a/node_modules/@lingui/cli/dist/api/catalog.js
+++ b/node_modules/@lingui/cli/dist/api/catalog.js
@@ -234,10 +234,12 @@ async function writeCompiled(path, locale, compiledCatalog, namespace) {
await (0, utils_1.writeFile)(filename, compiledCatalog);
return filename;
}
+
+// hardcoded en-US locale to have consistent sorting
+// @see https://github.com/lingui/js-lingui/pull/1808
+const collator = new Intl.Collator("en-US");
+
const orderByMessage = (a, b) => {
- // hardcoded en-US locale to have consistent sorting
- // @see https://github.com/lingui/js-lingui/pull/1808
- const collator = new Intl.Collator("en-US");
const aMsg = a.entry.message || "";
const bMsg = b.entry.message || "";
const aCtxt = a.entry.context || "";