Skip to content

Commit

Permalink
bump lean-i18n and other stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Mar 27, 2024
1 parent ad1add5 commit 1a54edf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions client/src/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
"iso": "de",
"flag": "DE",
"name": "Deutsch"
},
{
"iso": "zh",
"flag": "CN",
"name": "中国人"
}
]
}
1 change: 0 additions & 1 deletion client/src/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ i18n
// see https://github.com/i18next/i18next-http-backend

loadPath: function(lngs, namespaces: Array<string>) {
console.warn(namespaces)
if (namespaces[0].startsWith("g/")) {
return '/i18n/{{ns}}/{{lng}}/Game.json';
} else {
Expand Down
2 changes: 1 addition & 1 deletion server/lake-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1a54edf

Please sign in to comment.