BUG 000 - Importing language issue
- bug fix, when a wrong translation row definition exists is solved now
This commit is contained in:
@@ -232,6 +232,13 @@ class Language extends BaseLanguage {
|
|||||||
$errorMsg .= 'file doesn\'t exist: ' . PATH_XMLFORM . $xmlForm . "\n";
|
$errorMsg .= 'file doesn\'t exist: ' . PATH_XMLFORM . $xmlForm . "\n";
|
||||||
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user