You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-07 21:23:00 +03:00
Use the 'and' feature!
This commit is contained in:
@@ -176,11 +176,9 @@ for (const path of SEARCH_PATHS) {
|
|||||||
const trObj = {};
|
const trObj = {};
|
||||||
for (const tr of translatables) {
|
for (const tr of translatables) {
|
||||||
trObj[tr] = tr;
|
trObj[tr] = tr;
|
||||||
if (tr.includes("|")) {
|
if (tr.includes("|") && inputTranslationsRaw[tr]) {
|
||||||
if (inputTranslationsRaw[tr]) {
|
|
||||||
trObj[tr] = inputTranslationsRaw[tr];
|
trObj[tr] = inputTranslationsRaw[tr];
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fs.writeFileSync(
|
fs.writeFileSync(
|
||||||
|
Reference in New Issue
Block a user