Do not try to translate object properties

This commit is contained in:
Nathan Gray 2016-03-17 20:29:17 +00:00
parent d49f8bc45f
commit 1cc4a219ac

View File

@ -190,7 +190,7 @@ egw.extend('calendar', egw.MODULE_WND_LOCAL, function(_app, _wnd)
}
else
{
if (key != 'indexOf') trans[key] = full[key].substr(0,translate_fields[i]);
if (trans.hasOwnProperty(key)) trans[key] = full[key].substr(0,translate_fields[i]);
}
}
// Keep the full one for missing short ones