aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web/templates/partials/mdhelp.html
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web/templates/partials/mdhelp.html')
-rw-r--r--internal/web/templates/partials/mdhelp.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/web/templates/partials/mdhelp.html b/internal/web/templates/partials/mdhelp.html
index 3584025..748452e 100644
--- a/internal/web/templates/partials/mdhelp.html
+++ b/internal/web/templates/partials/mdhelp.html
@@ -1,9 +1,9 @@
{{define "mdhelp"}}<details class="help">
- <summary>Formatting cheat-sheet</summary>
+ <summary>{{t "Formatting cheat-sheet"}}</summary>
<table class="cheat">
- <tr><td><code># Heading</code>, <code>## Smaller heading</code></td><td><code>**bold**</code>, <code>*italic*</code></td></tr>
- <tr><td><code>[link text](https://example.org)</code></td><td><code>![description](/media/…)</code> — <em>Insert image</em> writes this for you</td></tr>
- <tr><td><code>- list item</code> / <code>1. numbered</code></td><td><code>&gt; quote</code>, <code>`code`</code>, <code>---</code> for a line</td></tr>
+ <tr><td><code># {{t "Heading"}}</code>, <code>## {{t "Smaller heading"}}</code></td><td><code>**{{t "bold"}}**</code>, <code>*{{t "italic"}}*</code></td></tr>
+ <tr><td><code>[{{t "link text"}}](https://example.org)</code></td><td><code>![{{t "description"}}](/media/…)</code> — <em>{{t "Insert image"}}</em> {{t "writes this for you"}}</td></tr>
+ <tr><td><code>- {{t "list item"}}</code> / <code>1. {{t "numbered"}}</code></td><td><code>&gt; {{t "quote"}}</code>, <code>`{{t "code"}}`</code>, <code>---</code> {{t "for a line"}}</td></tr>
</table>
- <p class="muted small">Blank line = new paragraph. Press Enter once for a line break.</p>
+ <p class="muted small">{{t "Blank line = new paragraph. Press Enter once for a line break."}}</p>
</details>{{end}}