aboutsummaryrefslogtreecommitdiffhomepage
path: root/template/html/categories.html
diff options
context:
space:
mode:
Diffstat (limited to 'template/html/categories.html')
-rw-r--r--template/html/categories.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/template/html/categories.html b/template/html/categories.html
index c2d7850..dde0339 100644
--- a/template/html/categories.html
+++ b/template/html/categories.html
@@ -1,17 +1,17 @@
-{{ define "title"}}{{ t "Categories" }} ({{ .total }}){{ end }}
+{{ define "title"}}{{ t "page.categories.title" }} ({{ .total }}){{ end }}
{{ define "content"}}
<section class="page-header">
- <h1>{{ t "Categories" }} ({{ .total }})</h1>
+ <h1>{{ t "page.categories.title" }} ({{ .total }})</h1>
<ul>
<li>
- <a href="{{ route "createCategory" }}">{{ t "Create a category" }}</a>
+ <a href="{{ route "createCategory" }}">{{ t "menu.create_category" }}</a>
</li>
</ul>
</section>
{{ if not .categories }}
- <p class="alert alert-error">{{ t "There is no category." }}</p>
+ <p class="alert alert-error">{{ t "page.categories.no_category" }}</p>
{{ else }}
<div class="items">
{{ range .categories }}
@@ -27,7 +27,7 @@
{{ if eq .FeedCount 0 }}
{{ t "No feed." }}
{{ else }}
- {{ plural "plural.categories.feed_count" .FeedCount .FeedCount }}
+ {{ plural "page.categories.feed_count" .FeedCount .FeedCount }}
{{ end }}
</li>
</ul>
@@ -39,11 +39,11 @@
<li>
<a href="#"
data-confirm="true"
- data-label-question="{{ t "Are you sure?" }}"
- data-label-yes="{{ t "yes" }}"
- data-label-no="{{ t "no" }}"
- data-label-loading="{{ t "Work in progress..." }}"
- data-url="{{ route "removeCategory" "categoryID" .ID }}">{{ t "Remove" }}</a>
+ data-label-question="{{ t "confirm.question" }}"
+ data-label-yes="{{ t "confirm.yes" }}"
+ data-label-no="{{ t "confirm.no" }}"
+ data-label-loading="{{ t "confirm.loading" }}"
+ data-url="{{ route "removeCategory" "categoryID" .ID }}">{{ t "action.remove" }}</a>
</li>
{{ end }}
</ul>