Add more translations

This commit is contained in:
Danila Fedorin 2023-01-01 12:58:41 -08:00
parent 2f4e5f58a0
commit 32738ce835
3 changed files with 8 additions and 2 deletions

View File

@ -50,3 +50,9 @@
[note]
other = "note"
[from]
other = "From"
[searchRequiresJS]
other = "Search (requires JavaScript)"

View File

@ -1,3 +1,3 @@
<div class="highlight-group">
<div class="highlight-label">From <a href="{{ .url }}">{{ path.Base .path }}</a>{{ .comment }}</div>{{ .content }}
<div class="highlight-label">{{ i18n "from" }} <a href="{{ .url }}">{{ path.Base .path }}</a>{{ .comment }}</div>{{ .content }}
</div>

View File

@ -7,7 +7,7 @@
<div class="stork-wrapper">
<div class="stork-input-wrapper">
<input class="stork-input" data-stork="blog" placeholder="Search (requires JavaScript)"/>
<input class="stork-input" data-stork="blog" placeholder="{{ i18n "searchRequiresJS" }}"/>
</div>
<div class="stork-output" data-stork="blog-output"></div>
</div>