From 1a54edffd49bc49f699de74c868656d1914f00c0 Mon Sep 17 00:00:00 2001 From: Jon Eugster Date: Wed, 27 Mar 2024 01:37:58 +0100 Subject: [PATCH] bump lean-i18n and other stuff --- client/src/config.json | 5 +++++ client/src/i18n.ts | 1 - server/lake-manifest.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/client/src/config.json b/client/src/config.json index 3e696f2..cf59083 100644 --- a/client/src/config.json +++ b/client/src/config.json @@ -17,6 +17,11 @@ "iso": "de", "flag": "DE", "name": "Deutsch" + }, + { + "iso": "zh", + "flag": "CN", + "name": "中国人" } ] } diff --git a/client/src/i18n.ts b/client/src/i18n.ts index da02ff5..a044abe 100644 --- a/client/src/i18n.ts +++ b/client/src/i18n.ts @@ -11,7 +11,6 @@ i18n // see https://github.com/i18next/i18next-http-backend loadPath: function(lngs, namespaces: Array) { - console.warn(namespaces) if (namespaces[0].startsWith("g/")) { return '/i18n/{{ns}}/{{lng}}/Game.json'; } else { diff --git a/server/lake-manifest.json b/server/lake-manifest.json index d34af4f..1ba5515 100644 --- a/server/lake-manifest.json +++ b/server/lake-manifest.json @@ -13,7 +13,7 @@ {"url": "https://github.com/hhu-adam/lean-i18n.git", "type": "git", "subDir": null, - "rev": "59fea5bbc2ea22c2ee77ea6a65b0212ac241a56f", + "rev": "2c5ce050296621fda7f938b270a18d00672d556b", "name": "i18n", "manifestFile": "lake-manifest.json", "inputRev": "main",