diff --git a/templates/snippets/layout/homepage/normal.html b/templates/snippets/layout/homepage/normal.html index ff7c1ad..5dbc654 100644 --- a/templates/snippets/layout/homepage/normal.html +++ b/templates/snippets/layout/homepage/normal.html @@ -5,31 +5,31 @@
{% if cfg.lockInbox == false %}
-

- Ask a question - -

+

{{ _('Ask a question') }}

- - + +
- - + +
-
- - -

Markdown supported {{ cfg.charLimit }}

+
+ +
+ + {% with includeCharLimit = True %} + {% include 'snippets/q-input-footer.html' %} + {% endwith %} + {% if cfg.antispam.enabled %} {% if cfg.antispam.type == 'basic' %}
+ {#- how am i supposed to use babel here #}
@@ -38,7 +38,7 @@ {% if cfg.antispam.recaptcha.sitekey %}
{% else %} - + {% endif %}
{% elif cfg.antispam.type == 'turnstile' %} @@ -46,7 +46,7 @@ {% elif cfg.antispam.type == 'frc' %}
{% else %} -
Warning: antispam type is not set!
+
{{ _('Warning:') }} {{ _('antispam type is not set!') }}
{% endif %} {% endif %}
diff --git a/templates/snippets/layout/homepage/retrospring.html b/templates/snippets/layout/homepage/retrospring.html index a475c0b..2868fb9 100644 --- a/templates/snippets/layout/homepage/retrospring.html +++ b/templates/snippets/layout/homepage/retrospring.html @@ -4,32 +4,32 @@
{% if not cfg.lockInbox %}
-
- Ask a question - -
+
{{ _('Ask a question') }}
- - + +
- - + +
-
- - -

Markdown supported {{ cfg.charLimit }}

+
+ +
+ + {% with includeCharLimit = True %} + {% include 'snippets/q-input-footer.html' %} + {% endwith %} + {% if cfg.antispam.enabled %} {% if cfg.antispam.type == 'basic' %}
+ {#- skipping babel here for now #}
@@ -38,7 +38,7 @@ {% if cfg.antispam.recaptcha.sitekey %}
{% else %} - + {% endif %}
{% elif cfg.antispam.type == 'turnstile' %} @@ -46,7 +46,7 @@ {% elif cfg.antispam.type == 'frc' %}
{% else %} -
Warning: antispam type is not set!
+
{{ _('Warning:') }} {{ _('antispam type is not set!') }}
{% endif %} {% endif %}