no message
This commit is contained in:
@@ -52,9 +52,9 @@ class TranslationJob
|
|||||||
foreach ($languages as $lang => $xflang) {
|
foreach ($languages as $lang => $xflang) {
|
||||||
|
|
||||||
if($entityType =='location'){
|
if($entityType =='location'){
|
||||||
$fields = $translator->location($sourceFields,$lang,$sourceLang);
|
// $fields = $translator->location($sourceFields,$lang,$sourceLang);
|
||||||
}else{
|
}else{
|
||||||
$fields = $translator->vehicle($sourceFields,$lang,$sourceLang);
|
// $fields = $translator->vehicle($sourceFields,$lang,$sourceLang);
|
||||||
}
|
}
|
||||||
|
|
||||||
$translationModel = $translationModels[$xflang];
|
$translationModel = $translationModels[$xflang];
|
||||||
@@ -64,6 +64,7 @@ class TranslationJob
|
|||||||
}else{
|
}else{
|
||||||
$translation = new $translationModel();
|
$translation = new $translationModel();
|
||||||
}
|
}
|
||||||
|
$fields = [];
|
||||||
$translation->fill($fields);
|
$translation->fill($fields);
|
||||||
$res = $translation->save();
|
$res = $translation->save();
|
||||||
log::info('$languages save '.$lang, [$res,$fields]);
|
log::info('$languages save '.$lang, [$res,$fields]);
|
||||||
|
|||||||
Reference in New Issue
Block a user