mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-10 09:15:16 +00:00
Fix bug with gen-i18n/js when adding new plurals
This commit is contained in:
+3
-1
@@ -177,7 +177,9 @@ const trObj = {};
|
|||||||
for (const tr of translatables) {
|
for (const tr of translatables) {
|
||||||
trObj[tr] = tr;
|
trObj[tr] = tr;
|
||||||
if (tr.includes("|")) {
|
if (tr.includes("|")) {
|
||||||
trObj[tr] = inputTranslationsRaw[tr];
|
if (inputTranslationsRaw[tr]) {
|
||||||
|
trObj[tr] = inputTranslationsRaw[tr];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user