When you merge old translations with .pot files and then import them into interface, empty strings are not skipped. An example:

#: includes/form.inc:2356 modules/node/node.admin.inc:371
msgid "Processing"
msgstr ""

This should be untranslated string in the interface, but come as an empty suggestion (when you submit import form with "mark as suggestions")

CommentFileSizeAuthor
#1 l10n.patch865 bytesmeba

Comments

meba’s picture

Status: Active » Needs review
StatusFileSize
new865 bytes

This should do the stuff? I am not sure if this is needed only when using suggestions

gábor hojtsy’s picture

Status: Needs review » Fixed

Thanks, while I was there, I modified it to be even cleaner: !empty($value['msgid']) && !empty($value['msgstr']). This is fine for both translations and suggestions, as we have the source strings in the DB already, so there is definitely no point in dealing with empty stuff. Thanks, committed!

gábor hojtsy’s picture

Status: Fixed » Closed (fixed)