diff options
Diffstat (limited to 'template/html/common/item_meta.html')
-rw-r--r-- | template/html/common/item_meta.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/template/html/common/item_meta.html b/template/html/common/item_meta.html index 4ea052e..ba83da7 100644 --- a/template/html/common/item_meta.html +++ b/template/html/common/item_meta.html @@ -10,40 +10,40 @@ {{ if .hasSaveEntry }} <li> <a href="#" - title="{{ t "Save this article" }}" + title="{{ t "entry.save.title" }}" data-save-entry="true" data-save-url="{{ route "saveEntry" "entryID" .entry.ID }}" - data-label-loading="{{ t "Saving..." }}" - data-label-done="{{ t "Done!" }}" - >{{ t "Save" }}</a> + data-label-loading="{{ t "entry.state.saving" }}" + data-label-done="{{ t "entry.save.completed" }}" + >{{ t "entry.save.label" }}</a> </li> {{ end }} <li> - <a href="{{ .entry.URL }}" target="_blank" rel="noopener noreferrer" referrerpolicy="no-referrer" data-original-link="true">{{ t "Original" }}</a> + <a href="{{ .entry.URL }}" target="_blank" rel="noopener noreferrer" referrerpolicy="no-referrer" data-original-link="true">{{ t "entry.original.label" }}</a> </li> {{ if .entry.CommentsURL }} <li> - <a href="{{ .entry.CommentsURL }}" title="{{ t "View Comments" }}" target="_blank" rel="noopener noreferrer" referrerpolicy="no-referrer">{{ t "Comments" }}</a> + <a href="{{ .entry.CommentsURL }}" title="{{ t "entry.comments.title" }}" target="_blank" rel="noopener noreferrer" referrerpolicy="no-referrer">{{ t "entry.comments.label" }}</a> </li> {{ end }} <li> <a href="#" data-toggle-bookmark="true" data-bookmark-url="{{ route "toggleBookmark" "entryID" .entry.ID }}" - data-label-loading="{{ t "Saving..." }}" - data-label-star="☆ {{ t "Star" }}" - data-label-unstar="★ {{ t "Unstar" }}" + data-label-loading="{{ t "entry.state.saving" }}" + data-label-star="☆ {{ t "entry.bookmark.toggle.on" }}" + data-label-unstar="★ {{ t "entry.bookmark.toggle.off" }}" data-value="{{ if .entry.Starred }}star{{ else }}unstar{{ end }}" - >{{ if .entry.Starred }}★ {{ t "Unstar" }}{{ else }}☆ {{ t "Star" }}{{ end }}</a> + >{{ if .entry.Starred }}★ {{ t "entry.bookmark.toggle.off" }}{{ else }}☆ {{ t "entry.bookmark.toggle.on" }}{{ end }}</a> </li> <li> <a href="#" - title="{{ t "Change entry status" }}" + title="{{ t "entry.status.title" }}" data-toggle-status="true" - data-label-read="✔︎ {{ t "Read" }}" - data-label-unread="✘ {{ t "Unread" }}" + data-label-read="✔︎ {{ t "entry.status.read" }}" + data-label-unread="✘ {{ t "entry.status.unread" }}" data-value="{{ if eq .entry.Status "read" }}read{{ else }}unread{{ end }}" - >{{ if eq .entry.Status "read" }}✘ {{ t "Unread" }}{{ else }}✔︎ {{ t "Read" }}{{ end }}</a> + >{{ if eq .entry.Status "read" }}✘ {{ t "entry.status.unread" }}{{ else }}✔︎ {{ t "entry.status.read" }}{{ end }}</a> </li> </ul> </div> |