Forráskód Böngészése

Remove translation key page.categories.unread_counter

Frédéric Guillot 2 éve
szülő
commit
5ce5c47499

+ 0 - 1
internal/locale/translations/de_DE.json

@@ -114,7 +114,6 @@
         "Es gibt %d Abonnement.",
         "Es gibt %d Abonnements."
     ],
-    "page.categories.unread_counter": "Anzahl der ungelesenen Artikel",
     "page.categories_count": [
         "%d category",
         "%d categories"

+ 0 - 1
internal/locale/translations/el_EL.json

@@ -114,7 +114,6 @@
         "Υπάρχει μία %d ροή.",
         "Υπάρχουν %d ροές."
     ],
-    "page.categories.unread_counter": "Αριθμός μη αναγνωσμένων καταχωρήσεων",
     "page.new_category.title": "Νέα Κατηγορία",
     "page.new_user.title": "Νέος Χρήστης",
     "page.edit_category.title": "Επεξεργασία κατηγορίας: % s",

+ 0 - 1
internal/locale/translations/es_ES.json

@@ -114,7 +114,6 @@
         "Hay %d fuente.",
         "Hay %d fuentes."
     ],
-    "page.categories.unread_counter": "Número de artículos no leídos",
     "page.categories_count": [
         "%d category",
         "%d categories"

+ 0 - 1
internal/locale/translations/fi_FI.json

@@ -114,7 +114,6 @@
         "On %d syöte.",
         "On %d syötettä."
     ],
-    "page.categories.unread_counter": "Lukemattomien artikkeleiden määrä",
     "page.categories_count": [
         "%d category",
         "%d categories"

+ 0 - 1
internal/locale/translations/fr_FR.json

@@ -114,7 +114,6 @@
         "Il y a %d abonnement.",
         "Il y a %d abonnements."
     ],
-    "page.categories.unread_counter": "Nombre d'entrées non lues",
     "page.categories_count": [
         "%d catégorie",
         "%d catégories"

+ 0 - 1
internal/locale/translations/hi_IN.json

@@ -114,7 +114,6 @@
         "%d फ़ीड बाकी है।",
         "%d फ़ीड बाकी है।"
     ],
-    "page.categories.unread_counter": "अपठित प्रविष्टिया",
     "page.categories_count": [
         "%d category",
         "%d categories"

+ 0 - 1
internal/locale/translations/id_ID.json

@@ -112,7 +112,6 @@
     "page.categories.feed_count": [
     "Ada %d umpan."
     ],
-    "page.categories.unread_counter": "Jumlah entri yang belum dibaca",
     "page.categories_count": [
         "%d category",
         "%d categories"

+ 0 - 1
internal/locale/translations/it_IT.json

@@ -114,7 +114,6 @@
         "C'è %d feed.",
         "Ci sono %d feed."
     ],
-    "page.categories.unread_counter": "Numero di voci non lette",
     "page.categories_count": [
         "%d category",
         "%d categories"

+ 0 - 1
internal/locale/translations/ja_JP.json

@@ -114,7 +114,6 @@
         "%d 件のフィードがあります。",
         "%d 件のフィードがあります。"
     ],
-    "page.categories.unread_counter": "未読記事の数",
     "page.categories_count": [
         "%d category",
         "%d categories"

+ 0 - 1
internal/locale/translations/nl_NL.json

@@ -114,7 +114,6 @@
         "Er is %d feed.",
         "Er zijn %d feeds."
     ],
-    "page.categories.unread_counter": "Aantal ongelezen vermeldingen",
     "page.categories_count": [
         "%d category",
         "%d categories"

+ 0 - 1
internal/locale/translations/pl_PL.json

@@ -115,7 +115,6 @@
         "Są %d kanały.",
         "Jest %d kanałów."
     ],
-    "page.categories.unread_counter": "Liczba nieprzeczytanych wpisów",
     "page.categories_count": [
         "%d category",
         "%d categories"

+ 0 - 1
internal/locale/translations/pt_BR.json

@@ -114,7 +114,6 @@
         "Existe %d fonte.",
         "Existem %d fontes."
     ],
-    "page.categories.unread_counter": "Numero de itens não lidos",
     "page.categories_count": [
         "%d category",
         "%d categories"

+ 0 - 1
internal/locale/translations/ru_RU.json

@@ -115,7 +115,6 @@
         "Есть %d подписки.",
         "Есть %d подписок."
     ],
-    "page.categories.unread_counter": "Количество непрочитанных статей",
     "page.categories_count": [
         "%d category",
         "%d categories"

+ 0 - 1
internal/locale/translations/tr_TR.json

@@ -114,7 +114,6 @@
         "%d besleme var.",
         "%d besleme var."
     ],
-    "page.categories.unread_counter": "Okunmamış iletilerin sayısı",
     "page.categories_count": [
         "%d category",
         "%d categories"

+ 0 - 1
internal/locale/translations/uk_UA.json

@@ -116,7 +116,6 @@
         "Містить %d стрічки.",
         "Містить %d стрічок."
     ],
-    "page.categories.unread_counter": "Кількість непрочитаних записів",
     "page.categories_count": [
         "%d category",
         "%d categories"

+ 0 - 1
internal/locale/translations/zh_CN.json

@@ -113,7 +113,6 @@
     "page.categories.feed_count": [
         "有 %d 个源"
     ],
-    "page.categories.unread_counter": "未读文章数",
     "page.categories_count": [
         "%d category",
         "%d categories"

+ 0 - 1
internal/locale/translations/zh_TW.json

@@ -114,7 +114,6 @@
         "有 %d 個Feed",
         "有 %d 個Feeds"
     ],
-    "page.categories.unread_counter": "未讀文章數",
     "page.categories_count": [
         "%d category",
         "%d categories"

+ 3 - 5
internal/template/templates/views/categories.html

@@ -29,13 +29,11 @@
         >
             <header id="category-title-{{ .ID }}"  class="item-header" dir="auto">
                 <h2 class="item-title">
-                    <a href="{{ route "categoryEntries" "categoryID" .ID }}" aria-label="{{ .Title }}, {{ t "page.categories.unread_counter" }}: {{ .TotalUnread }}">
+                    <a href="{{ route "categoryEntries" "categoryID" .ID }}">
                         {{ .Title }}
-                        <span class="category-item-total" aria-hidden="true">
-                            (<span class="sr-only">{{ t "page.categories.unread_counter" }}: </span>{{ .TotalUnread }})
-                        </span>
+                        <span class="category-item-total" aria-hidden="true">({{ .TotalUnread }})</span>
+                        <span class="sr-only">{{ plural "page.unread_entry_count" (deRef .TotalUnread) (deRef .TotalUnread) }}</span>
                     </a>
-
                 </h2>
             </header>
             <div class="item-meta">