|
1 | 1 | {% load i18n %}
|
2 | 2 | <div class="ui right floated item martor-toolbar">
|
3 | 3 | <div class="ui basic tiny icon buttons no-border">
|
4 |
| - <div class="ui icon button no-border markdown-selector markdown-bold" title="{% trans 'Bold' %} (Ctrl+B)"> |
| 4 | + <div class="ui icon button no-border markdown-selector markdown-bold" title="{{ _('Bold (Ctrl+B)') }}"> |
5 | 5 | <i class="bold icon"></i>
|
6 | 6 | </div>
|
7 |
| - <div class="ui icon button no-border markdown-selector markdown-italic" title="{% trans 'Italic' %} (Ctrl+I)"> |
| 7 | + <div class="ui icon button no-border markdown-selector markdown-italic" title="{{ _('Italic (Ctrl+I)') }}"> |
8 | 8 | <i class="italic icon"></i>
|
9 | 9 | </div>
|
10 |
| - <div class="ui icon button no-border markdown-selector markdown-horizontal" title="{% trans 'Horizontal Line' %} (Ctrl+H)"> |
| 10 | + <div class="ui icon button no-border markdown-selector markdown-horizontal" title="{{ _('Horizontal Line (Ctrl+H)') }}"> |
11 | 11 | <i class="minus icon"></i>
|
12 | 12 | </div>
|
13 |
| - <div class="ui icon button top left pointing dropdown no-border" title="{% trans 'Heading' %}"> |
| 13 | + <div class="ui icon button top left pointing dropdown no-border" title="{{ _('Heading') }}"> |
14 | 14 | <i class="header icon"></i>
|
15 | 15 | <div class="menu">
|
16 |
| - <div class="item markdown-selector markdown-h1" title="">{% trans 'Heading' %} 1 (Ctrl+Alt+1)</div> |
17 |
| - <div class="item markdown-selector markdown-h2" title="">{% trans 'Heading' %} 2 (Ctrl+Alt+2)</div> |
18 |
| - <div class="item markdown-selector markdown-h3" title="">{% trans 'Heading' %} 3 (Ctrl+Alt+3)</div> |
| 16 | + <div class="item markdown-selector markdown-h1" title="">{{ _('Heading 1 (Ctrl+Alt+1)') }}</div> |
| 17 | + <div class="item markdown-selector markdown-h2" title="">{{ _('Heading 2 (Ctrl+Alt+2)') }}</div> |
| 18 | + <div class="item markdown-selector markdown-h3" title="">{{ _('Heading 3 (Ctrl+Alt+3)') }}</div> |
19 | 19 | </div>
|
20 | 20 | </div>
|
21 | 21 |
|
22 |
| - <div class="ui icon button top left pointing dropdown no-border" title="{% trans 'Pre or Code' %}"> |
| 22 | + <div class="ui icon button top left pointing dropdown no-border" title="{{ _('Pre or Code') }}"> |
23 | 23 | <i class="code icon"></i>
|
24 | 24 | <div class="menu">
|
25 |
| - <div class="item markdown-selector markdown-pre" title="">{% trans 'Pre' %} (Ctrl+Alt+P)</div> |
26 |
| - <div class="item markdown-selector markdown-code" title="">{% trans 'Code' %} (Ctrl+Alt+C)</div> |
| 25 | + <div class="item markdown-selector markdown-pre" title="">{{ _('Pre (Ctrl+Alt+P)') }}</div> |
| 26 | + <div class="item markdown-selector markdown-code" title="">{{ _('Code (Ctrl+Alt+C)') }}</div> |
27 | 27 | </div>
|
28 | 28 | </div>
|
29 | 29 |
|
30 |
| - <div class="ui icon button top left pointing dropdown no-border" title="{% trans 'Math' %}"> |
| 30 | + <div class="ui icon button top left pointing dropdown no-border" title="{{ _('Math') }}"> |
31 | 31 | <i class="superscript icon"></i>
|
32 | 32 | <div class="menu">
|
33 |
| - <div class="item markdown-selector markdown-inline-math" title="">{% trans 'Inline Math' %} (Ctrl+Alt+I)</div> |
34 |
| - <div class="item markdown-selector markdown-display-math" title="">{% trans 'Display Math' %} (Ctrl+Alt+D)</div> |
35 |
| - <div class="item markdown-selector markdown-latex" title="">{% trans 'LaTeX' %} (Ctrl+Alt+L)</div> |
| 33 | + <div class="item markdown-selector markdown-inline-math" title="">{{ _('Inline Math (Ctrl+Alt+I)') }}</div> |
| 34 | + <div class="item markdown-selector markdown-display-math" title="">{{ _('Display Math (Ctrl+Alt+D)') }}</div> |
| 35 | + <div class="item markdown-selector markdown-latex" title="">{{ _('LaTeX (Ctrl+Alt+L)') }}</div> |
36 | 36 | </div>
|
37 | 37 | </div>
|
38 | 38 |
|
39 |
| - <div class="ui icon button no-border markdown-selector markdown-blockquote" title="{% trans 'Quote' %} (Ctrl+Q)"> |
| 39 | + <div class="ui icon button no-border markdown-selector markdown-blockquote" title="{{ _('Quote (Ctrl+Q)') }}"> |
40 | 40 | <i class="quote left icon"></i>
|
41 | 41 | </div>
|
42 |
| - <div class="ui icon button no-border markdown-selector markdown-unordered-list" title="{% trans 'Unordered List' %} (Ctrl+U)"> |
| 42 | + <div class="ui icon button no-border markdown-selector markdown-unordered-list" title="{{ _('Unordered List (Ctrl+U)') }}"> |
43 | 43 | <i class="unordered list icon"></i>
|
44 | 44 | </div>
|
45 |
| - <div class="ui icon button no-border markdown-selector markdown-ordered-list" title="{% trans 'Ordered List' %} (Ctrl+Shift+O)"> |
| 45 | + <div class="ui icon button no-border markdown-selector markdown-ordered-list" title="{{ _('Ordered List (Ctrl+Shift+O)') }}"> |
46 | 46 | <i class="ordered list icon"></i>
|
47 | 47 | </div>
|
48 | 48 |
|
49 |
| - <div class="ui icon button no-border markdown-selector markdown-link" title="{% trans 'URL/Link' %} (Ctrl+L)"> |
| 49 | + <div class="ui icon button no-border markdown-selector markdown-link" title="{{ _('URL/Link (Ctrl+L)') }}"> |
50 | 50 | <i class="linkify icon"></i>
|
51 | 51 | </div>
|
52 |
| - <div class="ui icon button no-border markdown-selector markdown-image-link" title="{% trans 'Insert Image Link' %} (Ctrl+Shift+I)"> |
| 52 | + <div class="ui icon button no-border markdown-selector markdown-image-link" title="{{ _('Insert Image Link (Ctrl+Shift+I)') }}"> |
53 | 53 | <i class="image icon"></i>
|
54 | 54 | </div>
|
55 | 55 | {% if uploads_enabled %}
|
56 |
| - <div class="ui icon button no-border markdown-selector markdown-image-upload" title="{% trans 'Upload an Image' %}"> |
| 56 | + <div class="ui icon button no-border markdown-selector markdown-image-upload" title="{{ _('Upload an Image') }}"> |
57 | 57 | <i class="upload icon"></i>
|
58 |
| - <input name="markdown-image-upload" class="button" type="file" accept="image/*" title="{% trans 'Upload an Image' %}"> |
| 58 | + <input name="markdown-image-upload" class="button" type="file" accept="image/*" title="{{ _('Upload an Image') }}"> |
59 | 59 | </div>
|
60 | 60 | {% endif %}
|
61 |
| - <div class="ui icon button no-border markdown-selector markdown-direct-mention" title="{% trans 'Direct Mention a User' %} (Ctrl+M)"> |
| 61 | + <div class="ui icon button no-border markdown-selector markdown-direct-mention" title="{{ _('Direct Mention a User (Ctrl+M)') }}"> |
62 | 62 | <i class="at icon"></i>
|
63 | 63 | </div>
|
64 | 64 |
|
65 |
| - <div class="ui icon button no-border markdown-selector markdown-toggle-maximize" title="{% trans 'Full Screen' %}"> |
| 65 | + <div class="ui icon button no-border markdown-selector markdown-toggle-maximize" title="{{ _('Full Screen') }}"> |
66 | 66 | <i class="window maximize outline icon"></i>
|
67 | 67 | </div>
|
68 |
| - <a class="ui icon button no-border markdown-selector markdown-help" title="{% trans 'Markdown Guide (Help)' %}" data-featherlight=".modal-help-guide[data-field-name={{ field_name }}]" href="javascript:void(0)"> |
| 68 | + <a class="ui icon button no-border markdown-selector markdown-help" title="{{ _('Markdown Guide (Help)') }}" data-featherlight=".modal-help-guide[data-field-name={{ field_name }}]" href="javascript:void(0)"> |
69 | 69 | <i class="question circle icon"></i>
|
70 | 70 | </a>
|
71 | 71 | </div>
|
|
0 commit comments