$out .= '}}' . "\n";
}
- if ($k != "" && substr($l, 0, 7) == 'msgstr ') {
+ if ($k != '' && substr($l, 0, 7) == 'msgstr ') {
if ($ink) {
$ink = false;
$out .= '$a->strings["' . $k . '"] = ';
$inv = true;
}
+
if ($k != "" && substr($l, 0, 7) == 'msgstr[') {
if ($ink) {
$ink = false;
}
if (!$arr) {
- $arr = True;
+ $arr = true;
$out .= "[\n";
}
+
$match = [];
preg_match("|\[([0-9]*)\] (.*)|", $l, $match);
$out .= "\t"
$inv = false;
$out .= '"' . $v . '"';
}
+
if ($k != "") {
$out .= ($arr) ? "];\n" : ";\n";
}
+
$arr = false;
$k = str_replace("msgid ", "", $l);
if ($k != '""') {