Skip to content
Snippets Groups Projects
Commit 115e586e authored by matograine's avatar matograine
Browse files

add instructions to fetch images

parent 174bc429
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,20 @@ On peut lui passer de zéro à deux arguments : ...@@ -28,6 +28,20 @@ On peut lui passer de zéro à deux arguments :
- `url_orientation` peut être "horizontal", "vertical" ou "none". La valeur par défaut est "horizontal". Il définit l'orientation de l'URL sur les ViGnettes. - `url_orientation` peut être "horizontal", "vertical" ou "none". La valeur par défaut est "horizontal". Il définit l'orientation de l'URL sur les ViGnettes.
- `default_lang` va automatiquement créer une page par défaut dans la langue indiquée. Il doit correspondre à une des langues présentes dans i18n. - `default_lang` va automatiquement créer une page par défaut dans la langue indiquée. Il doit correspondre à une des langues présentes dans i18n.
### Images
Les images d'exemples ne sont pas inclues dans l'historique git pour ne pas surcharger les dépôts.
Vous pouvez les récupérer :
```
# A la racine du dépôt
wget g1cotis.fr/vignette/img_vignette.zip
unzip img_vignette.zip
cp -r img_vignette/* i18n/
```
Lancez le build ensuite.
## Traduction ## Traduction
Les fichiers de traduction doivent se trouver dans `i18n` suivant ce schéma: Les fichiers de traduction doivent se trouver dans `i18n` suivant ce schéma:
...@@ -70,6 +84,18 @@ It takes zero to two arguments: ...@@ -70,6 +84,18 @@ It takes zero to two arguments:
- `url_orientation` can be "horizontal", "vertical" or "none". Default is "horizontal". It rules the orientation of URL on vignettes. - `url_orientation` can be "horizontal", "vertical" or "none". Default is "horizontal". It rules the orientation of URL on vignettes.
- `default_lang` will automatically create a homepage in given language. It must match one lang existing in i18n. - `default_lang` will automatically create a homepage in given language. It must match one lang existing in i18n.
### Images
Example images are not part of the Git history to avoid overloading repos.
You can fetch them:
```
# At the repo root
wget g1cotis.fr/vignette/img_vignette.zip
unzip img_vignette.zip
cp -rf img_vignette/* i18n/
```
Launch the build script afterwards.
## Translation ## Translation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment