I use string overrides to remove some strings completely. The problem is that when I import a .po file with an empty msgstr, it gets discarded. The patch just removes the check ...

if (!empty($currentstring) && !empty($currentoverride)) {

becomes:

if (!empty($currentoverride)) {

Thanks!

Comments

Mark Theunissen’s picture

StatusFileSize
new882 bytes
robloach’s picture

Assigned: Mark Theunissen » robloach
Status: Needs review » Reviewed & tested by the community
robloach’s picture

Status: Reviewed & tested by the community » Fixed

Committed! Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.