mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
Improve translation of hidden aria elements
This commit is contained in:
parent
8367413e84
commit
f203326a29
28 changed files with 489 additions and 193 deletions
|
@ -8,9 +8,9 @@
|
|||
</h1>
|
||||
<span class="sr-only">
|
||||
{{ if .showOnlyUnreadEntries }}
|
||||
{{ t "page.categories.unread_counter" }}: {{ .total }}
|
||||
{{ plural "page.unread_entry_count" .total .total }}
|
||||
{{ else }}
|
||||
{{ t "page.categories.all_counter" }}: {{ .total }}
|
||||
{{ plural "page.total_entry_count" .total .total }}
|
||||
{{ end }}
|
||||
</span>
|
||||
<nav aria-label="{{ .category.Title }} {{ t "menu.title" }}">
|
||||
|
@ -87,7 +87,7 @@
|
|||
</a>
|
||||
</h2>
|
||||
<span class="category">
|
||||
<a href="{{ route "categoryEntries" "categoryID" .Feed.Category.ID }}" aria-label="{{ t "page.feeds.category" }}: {{ .Feed.Category.Title }}">
|
||||
<a href="{{ route "categoryEntries" "categoryID" .Feed.Category.ID }}" aria-label="{{ t "page.category_label" .Feed.Category.Title }}">
|
||||
{{ .Feed.Category.Title }}
|
||||
</a>
|
||||
</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue