mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 16:22:49 +00:00
76b19a158f
The gallery gave no indication of how old the screenshots on the page were, which is one of the remaining items on the GitHub Pages improvement list. The generator now writes the time it ran alongside the screenshot data, and the page renders it in the footer next to the existing links.
Screenshots viewer
The screenshots in German are getting generated on a regular basis, each time there is a sync with Localazy. You can open the page index.html in a browser to see the screenshots in English, and their translations into German.
Generate screenshots for other languages
Generating screenshots for other languages can be done locally. Here are the steps to follow:
- Run the script generateAllScreenshots.py with the languages as parameters to generate the screenshots for the new languages. This will not delete the existing screenshots, but will add new ones for the new languages. This will also update the Javascript data. For instance, to generate screenshots for French and Spanish, run the following command in a terminal:
generateAllScreenshots.py fr es
- Open the page
index.htmlin a browser to see the new screenshots.