mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 09:15:41 +03:00
Comment ignoring getTKey returning null
This commit is contained in:
parent
63a7d37f5a
commit
caa4979e37
1 changed files with 2 additions and 0 deletions
|
@ -76,6 +76,8 @@ function getTranslations(file) {
|
|||
TRANSLATIONS_FUNCS.includes(node.callee.name)
|
||||
) {
|
||||
const tKey = getTKey(node.arguments[0]);
|
||||
// This happens whenever we call _t with non-literals (ie. whenever we've
|
||||
// had to use a _td to compensate) so is expected.
|
||||
if (tKey === null) return;
|
||||
|
||||
let isPlural = false;
|
||||
|
|
Loading…
Reference in a new issue