mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Simple Html page to view all the screenshots.
Do not delete the whole screenshots folder, but just delete per language when the screenshots are generated. Generate the data.js file regarding the existing screenshots, to be able to add languages. Also the language will be sorted alphabetically (English still first). And the screenshot will be sorted alphabetically. Update the script to generate screenshot for specific language on demand.
This commit is contained in:
committed by
Benoit Marty
parent
071f80c4a7
commit
bc394c2e24
@@ -0,0 +1,17 @@
|
||||
## Screenshots viewer
|
||||
|
||||
The screenshots in German and French are getting generated on a regular basis, each time there is a sync with Localazy. You can open the
|
||||
page [index.html](./index.html) in a browser to see the screenshots in English, and their translations into French and 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](../tools/test/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:
|
||||
|
||||
```bash
|
||||
generateAllScreenshots.py fr es
|
||||
```
|
||||
-
|
||||
- Open the page `index.html` in a browser to see the new screenshots.
|
||||
Reference in New Issue
Block a user