1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-07-22 17:18:37 +00:00

Improve translation of hidden aria elements

This commit is contained in:
Frédéric Guillot 2024-02-04 12:51:04 -08:00
parent 8367413e84
commit f203326a29
28 changed files with 489 additions and 193 deletions

View file

@ -61,9 +61,7 @@
{{ if .user }}
<a class="skip-to-content-link" href="#main">
Skip to content
</a>
<a class="skip-to-content-link" href="#main">{{ t "skip_to_content" }}</a>
<header class="header">
<nav>
<div class="logo">
@ -81,7 +79,7 @@
<a href="{{ route "unread" }}"
data-page="unread"
{{ if gt .countUnread 0 }}
aria-label="{{ t "menu.unread" }}, {{ t "page.unread.total" }}: {{ .countUnread }}"
aria-label="{{ t "menu.unread" }}, {{ plural "page.unread_entry_count" .countUnread .countUnread }}"
{{ end }}
>
{{ t "menu.unread" }}