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:"
- id: aria_label_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
id="search"
type="text"
placeholder="Search by title..."
aria-label="Search by title"
placeholder="{{ T "search_placeholder" }}"
aria-label="{{ T "search_aria_label" }}"
/>
{{ end }}
<ul class="patterns-list" id="list">