diff --git a/potx.inc b/potx.inc index f3d3814..c50727a 100644 --- a/potx.inc +++ b/potx.inc @@ -637,6 +637,11 @@ function _potx_translation_export($translation_export_langcode, $string, $plural $output .= 'msgstr[' . $index . '] ' . _locale_export_string($translation); } } + else { + foreach (array_keys($strings) as $index) { + $output .= "msgstr[" . $index . "] \"\"\n"; + } + } } else { foreach ($strings as $index => $string) {