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,12 +176,10 @@ 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(
|
||||||
"src/i18n/strings/en_EN.json",
|
"src/i18n/strings/en_EN.json",
|
||||||
|
Reference in New Issue
Block a user