i18n for search

This commit is contained in:
zwbetz-gh 2020-07-10 13:59:32 -05:00
parent 67f79b8474
commit b4d6db179a
2 changed files with 6 additions and 3 deletions

View File

@ -22,4 +22,7 @@
translation: "Tags:" translation: "Tags:"
- id: aria_label_tags - id: aria_label_tags
translation: tags translation: tags
- id: search_placeholder
translation: Search by title...
- id: search_aria_label
translation: Search by title

View File

@ -5,8 +5,8 @@
<input <input
id="search" id="search"
type="text" type="text"
placeholder="Search by title..." placeholder="{{ T "search_placeholder" }}"
aria-label="Search by title" aria-label="{{ T "search_aria_label" }}"
/> />
{{ end }} {{ end }}
<ul class="patterns-list" id="list"> <ul class="patterns-list" id="list">