Import of an override with blank msgstr fails
Mark Theunissen - March 4, 2009 - 17:52
| Project: | String Overrides |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Rob Loach |
| Status: | closed |
Description
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!

#1
#2
#3
Committed! Thanks!
#4
Automatically closed -- issue fixed for 2 weeks with no activity.