aboutsummaryrefslogtreecommitdiffhomepage
path: root/template
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2018-10-27 17:11:05 -0700
committerGravatar Frédéric Guillot <fred@miniflux.net>2018-10-27 17:11:05 -0700
commit03d0114dcd6fe5cd9fe8d89f244e96b53fbd3dc6 (patch)
treea2d59641178e4fcc67086193108169d04778c19f /template
parentb17e01a2881b5f4244283540de28aa2e450d16f9 (diff)
Fix wrong translation key for category pages
Diffstat (limited to 'template')
-rw-r--r--template/html/categories.html2
-rw-r--r--template/html/category_entries.html2
-rw-r--r--template/views.go8
3 files changed, 6 insertions, 6 deletions
diff --git a/template/html/categories.html b/template/html/categories.html
index ca26615..b534ba1 100644
--- a/template/html/categories.html
+++ b/template/html/categories.html
@@ -11,7 +11,7 @@
</section>
{{ if not .categories }}
- <p class="alert alert-error">{{ t "page.categories.no_category" }}</p>
+ <p class="alert alert-error">{{ t "alert.no_category" }}</p>
{{ else }}
<div class="items">
{{ range .categories }}
diff --git a/template/html/category_entries.html b/template/html/category_entries.html
index 5c5d7fa..69e4f74 100644
--- a/template/html/category_entries.html
+++ b/template/html/category_entries.html
@@ -13,7 +13,7 @@
</section>
{{ if not .entries }}
- <p class="alert">{{ t "alert.no_category" }}</p>
+ <p class="alert">{{ t "alert.no_category_entry" }}</p>
{{ else }}
<div class="items">
{{ range .entries }}
diff --git a/template/views.go b/template/views.go
index 3a01ec1..2662b9a 100644
--- a/template/views.go
+++ b/template/views.go
@@ -157,7 +157,7 @@ var templateViewsMap = map[string]string{
</section>
{{ if not .categories }}
- <p class="alert alert-error">{{ t "page.categories.no_category" }}</p>
+ <p class="alert alert-error">{{ t "alert.no_category" }}</p>
{{ else }}
<div class="items">
{{ range .categories }}
@@ -216,7 +216,7 @@ var templateViewsMap = map[string]string{
</section>
{{ if not .entries }}
- <p class="alert">{{ t "alert.no_category" }}</p>
+ <p class="alert">{{ t "alert.no_category_entry" }}</p>
{{ else }}
<div class="items">
{{ range .entries }}
@@ -1384,8 +1384,8 @@ var templateViewsMapChecksums = map[string]string{
"about": "844e3313c33ae31a74b904f6ef5d60299773620d8450da6f760f9f317217c51e",
"add_subscription": "6eb055f887abffe9ddeb8977ae380c2cb1cc61767e85ed2026ef2fb5995e12d3",
"bookmark_entries": "609f4b2342152fe495a219a32f17a4528b01807d61f53cee0cbebf728be73c42",
- "categories": "787132252f12d84288e8c4dc9127a5a083c31ec75c3e86ae7ef87467a95678df",
- "category_entries": "5efccde4212cbaa88be385c8659f73c1a4764135d181b152fa0c7c48d4c50f34",
+ "categories": "642ee3cddbd825ee6ab5a77caa0d371096b55de0f1bd4ae3055b8c8a70507d8d",
+ "category_entries": "a803570ba91268646b2c55cffc8a3f2f162388a73bc007dd9ab61e144faa359b",
"choose_subscription": "33c04843d7c1b608d034e605e52681822fc6d79bc6b900c04915dd9ebae584e2",
"create_category": "6b22b5ce51abf4e225e23a79f81be09a7fb90acb265e93a8faf9446dff74018d",
"create_user": "1e940be3afefc0a5c6273bbadcddc1e29811e9548e5227ac2adfe697ca5ce081",