@enplug/scripts 1.11.4-dev15 → 1.11.4-dev17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -112,9 +112,9 @@ function generateFormData(crowdinPath, localPath) {
|
|
|
112
112
|
const formData = new FormData();
|
|
113
113
|
|
|
114
114
|
// formData.append('update_option', 'update_without_changes'); // Previous translations should remain valid
|
|
115
|
-
formData.append('json', '');
|
|
116
|
-
formData.append(
|
|
117
|
-
formData.append(`export_patterns[${crowdinPath}]`, '%locale%.json');
|
|
115
|
+
// formData.append('json', '');
|
|
116
|
+
formData.append('file', fs.createReadStream(localPath), 'en.json');
|
|
117
|
+
// formData.append(`export_patterns[${crowdinPath}]`, '%locale%.json');
|
|
118
118
|
return formData;
|
|
119
119
|
}
|
|
120
120
|
|