Allow translating search bar placeholder

Add `extra.i18n.search` variable.
This commit is contained in:
Bertrand Marron
2016-11-05 13:58:19 +01:00
parent 68b1800d38
commit 34a5779628
3 changed files with 8 additions and 8 deletions

View File

@@ -175,14 +175,14 @@ extra:
### Localization
The **Previous** and **Next** labels in the footer can easily be changed by
defining the variables `extra.i18n.prev` and `extra.i18n.next`:
The following texts and labels can easily be changed by defining variables:
``` yaml
extra:
i18n:
prev: 'Previous'
next: 'Next'
prev: 'Previous' # "Previous" label in the footer
next: 'Next' # "Next" label in the footer
search: 'Search' # "Search" placeholder in the search bar
```
### Adding a GitHub and Twitter account