Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion php-mo.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* More info:
* https://github.com/josscrowcroft/php.mo
*
* Based on php-msgfmt by Matthias Bauer (Copyright � 2007), a command-line PHP tool
* Based on php-msgfmt by Matthias Bauer (Copyright � 2007), a command-line PHP tool
* for converting .po files to .mo.
* (http://wordpress-soc-2007.googlecode.com/svn/trunk/moeffju/php-msgfmt/msgfmt.php)
*
Expand Down Expand Up @@ -150,6 +150,7 @@ function phpmo_parse_po_file($in) {
return FALSE;
}
}
if (empty($entry['msgstr'][0])) continue;
$hash[$entry['msgid']] = $entry;
}

Expand Down