refactor(i18n): translation key renaming (#68)

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/63
This commit is contained in:
Jimmy Cai
2020-12-19 01:41:26 +01:00
committed by GitHub
parent e9c1abac93
commit d205753323
23 changed files with 273 additions and 266 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
<form action="/search" class="search-form widget" {{ with .OutputFormats.Get "json" -}}data-json="{{ .Permalink }}" {{- end }}>
<p>
<label>{{ T "searchTitle" }}</label>
<input name="keyword" required placeholder="{{ T `searchPlaceholder` }}" />
<label>{{ T "search.title" }}</label>
<input name="keyword" required placeholder="{{ T `search.placeholder` }}" />
<button title="Search">
{{ partial "helper/icon" "search" }}