Locale module checks the database for existing strings when importing translations. Unfortunately the check is implemented with an E_NOTICE disabled system in mind, checking for a property of a non-object (if there is no existing translation). The attached simple patch changes the two occurances popped up in my testing.

CommentFileSizeAuthor
localenotices.patch1.74 KBgábor hojtsy

Comments

dries’s picture

Committed to CVS HEAD. Thanks.

gábor hojtsy’s picture

Status: Reviewed & tested by the community » Fixed

Committed, so change status.

drumm’s picture

I would apply small, easily testable, fixes like this to 5, but it does not apply.

Anonymous’s picture

Status: Fixed » Closed (fixed)