aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web/templates/dashboard/confirm.html
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web/templates/dashboard/confirm.html')
-rw-r--r--internal/web/templates/dashboard/confirm.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/internal/web/templates/dashboard/confirm.html b/internal/web/templates/dashboard/confirm.html
index 8dd0b3a..62bf4a4 100644
--- a/internal/web/templates/dashboard/confirm.html
+++ b/internal/web/templates/dashboard/confirm.html
@@ -1,16 +1,16 @@
-{{define "title"}}Confirm · Blogspace{{end}}
+{{define "title"}}{{t "Confirm"}} · Blogspace{{end}}
{{define "content"}}
<div class="card narrow">
- <h1>Are you sure?</h1>
+ <h1>{{t "Are you sure?"}}</h1>
{{if .Data.isHome}}
- <p>This is the home page; it cannot be deleted. Make another page the home page first.</p>
- <p><a class="btn secondary" href="{{.Data.back}}">Back</a></p>
+ <p>{{t "This is the home page; it cannot be deleted. Make another page the home page first."}}</p>
+ <p><a class="btn secondary" href="{{.Data.back}}">{{t "Back"}}</a></p>
{{else}}
- <p>You are about to permanently delete {{.Data.what}}. This cannot be undone.</p>
+ <p>{{tf "You are about to permanently delete %s. This cannot be undone." .Data.what}}</p>
<form method="post" action="{{.Data.action}}">
<input type="hidden" name="_csrf" value="{{.CSRF}}">
- <p class="actionrow"><button type="submit" class="danger">Yes, delete</button>
- <a class="btn secondary" href="{{.Data.back}}">Cancel</a></p>
+ <p class="actionrow"><button type="submit" class="danger">{{t "Yes, delete"}}</button>
+ <a class="btn secondary" href="{{.Data.back}}">{{t "Cancel"}}</a></p>
</form>
{{end}}
</div>