aboutsummaryrefslogtreecommitdiffhomepage
path: root/template/html/edit_category.html
diff options
context:
space:
mode:
Diffstat (limited to 'template/html/edit_category.html')
-rw-r--r--template/html/edit_category.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/template/html/edit_category.html b/template/html/edit_category.html
index 2981fa4..6b21e46 100644
--- a/template/html/edit_category.html
+++ b/template/html/edit_category.html
@@ -1,14 +1,14 @@
-{{ define "title"}}{{ t "Edit Category: %s" .category.Title }}{{ end }}
+{{ define "title"}}{{ t "page.edit_category.title" .category.Title }}{{ end }}
{{ define "content"}}
<section class="page-header">
- <h1>{{ t "Edit Category: %s" .category.Title }}</h1>
+ <h1>{{ t "page.edit_category.title" .category.Title }}</h1>
<ul>
<li>
- <a href="{{ route "categories" }}">{{ t "Categories" }}</a>
+ <a href="{{ route "categories" }}">{{ t "menu.categories" }}</a>
</li>
<li>
- <a href="{{ route "createCategory" }}">{{ t "Create a category" }}</a>
+ <a href="{{ route "createCategory" }}">{{ t "menu.create_category" }}</a>
</li>
</ul>
</section>
@@ -20,11 +20,11 @@
<div class="alert alert-error">{{ t .errorMessage }}</div>
{{ end }}
- <label for="form-title">{{ t "Title" }}</label>
+ <label for="form-title">{{ t "form.category.label.title" }}</label>
<input type="text" name="title" id="form-title" value="{{ .form.Title }}" required autofocus>
<div class="buttons">
- <button type="submit" class="button button-primary" data-label-loading="{{ t "Loading..." }}">{{ t "Update" }}</button> {{ t "or" }} <a href="{{ route "categories" }}">{{ t "cancel" }}</a>
+ <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button> {{ t "action.or" }} <a href="{{ route "categories" }}">{{ t "action.cancel" }}</a>
</div>
</form>
{{ end }}