cozy / create-cozy-app

A CLI to bootstrap a "zero-configuration" application for the Cozy V3 platform
https://docs.cozy.io/en/tutorials/app/
MIT License
16 stars 15 forks source link

fix: Merge locales and langs entry in manifest #1473

Closed Merkur39 closed 2 years ago

Merkur39 commented 2 years ago

Today, in the Store, in the details of an application, we cannot add screenshots keeping the translations in the locales folder

It is now possible to keep the translations in the locales folder and simply add the path of the screenshots in the manifest.webapp file: Ex:

"locales": {
    "en": {
      "screenshots": [
        "screenshots/en/screenshot01.png",
        "screenshots/en/screenshot02.png",
      ]
    },
    "fr": {
      "screenshots": [
        "screenshots/fr/screenshot01.png",
        "screenshots/fr/screenshot02.png",
      ]
    }
  }
Merkur39 commented 2 years ago

It would be great to add a test for it ;)

En effet, je m'en occupe au plus vite! (autre PR) 👍