@@ -333,6 +333,7 @@ |
||
| 333 | 333 | * Prepare an array of translations |
| 334 | 334 | * @param array $data |
| 335 | 335 | * @param string $file |
| 336 | + * @param null|string $langcode |
|
| 336 | 337 | * @return array |
| 337 | 338 | */ |
| 338 | 339 | protected function prepareImportTranslations(array $data, $file, $langcode) |
@@ -9,11 +9,11 @@ |
||
| 9 | 9 | |
| 10 | 10 | namespace gplcart\modules\translator\models; |
| 11 | 11 | |
| 12 | -use gplcart\core\Model, |
|
| 13 | - gplcart\core\Cache; |
|
| 12 | +use gplcart\core\Model; |
|
| 13 | +use gplcart\core\Cache; |
|
| 14 | 14 | use gplcart\core\helpers\Zip as ZipHelper; |
| 15 | -use gplcart\core\models\Language as LanguageModel, |
|
| 16 | - gplcart\core\models\File as FileModel; |
|
| 15 | +use gplcart\core\models\Language as LanguageModel; |
|
| 16 | +use gplcart\core\models\File as FileModel; |
|
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | 19 | * Manages basic behaviors and data related to Translator module |