@localazy/strapi-plugin 0.1.11-rc.1 → 0.1.11-rc.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@localazy/strapi-plugin",
3
- "version": "0.1.11-rc.1",
3
+ "version": "0.1.11-rc.2",
4
4
  "description": "The official Strapi Plugin by Localazy.",
5
5
  "strapi": {
6
6
  "name": "localazy",
@@ -311,10 +311,11 @@ module.exports = {
311
311
  );
312
312
  const localazyContent = {};
313
313
  for (const isoLocalazy of supportedLanguages) {
314
+ const isoStrapi = isoLocalazyToStrapi(isoLocalazy);
314
315
  const result = await LocalazyDownloadService.download({
315
316
  projectId: user.project.id,
316
317
  fileId: strapiFile.id,
317
- lang: isoLocalazy,
318
+ lang: isoStrapi,
318
319
  });
319
320
  if (!result.success) {
320
321
  messageReport.push(result.message);