Use the 'and' feature!
This commit is contained in:
parent
2340c1308e
commit
46e9d4197a
1 changed files with 2 additions and 4 deletions
|
@ -176,10 +176,8 @@ for (const path of SEARCH_PATHS) {
|
|||
const trObj = {};
|
||||
for (const tr of translatables) {
|
||||
trObj[tr] = tr;
|
||||
if (tr.includes("|")) {
|
||||
if (inputTranslationsRaw[tr]) {
|
||||
trObj[tr] = inputTranslationsRaw[tr];
|
||||
}
|
||||
if (tr.includes("|") && inputTranslationsRaw[tr]) {
|
||||
trObj[tr] = inputTranslationsRaw[tr];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue