BUG 000 - Importing language issue
- bug fix, when a wrong translation row definition exists is solved now
This commit is contained in:
@@ -233,6 +233,13 @@ class Language extends BaseLanguage {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (count($match) < 4) {
|
||||||
|
$near = isset($rowTranslation['msgid']) ? $rowTranslation['msgid'] :
|
||||||
|
(isset($rowTranslation['msgstr']) ? $rowTranslation['msgstr'] : '');
|
||||||
|
$errorMsg .= "Invalid Translation reference: \"$reference\", near -> ".$near."\n";
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
G::LoadSystem('dynaformhandler');
|
G::LoadSystem('dynaformhandler');
|
||||||
$dynaform = new dynaFormHandler(PATH_XMLFORM . $xmlForm);
|
$dynaform = new dynaFormHandler(PATH_XMLFORM . $xmlForm);
|
||||||
$fieldName = $match[2];
|
$fieldName = $match[2];
|
||||||
|
|||||||
Reference in New Issue
Block a user