Download & Extend

Import of an override with blank msgstr fails

Project:String Overrides
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Rob Loach
Status:closed (fixed)

Issue Summary

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

#1

#2

Assigned to:Mark Theunissen» Rob Loach
Status:needs review» reviewed & tested by the community

#3

Status:reviewed & tested by the community» fixed

Committed! Thanks!

#4

Status:fixed» closed (fixed)

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

nobody click here