mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-30 19:01:17 +02:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
8121fbe428
@ -143,7 +143,7 @@ function getTranslationsJs(file) {
|
|||||||
// Validate tag replacements
|
// Validate tag replacements
|
||||||
if (node.arguments.length > 2) {
|
if (node.arguments.length > 2) {
|
||||||
const tagMap = node.arguments[2];
|
const tagMap = node.arguments[2];
|
||||||
for (const prop of tagMap.properties) {
|
for (const prop of tagMap.properties || []) {
|
||||||
if (prop.key.type === 'Literal') {
|
if (prop.key.type === 'Literal') {
|
||||||
const tag = prop.key.value;
|
const tag = prop.key.value;
|
||||||
// RegExp same as in src/languageHandler.js
|
// RegExp same as in src/languageHandler.js
|
||||||
|
Loading…
x
Reference in New Issue
Block a user